Class WorkCellSceneCPtr


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

      • WorkCellSceneCPtr

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

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

        public WorkCellSceneCPtr​(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
      • isVisible

        public boolean isVisible​(FramePtr f)
        test if a frame is visible or not
        Parameters:
        f - [in] the frame
        Returns:
        true if frame is visible, false if not
      • isHighlighted

        public boolean isHighlighted​(FramePtr f)
        test if a frame is highlighted or not
        Parameters:
        f - [in] the frame
        Returns:
        true if frame is highlighted, false if not
      • isFrameAxisVisible

        public boolean isFrameAxisVisible​(FramePtr f)
        test if frame-axis is visible
        Parameters:
        f - [in] the frame
        Returns:
        true if frame axis of frame is set to be drawn, false otherwise
      • isFrameLabelVisible

        public boolean isFrameLabelVisible​(FramePtr f)
        test if frame-label is visible
        Parameters:
        f - [in] the frame
        Returns:
        true if frame label of frame is set to be drawn, false otherwise
      • getDrawType

        public DrawableNode.DrawType getDrawType​(FramePtr f)
        get how drawables of a specific frame is to be rendered
        Parameters:
        f - [in] the Frame
        Returns:
        the drawtype
      • getDrawMask

        public long getDrawMask​(FramePtr f)
        get the draw mask of the drawables of a specific frame
        Parameters:
        f - [in] the frame
        Returns:
        the drawmask
      • getFrame

        public Frame getFrame​(DrawableNodePtr d)
        get the frame that a specific drawable d is associated to
        Parameters:
        d - [in] the drawable
        Returns:
        the first frame that the drawable is associated to, or NULL if there are no
        associations
      • getNode

        public GroupNodePtr getNode​(FramePtr frame)
        Get the GroupNode corresponding to the given frame.
        Parameters:
        frame - [in] the frame.
        Returns:
        group node.