Package org.robwork.sdurw_geometry
Class Model3DCPtr
- java.lang.Object
-
- org.robwork.sdurw_geometry.Model3DCPtr
-
public class Model3DCPtr extends java.lang.Object
Ptr stores a pointer and optionally takes ownership of the value.
-
-
Constructor Summary
Constructors Constructor Description Model3DCPtr()
Default constructor yielding a NULL-pointer.Model3DCPtr(long cPtr, boolean cMemoryOwn)
Model3DCPtr(Model3D 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 Model3D
__ref__()
Dereferencing operator.void
delete()
Model3D
deref()
The pointer stored in the object.boolean
equals(Model3D p)
SWIGTYPE_p_std__vectorT_rw__geometry__Model3D__Material_t
get_materials()
The array of materials.SWIGTYPE_p_std__vectorT_rw__core__PtrT_rw__geometry__Object3DGeneric_t_t
get_objects()
The array of objects in the modelstatic long
getCPtr(Model3DCPtr obj)
Model3D
getDeref()
Member access operator.boolean
isDynamic()
true if data in the model are expected to changeboolean
isNull()
checks if the pointer is nullboolean
isShared()
check if this Ptr has shared ownership or none
ownership
-
-
-
Constructor Detail
-
Model3DCPtr
public Model3DCPtr(long cPtr, boolean cMemoryOwn)
-
Model3DCPtr
public Model3DCPtr()
Default constructor yielding a NULL-pointer.
-
Model3DCPtr
public Model3DCPtr(Model3D ptr)
Do not take ownership of ptr.
ptr can be null.
The constructor is implicit on purpose.
-
-
Method Detail
-
getCPtr
public static long getCPtr(Model3DCPtr obj)
-
delete
public void delete()
-
deref
public Model3D deref()
The pointer stored in the object.
-
__ref__
public Model3D __ref__()
Dereferencing operator.
-
getDeref
public Model3D getDeref()
Member access operator.
-
equals
public boolean equals(Model3D 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
-
isDynamic
public boolean isDynamic()
true if data in the model are expected to change
-
get_materials
public SWIGTYPE_p_std__vectorT_rw__geometry__Model3D__Material_t get_materials()
The array of materials.
-
get_objects
public SWIGTYPE_p_std__vectorT_rw__core__PtrT_rw__geometry__Object3DGeneric_t_t get_objects()
The array of objects in the model
-
-