Class ScalebarGroup

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

public class ScalebarGroup extends Object implements AutoCloseable
ScalebarGroup objects define groups of multiple scale bars. The grouping is established by
assignment of a ScalebarGroup instance to the Scalebar.group attribute of participating scale bars.
  • Field Details

    • swigCMemOwn

      protected transient boolean swigCMemOwn
  • Constructor Details

    • ScalebarGroup

      protected ScalebarGroup(long cPtr, boolean cMemoryOwn)
    • ScalebarGroup

      public ScalebarGroup(ScalebarGroup scalebar_group)
  • Method Details

    • getCPtr

      protected static long getCPtr(ScalebarGroup 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()
      Scale bar group key.
    • getChunk

      public Optional<Chunk> getChunk()
      Chunk container, may be null.
    • setLabel

      public void setLabel(String label)
      Scale bar group label.
    • getLabel

      public String getLabel()
      Scale bar group label.
    • setSelected

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

      public boolean isSelected()
      Current selection state.