Class SoCubeDetail
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.details.SoDetail
-
- com.openinventor.inventor.details.SoCubeDetail
-
public class SoCubeDetail extends SoDetail
Stores detail information about theSoCube
node. This class contains detail information about a point on a cube. It contains the part of the cube that was hit.Part values are as follows:
0 Front 1 Back 2 Left 3 Right 4 Top 5 Bottom - See Also:
SoCube
,SoDetail
,SoPickedPoint
,SoPrimitiveVertex
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
-
Field Summary
-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Constructor Summary
Constructors Constructor Description SoCubeDetail()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SoDetail
copy()
Returns an instance that is a copy of this instance.int
getPart()
Returns the part in the detail.void
setPart(int _part)
-
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
-
-
-
Method Detail
-
getPart
public int getPart()
Returns the part in the detail.
-
copy
public SoDetail copy()
Returns an instance that is a copy of this instance. The caller is responsible for deleting the copy when it is no longer needed.
-
setPart
public void setPart(int _part)
-
-