#include <X3DNode.h>
Inherited by ExternProtoDeclare, LayerSet, PixelTexture, ProtoDeclare, ProtoInstance, ProtoInterface, ROUTE, ShaderProgram, TextureProperties, X3DAppearanceChildNode, X3DAppearanceNode, X3DChildNode, X3DGeometricPropertyNode, X3DGeometryNode, X3DLayerNode, and X3DMaterialNode.
Public Member Functions | |
void | AddField (const AP_String &name, X3DField *field) |
virtual void | Destroy (void) |
AP_String | GetDEF (void) const |
X3DField * | GetField (const AP_String &name) const |
AP_String | GetUSE (void) const |
virtual AP_Bool | Init (void) |
Interface The render and init API function is not present in the X3D ISO/IEC 19775-1:2008 standard. We will use it to OpenGL direct rendering. It is a pure virtual function and must be overloaded from some X3D classes. | |
AP_Bool | initialized (void) const |
AP_String | nameXml (void) const |
X3DNodeType | nodeType (void) const |
Inline. | |
virtual void | Render (void) |
virtual AP_Bool | Update (const X3DEvent &event) |
X3DNode (const AP_Xml &xml, SFNode scene) | |
virtual | ~X3DNode (void) |
Protected Member Functions | |
SFNode | Alloc (const AP_Xml &xml, SFNode scene) |
AP_Float32 * | MFColorToFloat (const MFColor &vector) |
AP_Sint16 * | MFInt32ToInt16 (const MFInt32 &vector) |
AP_Sint32 * | MFInt32ToInt32 (const MFInt32 &vector) |
AP_Float32 * | MFVec2fToFloat (const MFVec2f &vector) |
AP_Float32 * | MFVec3fToFloat (const MFVec3f &vector) |
Protected Attributes | |
AP_String | _m_DEF |
MField | _m_fields |
Not X3D ISO standard, need it for rendering. | |
AP_Bool | _m_initialized |
Not X3D ISO standard, need it for rendering. | |
IS * | _m_IS |
X3DMetadataObject * | _m_metadata |
AP_String | _m_nameXml |
X3DNodeType | _m_nodeType |
SFNode | _m_scene |
Not X3D ISO standard, need it for rendering. | |
AP_String | _m_USE |
~X3DNode | ( | void | ) | [virtual] |
virtual void Destroy | ( | void | ) | [inline, virtual] |
Reimplemented in TimeSensor, and X3DGroupingNode.
AP_String GetDEF | ( | void | ) | const [inline] |
AP_String GetUSE | ( | void | ) | const [inline] |
virtual AP_Bool Init | ( | void | ) | [inline, virtual] |
Interface The render and init API function is not present in the X3D ISO/IEC 19775-1:2008 standard. We will use it to OpenGL direct rendering. It is a pure virtual function and must be overloaded from some X3D classes.
Reimplemented in Appearance, FontStyle, ImageTexture, LayerSet, ProgramShader, ProtoBody, ProtoDeclare, ProtoInstance, Scene, Shape, Text, TimeSensor, X3DGroupingNode, and X3DLayerNode.
AP_Float32 * MFColorToFloat | ( | const MFColor & | vector | ) | [protected] |
AP_Sint16 * MFInt32ToInt16 | ( | const MFInt32 & | vector | ) | [protected] |
AP_Sint32 * MFInt32ToInt32 | ( | const MFInt32 & | vector | ) | [protected] |
AP_Float32 * MFVec2fToFloat | ( | const MFVec2f & | vector | ) | [protected] |
AP_Float32 * MFVec3fToFloat | ( | const MFVec3f & | vector | ) | [protected] |
AP_String nameXml | ( | void | ) | const [inline] |
X3DNodeType nodeType | ( | void | ) | const [inline] |
Inline.
virtual void Render | ( | void | ) | [inline, virtual] |
Reimplemented in Appearance, DirectionalLight, FontStyle, Group, ImageTexture, LayerSet, Material, OrthoViewpoint, PointLight, ProgramShader, ProtoBody, ProtoDeclare, ProtoInstance, Shape, SpotLight, StaticGroup, Switch, Text, Transform, Viewpoint, Viewport, X3DGroupingNode, X3DLayerNode, and X3DLightNode.
Reimplemented in FontStyle, KeySensor, LayerSet, OrientationChaser, OrientationInterpolator, PositionInterpolator, Scene, Switch, Text, Transform, X3DGroupingNode, and X3DLayerNode.
AP_Bool _m_initialized [protected] |
Not X3D ISO standard, need it for rendering.
X3DMetadataObject* _m_metadata [protected] |
Reimplemented in X3DLightNode.
AP_String _m_nameXml [protected] |
X3DNodeType _m_nodeType [protected] |