Class WorkCellScenePtr


  • public class WorkCellScenePtr
    extends java.lang.Object
    Ptr stores a pointer and optionally takes ownership of the value.
    • Constructor Detail

      • WorkCellScenePtr

        public WorkCellScenePtr​(long cPtr,
                                boolean cMemoryOwn)
      • WorkCellScenePtr

        public WorkCellScenePtr()
        Default constructor yielding a NULL-pointer.
      • WorkCellScenePtr

        public WorkCellScenePtr​(WorkCellScene ptr)
        Do not take ownership of ptr.

        ptr can be null.

        The constructor is implicit on purpose.
    • Method Detail

      • delete

        public void delete()
      • deref

        public WorkCellScene deref()
        The pointer stored in the object.
      • __ref__

        public WorkCellScene __ref__()
        Dereferencing operator.
      • getDeref

        public WorkCellScene getDeref()
        Member access operator.
      • isShared

        public boolean isShared()
        check if this Ptr has shared ownership or none
        ownership
        Returns:
        true if Ptr has shared ownership, false if it has no ownership.
      • isNull

        public boolean isNull()
        checks if the pointer is null
        Returns:
        Returns true if the pointer is null
      • setState

        public void setState​(State state)
      • updateSceneGraph

        public void updateSceneGraph​(State state)
      • setVisible

        public void setVisible​(boolean visible,
                               Frame f)
      • isVisible

        public boolean isVisible​(Frame f)
      • setHighlighted

        public void setHighlighted​(boolean highlighted,
                                   Frame f)
      • isHighlighted

        public boolean isHighlighted​(Frame f)
      • setFrameAxisVisible

        public void setFrameAxisVisible​(boolean visible,
                                        Frame f)
      • isFrameAxisVisible

        public boolean isFrameAxisVisible​(Frame f)
      • setDrawMask

        public void setDrawMask​(long mask,
                                Frame f)
      • getDrawMask

        public long getDrawMask​(Frame f)
      • setTransparency

        public void setTransparency​(double alpha,
                                    Frame f)
      • addFrameAxis

        public DrawableNodePtr addFrameAxis​(java.lang.String name,
                                            double size,
                                            Frame frame,
                                            int dmask)
      • addFrameAxis

        public DrawableNodePtr addFrameAxis​(java.lang.String name,
                                            double size,
                                            Frame frame)
      • addDrawable

        public DrawableNodePtr addDrawable​(java.lang.String filename,
                                           Frame frame,
                                           int dmask)
      • findDrawable

        public DrawableNodePtr findDrawable​(java.lang.String name)
      • removeDrawables

        public boolean removeDrawables​(Frame f)
      • removeDrawables

        public boolean removeDrawables​(java.lang.String name)
      • removeDrawable

        public boolean removeDrawable​(DrawableNodePtr drawable)
      • removeDrawable

        public boolean removeDrawable​(java.lang.String name)
      • removeDrawable

        public boolean removeDrawable​(java.lang.String name,
                                      Frame f)