public class TLcdOpenFlightSwitchNode extends TLcdOpenFlightTransformableNode
Please refer to the OpenFlight specification for more details on the semantics of this node and its properties.
Constructor and Description |
---|
TLcdOpenFlightSwitchNode(ILcdOpenFlightNode aParent) |
Modifier and Type | Method and Description |
---|---|
void |
accept(ALcdOpenFlightSceneVisitor aVisitor)
Accepts an OpenFlight visitor.
|
int |
getCurrentMask() |
int |
getMaskCount() |
long[] |
getMasks() |
int |
getWordsPerMask() |
boolean |
isChildEnabled(int aChildIndex)
Returns true if the specified child node is "switched on".
|
void |
setCurrentMask(int aCurrentMask) |
void |
setMaskCount(int aMaskCount) |
void |
setMasks(long[] aMasks) |
void |
setWordsPerMask(int aWordsPerMask) |
getTransformation, setTransformation
addChild, getChild, getChildCount, getChildren, getID, getMeshes, getParent, setID, setParent, toString
public TLcdOpenFlightSwitchNode(ILcdOpenFlightNode aParent)
public int getCurrentMask()
public void setCurrentMask(int aCurrentMask)
public int getMaskCount()
public void setMaskCount(int aMaskCount)
public int getWordsPerMask()
public void setWordsPerMask(int aWordsPerMask)
public long[] getMasks()
public void setMasks(long[] aMasks)
public boolean isChildEnabled(int aChildIndex)
aChildIndex
- the index of the child node to be checkedpublic void accept(ALcdOpenFlightSceneVisitor aVisitor)
ILcdOpenFlightNode
aVisitor.visit(this)
.accept
in interface ILcdOpenFlightNode
accept
in class TLcdOpenFlightTransformableNode
aVisitor
- the visitor to accept