Interface ILcdOpenFlightNode
- All Superinterfaces:
ILcd3DMeshNode
- All Known Implementing Classes:
TLcdOpenFlightBSPNode
,TLcdOpenFlightDegreeOfFreedomNode
,TLcdOpenFlightExternalReferenceNode
,TLcdOpenFlightFaceNode
,TLcdOpenFlightGeometryNode
,TLcdOpenFlightGroupNode
,TLcdOpenFlightHeaderNode
,TLcdOpenFlightInstanceDefinitionNode
,TLcdOpenFlightInstanceReferenceNode
,TLcdOpenFlightLevelOfDetailNode
,TLcdOpenFlightNode
,TLcdOpenFlightObjectNode
,TLcdOpenFlightSubFaceNode
,TLcdOpenFlightSwitchNode
,TLcdOpenFlightTransformableNode
,TLcdOpenFlightVertexNode
Interface for a generic scene graph node.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(ALcdOpenFlightSceneVisitor aVisitor) Accepts an OpenFlight visitor.getChild
(int aIndex) Returns the child node at the specified index.int
Returns the number of child nodes directly beneath this node.getID()
Returns this node's ID.Returns this node's parent node.Methods inherited from interface com.luciad.format.object3d.ILcd3DMeshNode
getChildren, getMeshes, getTransformation
-
Method Details
-
getChildCount
int getChildCount()Returns the number of child nodes directly beneath this node.- Returns:
- the number of child nodes directly beneath this node
-
getChild
Returns the child node at the specified index.- Parameters:
aIndex
- the index of the child node to be retrieved- Returns:
- the child node at the specified index
-
getParent
ILcdOpenFlightNode getParent()Returns this node's parent node. May be null for the root node of the scene graph only.- Returns:
- this node's parent node
-
getID
String getID()Returns this node's ID. The ID is present in all primary node records defined by OpenFlight.- Returns:
- the ID of this node
-
accept
Accepts an OpenFlight visitor. A typical implementation of this method should callaVisitor.visit(this)
.- Parameters:
aVisitor
- the visitor to accept
-