Package org.robwork.sdurw_graphics
Class SceneViewerCPtr
- java.lang.Object
-
- org.robwork.sdurw_graphics.SceneViewerCPtr
-
public class SceneViewerCPtr extends java.lang.Object
Ptr stores a pointer and optionally takes ownership of the value.
-
-
Constructor Summary
Constructors Constructor Description SceneViewerCPtr()
Default constructor yielding a NULL-pointer.SceneViewerCPtr(long cPtr, boolean cMemoryOwn)
SceneViewerCPtr(SceneViewer 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 SceneViewer
__ref__()
Dereferencing operator.void
delete()
SceneViewer
deref()
The pointer stored in the object.boolean
equals(SceneViewer p)
static long
getCPtr(SceneViewerCPtr obj)
SceneViewer
getDeref()
Member access operator.java.lang.String
getLogo()
get the logo that is displayed in the 3d sceneboolean
isNull()
checks if the pointer is nullboolean
isShared()
check if this Ptr has shared ownership or none
ownership
-
-
-
Constructor Detail
-
SceneViewerCPtr
public SceneViewerCPtr(long cPtr, boolean cMemoryOwn)
-
SceneViewerCPtr
public SceneViewerCPtr()
Default constructor yielding a NULL-pointer.
-
SceneViewerCPtr
public SceneViewerCPtr(SceneViewer ptr)
Do not take ownership of ptr.
ptr can be null.
The constructor is implicit on purpose.
-
-
Method Detail
-
getCPtr
public static long getCPtr(SceneViewerCPtr obj)
-
delete
public void delete()
-
deref
public SceneViewer deref()
The pointer stored in the object.
-
__ref__
public SceneViewer __ref__()
Dereferencing operator.
-
getDeref
public SceneViewer getDeref()
Member access operator.
-
equals
public boolean equals(SceneViewer 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
-
getLogo
public java.lang.String getLogo()
get the logo that is displayed in the 3d scene
-
-