Class FKRangeCPtr


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

      • FKRangeCPtr

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

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

        public FKRangeCPtr​(FKRange ptr)
        Do not take ownership of ptr.

        ptr can be null.

        The constructor is implicit on purpose.
    • Method Detail

      • getCPtr

        public static long getCPtr​(FKRangeCPtr obj)
      • delete

        public void delete()
      • deref

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

        public FKRange __ref__()
        Dereferencing operator.
      • getDeref

        public FKRange getDeref()
        Member access operator.
      • equals

        public boolean equals​(FKRange p)
      • 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
      • get

        public Transform3D get​(State state)
        The relative transform between the frames.

        Parameters:
        state - [in] Configuration values for the frames of the tree.
      • getEnd

        public FrameCPtr getEnd()
        Returns the last frame in the range.

        Returns:
        The end frame (to).
      • getBase

        public FrameCPtr getBase()
        Returns the first frame in the range.

        Returns:
        The base frame (from).