com.vwp.vuapi.objects
Class VURotationShapeObjectInfo

java.lang.Object
  extended by com.vwp.vuapi.util.VUInfo
      extended by com.vwp.vuapi.objects.VUObjectInfo
          extended by com.vwp.vuapi.objects.VUGeneratedObjectInfo
              extended by com.vwp.vuapi.objects.VUPrimitiveObjectInfo
                  extended by com.vwp.vuapi.objects.VURotationShapeObjectInfo

public class VURotationShapeObjectInfo
extends VUPrimitiveObjectInfo

This is the class that can be used to handle rotation symmetric 3d ojects


Field Summary
 float[] shapeDataX
           
 float[] shapeDataY
           
static byte VU_ROTATIONSHAPE_MAX_SHAPESURFACE_NUM
          The maximum numbers of nodes a rotation shape can consist of in radial direction
 
Fields inherited from class com.vwp.vuapi.objects.VUPrimitiveObjectInfo
reflectFlags, type, VU_PRIMITIVE_REFLECT_INSIDE, VU_PRIMITIVE_REFLECT_NONE, VU_PRIMITIVE_REFLECT_OUTSIDE, VU_PRIMITIVE_TYPE_CONE, VU_PRIMITIVE_TYPE_CUBE, VU_PRIMITIVE_TYPE_CYLINDER, VU_PRIMITIVE_TYPE_LIQUID_SURFACE, VU_PRIMITIVE_TYPE_SPHERE
 
Fields inherited from class com.vwp.vuapi.objects.VUGeneratedObjectInfo
color, materialFlags, val1, val2, val3, VU_OBJECT_MATERIAL_GLASS, VU_OBJECT_MATERIAL_MATTE, VU_OBJECT_MATERIAL_METAL, VU_OBJECT_MATERIAL_PLASTIC, VU_OBJECT_MATERIAL_STANDARD, VU_OBJECT_MATERIAL_WATER
 
Fields inherited from class com.vwp.vuapi.objects.VUObjectInfo
angleX, angleY, angleZ, previousID, x, y, z
 
Fields inherited from class com.vwp.vuapi.util.VUInfo
ID, name
 
Constructor Summary
VURotationShapeObjectInfo()
           
VURotationShapeObjectInfo(int reflectFlags, int materialFlags, double val1, double val2, double val3, Color color, double x, double y, double z, double angleX, double angleY, double angleZ, float[] shapeDataX, float[] shapeDataY)
          With this constructor a new VURotationShapeObjectInfo object can be created for building a new rotation shape object in a world
VURotationShapeObjectInfo(long ID, long previousID, double val1, double val2, double val3, Color color, int flags, double x, double y, double z, double angleX, double angleY, double angleZ, float[] shapeDataX, float[] shapeDataY)
           
 
Method Summary
 void set(VURotationShapeObjectInfo oi)
           
 
Methods inherited from class com.vwp.vuapi.objects.VUPrimitiveObjectInfo
isPrimitive, set
 
Methods inherited from class com.vwp.vuapi.objects.VUObjectInfo
set
 
Methods inherited from class com.vwp.vuapi.util.VUInfo
set
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VU_ROTATIONSHAPE_MAX_SHAPESURFACE_NUM

public static final byte VU_ROTATIONSHAPE_MAX_SHAPESURFACE_NUM
The maximum numbers of nodes a rotation shape can consist of in radial direction

See Also:
Constant Field Values

shapeDataX

public float[] shapeDataX

shapeDataY

public float[] shapeDataY
Constructor Detail

VURotationShapeObjectInfo

public VURotationShapeObjectInfo()

VURotationShapeObjectInfo

public VURotationShapeObjectInfo(long ID,
                                 long previousID,
                                 double val1,
                                 double val2,
                                 double val3,
                                 Color color,
                                 int flags,
                                 double x,
                                 double y,
                                 double z,
                                 double angleX,
                                 double angleY,
                                 double angleZ,
                                 float[] shapeDataX,
                                 float[] shapeDataY)

VURotationShapeObjectInfo

public VURotationShapeObjectInfo(int reflectFlags,
                                 int materialFlags,
                                 double val1,
                                 double val2,
                                 double val3,
                                 Color color,
                                 double x,
                                 double y,
                                 double z,
                                 double angleX,
                                 double angleY,
                                 double angleZ,
                                 float[] shapeDataX,
                                 float[] shapeDataY)
With this constructor a new VURotationShapeObjectInfo object can be created for building a new rotation shape object in a world

Parameters:
reflectFlags - this value specifies if and how the surface of the object has to reflect the light, please set a VU_PRIMITIVE_REFLECT_xxx constant here
materialFlags - this one defines the kind of material the object has to consist of using a VU_OBJECT_MATERIAL_xxx constant
val1 - the first parameter value of the object type
val2 - the second parameter value of the object type
val3 - the third parameter value of the object type
color - the color of the new object
x - the x coordinate of the objects position
y - the y coordinate of the objects position
z - the z coordinate of the objects position
angleX - the x angle of the objects orientation
angleY - the y angle of the objects orientation
angleZ - the z angle of the objects orientation
shapeDataX - an array of float values that define the form of the object in radial direction for the x coordinate direction
shapeDataY - an array of float values that define the form of the object in radial direction for the y coordinate direction
Method Detail

set

public void set(VURotationShapeObjectInfo oi)