Package | Description |
---|---|
ilog.views.maps.defense.terrain3d.util |
A set of mathematical and geographical classes in use with the 3D view.
|
ilog.views.maps.defense.terrain3d.view |
Base classes to manage the 3D View.
|
Modifier and Type | Field and Description |
---|---|
static Ilv3DFloatVector |
Ilv3DFloatVector.NEG_X_AXIS
A normalized vector along the x axis (backward direction).
|
static Ilv3DFloatVector |
Ilv3DFloatVector.NEG_Y_AXIS
A normalized vector along the y axis (backward direction).
|
static Ilv3DFloatVector |
Ilv3DFloatVector.NEG_Z_AXIS
A normalized vector along the z axis (backward direction).
|
static Ilv3DFloatVector |
Ilv3DFloatVector.X_AXIS
A normalized vector along the x axis.
|
static Ilv3DFloatVector |
Ilv3DFloatVector.Y_AXIS
A normalized vector along the y axis.
|
static Ilv3DFloatVector |
Ilv3DFloatVector.Z_AXIS
A normalized vector along the z axis.
|
Modifier and Type | Method and Description |
---|---|
Ilv3DFloatVector |
Ilv3DFloatVector.addScaled(float s,
Ilv3DFloatVector arg)
Returns
this + s * arg which creates new vector. |
Ilv3DFloatVector |
Ilv3DFloatVector.copy()
Returns a copy of this vector.
|
Ilv3DFloatVector |
Ilv3DFloatVector.cross(Ilv3DFloatVector arg)
Returns a new vector that is the cross product of this vector and the one
passed as a parameter.
|
Ilv3DFloatVector |
Ilv3DFloatVector.minus(Ilv3DFloatVector arg)
Creates new vector by subtracting a vector from this one.
|
Ilv3DFloatVector |
Ilv3DFloatVector.plus(Ilv3DFloatVector arg)
Creates a new vector which is the sum of this vector and the one passed as
a parameter.
|
Ilv3DFloatVector |
Ilv3DRotation.rotateVector(Ilv3DFloatVector src)
Rotate a vector by this rotation.
|
Ilv3DFloatVector |
Ilv3DFloatVector.times(float val)
Creates a scale copy of this vector.
|
Ilv3DFloatVector |
Ilv3DDoubleVector.toFloat()
Converts this vector to single precision.
|
Modifier and Type | Method and Description |
---|---|
void |
Ilv3DFloatVector.add(Ilv3DFloatVector b)
Adds a vector to this one.
|
void |
Ilv3DFloatVector.add(Ilv3DFloatVector a,
Ilv3DFloatVector b)
Sets this vector equal to the sum of the 2 vectors passed as parameters.
|
Ilv3DFloatVector |
Ilv3DFloatVector.addScaled(float s,
Ilv3DFloatVector arg)
Returns
this + s * arg which creates new vector. |
void |
Ilv3DFloatVector.addScaled(Ilv3DFloatVector a,
float s,
Ilv3DFloatVector b)
Sets this vector equal to
(a + s * b) . |
Ilv3DFloatVector |
Ilv3DFloatVector.cross(Ilv3DFloatVector arg)
Returns a new vector that is the cross product of this vector and the one
passed as a parameter.
|
void |
Ilv3DFloatVector.cross(Ilv3DFloatVector a,
Ilv3DFloatVector b)
Sets this vector equal to the cross product of vectors a and b.
|
float |
Ilv3DFloatVector.dot(Ilv3DFloatVector arg)
Returns the scalar product of this vector by the vector passed as a
parameter.
|
Ilv3DFloatVector |
Ilv3DFloatVector.minus(Ilv3DFloatVector arg)
Creates new vector by subtracting a vector from this one.
|
Ilv3DFloatVector |
Ilv3DFloatVector.plus(Ilv3DFloatVector arg)
Creates a new vector which is the sum of this vector and the one passed as
a parameter.
|
Ilv3DFloatVector |
Ilv3DRotation.rotateVector(Ilv3DFloatVector src)
Rotate a vector by this rotation.
|
void |
Ilv3DRotation.rotateVector(Ilv3DFloatVector src,
Ilv3DFloatVector dest)
Rotates a vector by this rotation.
|
void |
Ilv3DFloatVector.set(Ilv3DFloatVector arg)
Sets this vector equal to the vector passed as a parameter.
|
void |
Ilv3DRotation.set(Ilv3DFloatVector axis,
float angle)
Sets the axis and the angle of this rotation.
|
void |
Ilv3DFloatMatrix.setRotation(Ilv3DFloatVector x,
Ilv3DFloatVector y,
Ilv3DFloatVector z)
Sets the upper-left 3x3 of this matrix assuming that the given x, y, and z
vectors form an orthonormal basis
|
void |
Ilv3DFloatMatrix.setTranslation(Ilv3DFloatVector trans)
Sets the translation component of this matrix (i.e., the three top elements
of the third column)
|
void |
Ilv3DFloatVector.sub(Ilv3DFloatVector b)
Subtracts a vector from this one.
|
void |
Ilv3DFloatVector.sub(Ilv3DFloatVector a,
Ilv3DFloatVector b)
Sets this vector equal to
a - b |
void |
Ilv3DFloatMatrix.xformDir(Ilv3DFloatVector src,
Ilv3DFloatVector dest)
Transforms src using only the upper left 3x3.
|
void |
Ilv3DFloatMatrix.xformPt(Ilv3DFloatVector src,
Ilv3DFloatVector dest)
Transforms a 3D vector as though it had a homogeneous coordinate and
assuming that this matrix represents only rigid transformations; that is, it is
not a full transformation.
|
Constructor and Description |
---|
Ilv3DFloatVector(Ilv3DFloatVector arg)
Creates a new
Vec3f instance by copying the vector passed as
a parameter. |
Ilv3DRotation(Ilv3DFloatVector axis,
float angle)
Creates a rotation from an axis and a rotation angle.
|
Modifier and Type | Field and Description |
---|---|
static Ilv3DFloatVector |
Ilv3DView.UP_VECTOR
The vector representing the vertical axis of the 3D model (that is, the
altitude axis).
|
Modifier and Type | Method and Description |
---|---|
void |
Ilv3DCamera.lookAt(Ilv3DDoubleVector lookAtPoint1,
Ilv3DFloatVector upVector)
Modifies the camera orientation so that it faces the specified point.
|
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.