Class BaseGeoSRFTParametersNode
java.lang.Object
org.web3d.vrml.renderer.common.nodes.AbstractNode
org.web3d.vrml.renderer.common.nodes.geospatial.BaseGeoSRFTParametersNode
- All Implemented Interfaces:
VRMLNode
,FrameStateListener
,VRMLNodeType
- Direct Known Subclasses:
BaseGeoECParameters
,BaseGeoLCCParameters
,BaseGeoLCE3DParameters
,BaseGeoLocalTangentParameters
,BaseGeoLSR3DParameters
,BaseGeoLTSEParameters
,BaseGeoMParameters
,BaseGeoObliqueMercatorParameters
,BaseGeoPSParameters
,BaseGeoTMParameters
Common base implementation of the abstract node type X3DSRFTParametersNode node.
This abstract node type does not have any fields, so mostly it is a placeholder class to make our spec handling easier.
- Version:
- $Revision: 1.1 $
- Author:
- Justin Couch
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final int
The last index of the nodes used by the SRFParametersInfoNodeFields inherited from class org.web3d.vrml.renderer.common.nodes.AbstractNode
errorReporter, FIELD_METADATA, fieldLocalData, hasChanged, inSetup, isDEF, isStatic, LAST_NODE_INDEX, layerIds, nodeName, pMetadata, refCounts, removedLayerIds, stateManager, STATIC_SCENE_GRAPH, vfMetadata, vrmlMajorVersion, vrmlMinorVersion
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Construct a default instance of this node type. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Construct a new instance of this node based on the details from the given node.int
Get the primary type of this node.Methods inherited from class org.web3d.vrml.renderer.common.nodes.AbstractNode
addNodeListener, allEventsComplete, checkNodeType, checkSecondaryType, checkSecondaryType, clearRemovedLayerIds, fireFieldChanged, getFieldValue, getLayerIds, getMetadataObject, getRefCount, getRemovedLayerIds, getSecondaryType, getUserData, getVRMLNodeName, hasFieldChanged, isDEF, isSetupFinished, notifyExternProtoLoaded, removeNodeListener, sendRoute, setDEF, setErrorReporter, setFrameStateManager, setMetadataObject, setupFinished, setUserData, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setVersion, throwInitOnlyWriteException, throwInputOnlyWriteException, throwInvalidNodeException, throwInvalidProtoException, throwOutputOnlyWriteException, updateRefCount, updateRefs
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.web3d.vrml.lang.VRMLNode
getFieldDeclaration, getFieldIndex, getNodeFieldIndices, getNumFields
-
Field Details
-
LAST_SRFT_PARAM_INDEX
protected static final int LAST_SRFT_PARAM_INDEXThe last index of the nodes used by the SRFParametersInfoNode- See Also:
-
-
Constructor Details
-
BaseGeoSRFTParametersNode
Construct a default instance of this node type. The defaults are set by the X3D specification.- Parameters:
name
- The name of the type of node
-
-
Method Details
-
copy
Construct a new instance of this node based on the details from the given node. If the node is not the same type, an exception will be thrown.- Parameters:
node
- The node to copy- Throws:
IllegalArgumentException
- Incorrect Node Type
-
getPrimaryType
public int getPrimaryType()Get the primary type of this node. Replaces the instanceof mechanism for use in switch statements.- Returns:
- The primary type
-