Class TLcdOpenFlightLevelOfDetailNode
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.TLcdOpenFlightLevelOfDetailNode
- All Implemented Interfaces:
ILcd3DMesh
,ILcd3DMeshNode
,ILcdStyled3DMesh
,ILcdOpenFlightNode
,ILcdBounded
A Level-Of-Detail (LOD) node. The contents of this node are to be processed
only if they lie within a specified distance range from the camera.
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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(ALcdOpenFlightSceneVisitor aVisitor) Accepts an OpenFlight visitor.int
getFlags()
double
double
double
double
int
int
double
double
double
void
setFlags
(int aFlags) void
setLODCenterX
(double aLODCenterX) void
setLODCenterY
(double aLODCenterY) void
setLODCenterZ
(double aLODCenterZ) void
setSignificantSize
(double aSignificantSize) void
setSpecialEffectID1
(int aSpecialEffectID1) void
setSpecialEffectID2
(int aSpecialEffectID2) void
setSwitchInDistance
(double aSwitchInDistance) void
setSwitchOutDistance
(double aSwitchOutDistance) void
setTransitionRange
(double aTransitionRange) 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_USE_PREVIOUS_SLANT_RANGE
public static final int FLAGS_USE_PREVIOUS_SLANT_RANGE- See Also:
-
FLAGS_FREEZE_CENTER
public static final int FLAGS_FREEZE_CENTER- See Also:
-
-
Constructor Details
-
TLcdOpenFlightLevelOfDetailNode
-
-
Method Details
-
getSwitchInDistance
public double getSwitchInDistance() -
setSwitchInDistance
public void setSwitchInDistance(double aSwitchInDistance) -
getSwitchOutDistance
public double getSwitchOutDistance() -
setSwitchOutDistance
public void setSwitchOutDistance(double aSwitchOutDistance) -
getLODCenterX
public double getLODCenterX() -
setLODCenterX
public void setLODCenterX(double aLODCenterX) -
getLODCenterY
public double getLODCenterY() -
setLODCenterY
public void setLODCenterY(double aLODCenterY) -
getLODCenterZ
public double getLODCenterZ() -
setLODCenterZ
public void setLODCenterZ(double aLODCenterZ) -
getTransitionRange
public double getTransitionRange() -
setTransitionRange
public void setTransitionRange(double aTransitionRange) -
getSignificantSize
public double getSignificantSize() -
setSignificantSize
public void setSignificantSize(double aSignificantSize) -
getSpecialEffectID1
public int getSpecialEffectID1() -
setSpecialEffectID1
public void setSpecialEffectID1(int aSpecialEffectID1) -
getSpecialEffectID2
public int getSpecialEffectID2() -
setSpecialEffectID2
public void setSpecialEffectID2(int aSpecialEffectID2) -
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
-