Class TLcdOpenFlightFaceNode
java.lang.Object
com.luciad.format.object3d.openflight.model.TLcdOpenFlightNode
com.luciad.format.object3d.openflight.model.TLcdOpenFlightFaceNode
- All Implemented Interfaces:
ILcd3DMeshNode
,ILcdOpenFlightNode
A face node. Each face contains one or more vertex nodes as 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
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.void
addChild
(ILcdOpenFlightNode aChild) Adds a child to this node.float[]
int
int
int
int
int
int
int
getFlags()
int
int
int
int
int
int
float[]
int
int
int
int
int
int
int
float
boolean
void
setAlternateColor
(float[] aAlternateColor) void
setAlternateColorIndex
(int aAlternateColorIndex) void
setAlternateColorNameIndex
(int aAlternateColorNameIndex) void
setColorNameIndex
(int aColorNameIndex) void
setDetailTextureIndex
(int aDetailTextureIndex) void
setDrawType
(int aDrawType) void
setFeatureID
(int aFeatureID) void
setFlags
(int aFlags) void
setIRColorCode
(int aIRColorCode) void
setIRMaterialCode
(int aIRMaterialCode) void
setLightMode
(int aLightMode) void
setLineStyleIndex
(int aLineStyleIndex) void
setLODGenerationControl
(int aLODGenerationControl) void
setMaterialIndex
(int aMaterialIndex) void
setPrimaryColor
(float[] aPrimaryColor) void
setPrimaryColorIndex
(int aPrimaryColorIndex) void
setRelativePriority
(int aRelativePriority) void
setShaderIndex
(int aShaderIndex) void
setSurfaceMaterialCode
(int aSurfaceMaterialCode) void
setTemplate
(int aTemplate) void
setTextureIndex
(int aTextureIndex) void
setTextureMappingIndex
(int aTextureMappingIndex) void
setTextureWhite
(boolean aTextureWhite) void
setTransparency
(float aTransparency) Methods inherited from class com.luciad.format.object3d.openflight.model.TLcdOpenFlightNode
getChild, getChildCount, getChildren, getID, getMeshes, getParent, getTransformation, setID, setParent, toString
-
Field Details
-
DRAW_SOLID_BFC
public static final int DRAW_SOLID_BFC- See Also:
-
DRAW_SOLID_NO_BFC
public static final int DRAW_SOLID_NO_BFC- See Also:
-
DRAW_WIREFRAME_AND_CLOSE
public static final int DRAW_WIREFRAME_AND_CLOSE- See Also:
-
DRAW_WIREFRAME
public static final int DRAW_WIREFRAME- See Also:
-
SURROUND_WIREFRAME
public static final int SURROUND_WIREFRAME- See Also:
-
FACE_COLOR_NO_LIGHTING
public static final int FACE_COLOR_NO_LIGHTING- See Also:
-
VERTEX_COLOR_NO_LIGHTING
public static final int VERTEX_COLOR_NO_LIGHTING- See Also:
-
FACE_COLOR_AND_LIGHTING
public static final int FACE_COLOR_AND_LIGHTING- See Also:
-
VERTEX_COLOR_AND_LIGHTING
public static final int VERTEX_COLOR_AND_LIGHTING- See Also:
-
FLAGS_TERRAIN
public static final int FLAGS_TERRAIN- See Also:
-
FLAGS_NO_COLOR
public static final int FLAGS_NO_COLOR- See Also:
-
FLAGS_NO_ALTERNATE_COLOR
public static final int FLAGS_NO_ALTERNATE_COLOR- See Also:
-
FLAGS_PACKED_COLOR
public static final int FLAGS_PACKED_COLOR- See Also:
-
FLAGS_TERRAIN_CULTURE_CUTOUT
public static final int FLAGS_TERRAIN_CULTURE_CUTOUT- See Also:
-
FLAGS_HIDDEN
public static final int FLAGS_HIDDEN- See Also:
-
FLAGS_ROOFLINE
public static final int FLAGS_ROOFLINE- See Also:
-
-
Constructor Details
-
TLcdOpenFlightFaceNode
-
-
Method Details
-
addChild
Description copied from class:TLcdOpenFlightNode
Adds a child to this node.- Overrides:
addChild
in classTLcdOpenFlightNode
- Parameters:
aChild
- the ILcdOpenFlightNode to be added below this node
-
isTextureWhite
public boolean isTextureWhite() -
setTextureWhite
public void setTextureWhite(boolean aTextureWhite) -
getDetailTextureIndex
public int getDetailTextureIndex() -
setDetailTextureIndex
public void setDetailTextureIndex(int aDetailTextureIndex) -
getTextureIndex
public int getTextureIndex() -
setTextureIndex
public void setTextureIndex(int aTextureIndex) -
getMaterialIndex
public int getMaterialIndex() -
setMaterialIndex
public void setMaterialIndex(int aMaterialIndex) -
getPrimaryColor
public float[] getPrimaryColor() -
setPrimaryColor
public void setPrimaryColor(float[] aPrimaryColor) -
getAlternateColor
public float[] getAlternateColor() -
setAlternateColor
public void setAlternateColor(float[] aAlternateColor) -
getTextureMappingIndex
public int getTextureMappingIndex() -
setTextureMappingIndex
public void setTextureMappingIndex(int aTextureMappingIndex) -
getTransparency
public float getTransparency() -
setTransparency
public void setTransparency(float aTransparency) -
getLightMode
public int getLightMode() -
setLightMode
public void setLightMode(int aLightMode) -
getDrawType
public int getDrawType() -
setDrawType
public void setDrawType(int aDrawType) -
getColorNameIndex
public int getColorNameIndex() -
setColorNameIndex
public void setColorNameIndex(int aColorNameIndex) -
getAlternateColorNameIndex
public int getAlternateColorNameIndex() -
setAlternateColorNameIndex
public void setAlternateColorNameIndex(int aAlternateColorNameIndex) -
getTemplate
public int getTemplate() -
setTemplate
public void setTemplate(int aTemplate) -
getSurfaceMaterialCode
public int getSurfaceMaterialCode() -
setSurfaceMaterialCode
public void setSurfaceMaterialCode(int aSurfaceMaterialCode) -
getFeatureID
public int getFeatureID() -
setFeatureID
public void setFeatureID(int aFeatureID) -
getIRMaterialCode
public int getIRMaterialCode() -
setIRMaterialCode
public void setIRMaterialCode(int aIRMaterialCode) -
getLODGenerationControl
public int getLODGenerationControl() -
setLODGenerationControl
public void setLODGenerationControl(int aLODGenerationControl) -
getLineStyleIndex
public int getLineStyleIndex() -
setLineStyleIndex
public void setLineStyleIndex(int aLineStyleIndex) -
getFlags
public int getFlags() -
setFlags
public void setFlags(int aFlags) -
getPrimaryColorIndex
public int getPrimaryColorIndex() -
setPrimaryColorIndex
public void setPrimaryColorIndex(int aPrimaryColorIndex) -
getAlternateColorIndex
public int getAlternateColorIndex() -
setAlternateColorIndex
public void setAlternateColorIndex(int aAlternateColorIndex) -
getShaderIndex
public int getShaderIndex() -
setShaderIndex
public void setShaderIndex(int aShaderIndex) -
getRelativePriority
public int getRelativePriority() -
setRelativePriority
public void setRelativePriority(int aRelativePriority) -
getIRColorCode
public int getIRColorCode() -
setIRColorCode
public void setIRColorCode(int aIRColorCode) -
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 classTLcdOpenFlightNode
- Parameters:
aVisitor
- the visitor to accept
-