nl.kun.Engine3D
Class LWImportedObj
java.lang.Object
|
+--nl.kun.Engine3D.TVector3D
|
+--nl.kun.Engine3D.TCoordSys3D
|
+--nl.kun.Engine3D.TEntity3D
|
+--nl.kun.Engine3D.TEntityList3D
|
+--nl.kun.Engine3D.TPolyObject3D
|
+--nl.kun.Engine3D.LWImportedObj
- public class LWImportedObj
- extends TPolyObject3D
An object (enherited from TPolyObject3D
) that can import a simple 3D object of .OBJ format
(exported by Lightwave, a 3D drawing program).
Constructor Summary |
LWImportedObj()
Empty constructor |
LWImportedObj(double _x,
double _y,
double _z,
double _xax,
double _xay,
double _xaz,
double _yax,
double _yay,
double _yaz,
double _zax,
double _zay,
double _zaz,
java.net.URL _url,
java.awt.Color _color)
Constructor. |
LWImportedObj(double _x,
double _y,
double _z,
java.net.URL _url,
java.awt.Color _color)
Simpler constructor. |
Methods inherited from class nl.kun.Engine3D.TVector3D |
Angle,
Double2String,
Double2String,
Modulus,
Modulus,
Negate,
Negate,
Normalize,
Normalize,
NulVec,
StdXaxis,
StdYaxis,
StdZaxis,
String2Double,
VAdd,
VCrossProduct,
VCrossProduct,
VDotProduct,
Vector3D,
VPerpendicular,
VPerpendicular,
VScalarProduct,
VScalarProduct,
VScalarProduct,
VSubstract,
VSubstract |
Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
LWImportedObj
public LWImportedObj(double _x,
double _y,
double _z,
double _xax,
double _xay,
double _xaz,
double _yax,
double _yay,
double _yaz,
double _zax,
double _zay,
double _zaz,
java.net.URL _url,
java.awt.Color _color)
- Constructor.
- Parameters:
_x
- the x-value of the origin vector_y
- the y-value of the origin vector_z
- the z-value of the origin vector_xax
- the x-value of the x-axis vector_xay
- the y-value of the x-axis vector_xaz
- the z-value of the x-axis vector_yax
- the x-value of the y-axis vector_yay
- the y-value of the y-axis vector_yaz
- the z-value of the y-axis vector_zax
- the x-value of the z-axis vector_zay
- the y-value of the z-axis vector_zaz
- the z-value of the z-axis vector_scale
- the scale of the object with respect to the object's default size._url
- the URL where the .OBJ file of this object can be downloaded._color
- the color of this object.
LWImportedObj
public LWImportedObj(double _x,
double _y,
double _z,
java.net.URL _url,
java.awt.Color _color)
- Simpler constructor. Only needs a position and uses (x,y,z,1,0,0,0,1,0,0,0,1) as it's coordinate system.
- Parameters:
_x
- the x-value of the origin vector_y
- the y-value of the origin vector_z
- the z-value of the origin vector_scale
- the scale of the object with respect to the object's default size._url
- the URL where the .OBJ file of this object can be downloaded._color
- the color of this object.
LWImportedObj
public LWImportedObj()
- Empty constructor