Package org.robwork.sdurws
Class RWStudioView3DPtr
- java.lang.Object
-
- org.robwork.sdurws.RWStudioView3DPtr
-
public class RWStudioView3DPtr extends java.lang.ObjectPtr stores a pointer and optionally takes ownership of the value.
-
-
Constructor Summary
Constructors Constructor Description RWStudioView3DPtr()Default constructor yielding a NULL-pointer.RWStudioView3DPtr(long cPtr, boolean cMemoryOwn)RWStudioView3DPtr(RWStudioView3D 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 RWStudioView3D__ref__()Dereferencing operator.voiddelete()RWStudioView3Dderef()The pointer stored in the object.booleanequals(RWStudioView3D p)static longgetCPtr(RWStudioView3DPtr obj)RWStudioView3DgetDeref()Member access operator.SWIGTYPE_p_rw__core__PtrT_rw__graphics__SceneViewer_tgetSceneViewer()SWIGTYPE_p_rw__core__PtrT_rw__graphics__WorkCellScene_tgetWorkCellScene()booleanisNull()checks if the pointer is nullbooleanisShared()check if this Ptr has shared ownership or none
ownershipSWIGTYPE_p_rw__core__PtrT_rw__graphics__DrawableNode_tpick(int x, int y)FramepickFrame(int x, int y)voidsaveBufferToFile(QString filename)voidshowPivotPoint(boolean visible)
-
-
-
Constructor Detail
-
RWStudioView3DPtr
public RWStudioView3DPtr(long cPtr, boolean cMemoryOwn)
-
RWStudioView3DPtr
public RWStudioView3DPtr()
Default constructor yielding a NULL-pointer.
-
RWStudioView3DPtr
public RWStudioView3DPtr(RWStudioView3D ptr)
Do not take ownership of ptr.
ptr can be null.
The constructor is implicit on purpose.
-
-
Method Detail
-
getCPtr
public static long getCPtr(RWStudioView3DPtr obj)
-
delete
public void delete()
-
deref
public RWStudioView3D deref()
The pointer stored in the object.
-
__ref__
public RWStudioView3D __ref__()
Dereferencing operator.
-
getDeref
public RWStudioView3D getDeref()
Member access operator.
-
equals
public boolean equals(RWStudioView3D 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
-
showPivotPoint
public void showPivotPoint(boolean visible)
-
pickFrame
public Frame pickFrame(int x, int y)
-
pick
public SWIGTYPE_p_rw__core__PtrT_rw__graphics__DrawableNode_t pick(int x, int y)
-
getWorkCellScene
public SWIGTYPE_p_rw__core__PtrT_rw__graphics__WorkCellScene_t getWorkCellScene()
-
getSceneViewer
public SWIGTYPE_p_rw__core__PtrT_rw__graphics__SceneViewer_t getSceneViewer()
-
saveBufferToFile
public void saveBufferToFile(QString filename)
-
-