Package org.robwork.sdurw_graphics
Class WorkCellSceneCPtr
- java.lang.Object
-
- org.robwork.sdurw_graphics.WorkCellSceneCPtr
-
public class WorkCellSceneCPtr extends java.lang.Object
Ptr stores a pointer and optionally takes ownership of the value.
-
-
Constructor Summary
Constructors Constructor Description WorkCellSceneCPtr()
Default constructor yielding a NULL-pointer.WorkCellSceneCPtr(long cPtr, boolean cMemoryOwn)
WorkCellSceneCPtr(WorkCellScene ptr)
Do not take ownership of ptr.
ptr can be null.
The constructor is implicit on purpose.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkCellScene
__ref__()
Dereferencing operator.void
delete()
WorkCellScene
deref()
The pointer stored in the object.boolean
equals(WorkCellScene p)
static long
getCPtr(WorkCellSceneCPtr obj)
WorkCellScene
getDeref()
Member access operator.SWIGTYPE_p_std__vectorT_rw__core__PtrT_rw__graphics__DrawableNode_t_t
getDrawables(FramePtr f)
get all drawables of a specific frame in the WorkCellScenelong
getDrawMask(FramePtr f)
get the draw mask of the drawables of a specific frameDrawableNode.DrawType
getDrawType(FramePtr f)
get how drawables of a specific frame is to be renderedFrame
getFrame(DrawableNodePtr d)
get the frame that a specific drawable d is associated toGroupNodePtr
getNode(FramePtr frame)
Get the GroupNode corresponding to the given frame.boolean
isFrameAxisVisible(FramePtr f)
test if frame-axis is visibleboolean
isFrameLabelVisible(FramePtr f)
test if frame-label is visibleboolean
isHighlighted(FramePtr f)
test if a frame is highlighted or notboolean
isNull()
checks if the pointer is nullboolean
isShared()
check if this Ptr has shared ownership or none
ownershipboolean
isVisible(FramePtr f)
test if a frame is visible or not
-
-
-
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
-
getCPtr
public static long getCPtr(WorkCellSceneCPtr obj)
-
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.
-
equals
public boolean equals(WorkCellScene 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
-
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
-
getDrawables
public SWIGTYPE_p_std__vectorT_rw__core__PtrT_rw__graphics__DrawableNode_t_t getDrawables(FramePtr f)
get all drawables of a specific frame in the WorkCellScene- Parameters:
f
- [in] the frame- Returns:
- a list of drawables
-
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.
-
-