Package org.robwork.sdurws
Class RWStudioView3DPtr
- java.lang.Object
-
- org.robwork.sdurws.RWStudioView3DPtr
-
public class RWStudioView3DPtr extends java.lang.Object
Ptr 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.void
delete()
RWStudioView3D
deref()
The pointer stored in the object.boolean
equals(RWStudioView3D p)
static long
getCPtr(RWStudioView3DPtr obj)
RWStudioView3D
getDeref()
Member access operator.SWIGTYPE_p_rw__core__PtrT_rw__graphics__SceneViewer_t
getSceneViewer()
SWIGTYPE_p_rw__core__PtrT_rw__graphics__WorkCellScene_t
getWorkCellScene()
boolean
isNull()
checks if the pointer is nullboolean
isShared()
check if this Ptr has shared ownership or none
ownershipSWIGTYPE_p_rw__core__PtrT_rw__graphics__DrawableNode_t
pick(int x, int y)
Frame
pickFrame(int x, int y)
void
saveBufferToFile(QString filename)
void
showPivotPoint(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)
-
-