Class TLcdOpenFlightDegreeOfFreedomNode
java.lang.Object
com.luciad.format.object3d.openflight.model.TLcdOpenFlightNode
com.luciad.format.object3d.openflight.model.TLcdOpenFlightTransformableNode
com.luciad.format.object3d.openflight.model.TLcdOpenFlightGeometryNode
com.luciad.format.object3d.openflight.model.TLcdOpenFlightDegreeOfFreedomNode
- All Implemented Interfaces:
ILcd3DMesh
,ILcd3DMeshNode
,ILcdStyled3DMesh
,ILcdOpenFlightNode
,ILcdBounded
A Degree-Of-Freedom node. This node formulates constraints for the
transformations of its children.
Please refer to the OpenFlight specification for more details on the semantics of this node and its properties.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(ALcdOpenFlightSceneVisitor aVisitor) Accepts an OpenFlight visitor.double
double
double
double
double
double
double
double
double
int
getFlags()
double
double
double
getMaxX()
double
double
getMaxY()
double
double
double
getMaxZ()
double
double
double
double
getMinX()
double
double
getMinY()
double
double
double
getMinZ()
double
double[]
double
double[]
double[]
double
double
double
double
double
double
double
double
void
setCurrentPitch
(double aCurrentPitch) void
setCurrentRoll
(double aCurrentRoll) void
setCurrentX
(double aCurrentX) void
setCurrentXScale
(double aCurrentXScale) void
setCurrentY
(double aCurrentY) void
setCurrentYaw
(double aCurrentYaw) void
setCurrentYScale
(double aCurrentYScale) void
setCurrentZ
(double aCurrentZ) void
setCurrentZScale
(double aCurrentZScale) void
setFlags
(int aFlags) void
setMaxPitch
(double aMaxPitch) void
setMaxRoll
(double aMaxRoll) void
setMaxX
(double aMaxX) void
setMaxXScale
(double aMaxXScale) void
setMaxY
(double aMaxY) void
setMaxYaw
(double aMaxYaw) void
setMaxYScale
(double aMaxYScale) void
setMaxZ
(double aMaxZ) void
setMaxZScale
(double aMaxZScale) void
setMinPitch
(double aMinPitch) void
setMinRoll
(double aMinRoll) void
setMinX
(double aMinX) void
setMinXScale
(double aMinXScale) void
setMinY
(double aMinY) void
setMinYaw
(double aMinYaw) void
setMinYScale
(double aMinYScale) void
setMinZ
(double aMinZ) void
setMinZScale
(double aMinZScale) void
setOrigin
(double[] aOrigin) void
setPitchIncrement
(double aPitchIncrement) void
setPointInXYPlane
(double[] aPointInXYPlane) void
setPointOnXAxis
(double[] aPointOnXAxis) void
setRollIncrement
(double aRollIncrement) void
setXIncrement
(double aXIncrement) void
setXScaleIncrement
(double aXScaleIncrement) void
setYawIncrement
(double aYawIncrement) void
setYIncrement
(double aYIncrement) void
setYScaleIncrement
(double aYScaleIncrement) void
setZIncrement
(double aZIncrement) void
setZScaleIncrement
(double aZScaleIncrement) Methods inherited from class com.luciad.format.object3d.openflight.model.TLcdOpenFlightGeometryNode
addChild, getBounds, getColorCount, getColorSFCT, getMeshes, getNormalCount, getNormalSFCT, getPrimitive, getPrimitiveCount, getStyleForPrimitive, getTexCoordCount, getTexCoordSFCT, getVertexCount, getVertexSFCT
Methods inherited from class com.luciad.format.object3d.openflight.model.TLcdOpenFlightTransformableNode
getTransformation, setTransformation
Methods inherited from class com.luciad.format.object3d.openflight.model.TLcdOpenFlightNode
getChild, getChildCount, getChildren, getID, getParent, setID, setParent, toString
-
Field Details
-
FLAGS_X_TRANSLATION_LIMITED
public static final int FLAGS_X_TRANSLATION_LIMITED- See Also:
-
FLAGS_Y_TRANSLATION_LIMITED
public static final int FLAGS_Y_TRANSLATION_LIMITED- See Also:
-
FLAGS_Z_TRANSLATION_LIMITED
public static final int FLAGS_Z_TRANSLATION_LIMITED- See Also:
-
FLAGS_PITCH_ROTATION_LIMITED
public static final int FLAGS_PITCH_ROTATION_LIMITED- See Also:
-
FLAGS_ROLL_ROTATION_LIMITED
public static final int FLAGS_ROLL_ROTATION_LIMITED- See Also:
-
FLAGS_YAW_ROTATION_LIMITED
public static final int FLAGS_YAW_ROTATION_LIMITED- See Also:
-
FLAGS_X_SCALE_LIMITED
public static final int FLAGS_X_SCALE_LIMITED- See Also:
-
FLAGS_Y_SCALE_LIMITED
public static final int FLAGS_Y_SCALE_LIMITED- See Also:
-
FLAGS_Z_SCALE_LIMITED
public static final int FLAGS_Z_SCALE_LIMITED- See Also:
-
-
Constructor Details
-
TLcdOpenFlightDegreeOfFreedomNode
-
-
Method Details
-
getOrigin
public double[] getOrigin() -
setOrigin
public void setOrigin(double[] aOrigin) -
getPointOnXAxis
public double[] getPointOnXAxis() -
setPointOnXAxis
public void setPointOnXAxis(double[] aPointOnXAxis) -
getPointInXYPlane
public double[] getPointInXYPlane() -
setPointInXYPlane
public void setPointInXYPlane(double[] aPointInXYPlane) -
getMinZ
public double getMinZ() -
setMinZ
public void setMinZ(double aMinZ) -
getMaxZ
public double getMaxZ() -
setMaxZ
public void setMaxZ(double aMaxZ) -
getCurrentZ
public double getCurrentZ() -
setCurrentZ
public void setCurrentZ(double aCurrentZ) -
getZIncrement
public double getZIncrement() -
setZIncrement
public void setZIncrement(double aZIncrement) -
getMinY
public double getMinY() -
setMinY
public void setMinY(double aMinY) -
getMaxY
public double getMaxY() -
setMaxY
public void setMaxY(double aMaxY) -
getCurrentY
public double getCurrentY() -
setCurrentY
public void setCurrentY(double aCurrentY) -
getYIncrement
public double getYIncrement() -
setYIncrement
public void setYIncrement(double aYIncrement) -
getMinX
public double getMinX() -
setMinX
public void setMinX(double aMinX) -
getMaxX
public double getMaxX() -
setMaxX
public void setMaxX(double aMaxX) -
getCurrentX
public double getCurrentX() -
setCurrentX
public void setCurrentX(double aCurrentX) -
getXIncrement
public double getXIncrement() -
setXIncrement
public void setXIncrement(double aXIncrement) -
getMinPitch
public double getMinPitch() -
setMinPitch
public void setMinPitch(double aMinPitch) -
getMaxPitch
public double getMaxPitch() -
setMaxPitch
public void setMaxPitch(double aMaxPitch) -
getCurrentPitch
public double getCurrentPitch() -
setCurrentPitch
public void setCurrentPitch(double aCurrentPitch) -
getPitchIncrement
public double getPitchIncrement() -
setPitchIncrement
public void setPitchIncrement(double aPitchIncrement) -
getMinRoll
public double getMinRoll() -
setMinRoll
public void setMinRoll(double aMinRoll) -
getMaxRoll
public double getMaxRoll() -
setMaxRoll
public void setMaxRoll(double aMaxRoll) -
getCurrentRoll
public double getCurrentRoll() -
setCurrentRoll
public void setCurrentRoll(double aCurrentRoll) -
getRollIncrement
public double getRollIncrement() -
setRollIncrement
public void setRollIncrement(double aRollIncrement) -
getMinYaw
public double getMinYaw() -
setMinYaw
public void setMinYaw(double aMinYaw) -
getMaxYaw
public double getMaxYaw() -
setMaxYaw
public void setMaxYaw(double aMaxYaw) -
getCurrentYaw
public double getCurrentYaw() -
setCurrentYaw
public void setCurrentYaw(double aCurrentYaw) -
getYawIncrement
public double getYawIncrement() -
setYawIncrement
public void setYawIncrement(double aYawIncrement) -
getMinZScale
public double getMinZScale() -
setMinZScale
public void setMinZScale(double aMinZScale) -
getMaxZScale
public double getMaxZScale() -
setMaxZScale
public void setMaxZScale(double aMaxZScale) -
getCurrentZScale
public double getCurrentZScale() -
setCurrentZScale
public void setCurrentZScale(double aCurrentZScale) -
getZScaleIncrement
public double getZScaleIncrement() -
setZScaleIncrement
public void setZScaleIncrement(double aZScaleIncrement) -
getMinYScale
public double getMinYScale() -
setMinYScale
public void setMinYScale(double aMinYScale) -
getMaxYScale
public double getMaxYScale() -
setMaxYScale
public void setMaxYScale(double aMaxYScale) -
getCurrentYScale
public double getCurrentYScale() -
setCurrentYScale
public void setCurrentYScale(double aCurrentYScale) -
getYScaleIncrement
public double getYScaleIncrement() -
setYScaleIncrement
public void setYScaleIncrement(double aYScaleIncrement) -
getMinXScale
public double getMinXScale() -
setMinXScale
public void setMinXScale(double aMinXScale) -
getMaxXScale
public double getMaxXScale() -
setMaxXScale
public void setMaxXScale(double aMaxXScale) -
getCurrentXScale
public double getCurrentXScale() -
setCurrentXScale
public void setCurrentXScale(double aCurrentXScale) -
getXScaleIncrement
public double getXScaleIncrement() -
setXScaleIncrement
public void setXScaleIncrement(double aXScaleIncrement) -
getFlags
public int getFlags() -
setFlags
public void setFlags(int aFlags) -
accept
Description copied from interface:ILcdOpenFlightNode
Accepts an OpenFlight visitor. A typical implementation of this method should callaVisitor.visit(this)
.- Specified by:
accept
in interfaceILcdOpenFlightNode
- Overrides:
accept
in classTLcdOpenFlightGeometryNode
- Parameters:
aVisitor
- the visitor to accept
-