Class ShapeGroup

java.lang.Object
com.agisoft.metashape.ShapeGroup
All Implemented Interfaces:
AutoCloseable

public class ShapeGroup extends Object implements AutoCloseable
Shape group.

ShapeGroup objects define groups of multiple shapes. The grouping is established by
assignment of a ShapeGroup instance to the Shape.group attribute of participating shapes.
  • Field Details

    • swigCMemOwn

      protected transient boolean swigCMemOwn
  • Constructor Details

    • ShapeGroup

      protected ShapeGroup(long cPtr, boolean cMemoryOwn)
    • ShapeGroup

      public ShapeGroup(ShapeGroup shape_group)
  • Method Details

    • getCPtr

      protected static long getCPtr(ShapeGroup obj)
    • finalize

      protected void finalize()
      Overrides:
      finalize in class Object
    • delete

      public void delete()
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
    • getKey

      public int getKey()
      Shape group identifier.
    • setLabel

      public void setLabel(String label)
      Shape group label.
    • getLabel

      public String getLabel()
      Shape group label.
    • setEnabled

      public void setEnabled(boolean state)
      Enable flag.
    • isEnabled

      public boolean isEnabled()
      Enable flag.
    • setSelected

      public void setSelected(boolean state)
      Current selection state.
    • isSelected

      public boolean isSelected()
      Current selection state.
    • setMeta

      public void setMeta(Map<String,String> meta)
      Shape group meta data.
    • getMeta

      public Map<String,String> getMeta()
      Shape group meta data.