Home | Hierarchy | Members | Alphabetical | Related Pages |
#include <node.h>
Inherited by Anchor, Appearance, AudioClip, Background, Billboard, Box, Collision, Color, ColorInterpolator, Cone, Contour2D, Coordinate, CoordinateDeformer, CoordinateInterpolator, Cylinder, CylinderSensor, DeclaredNode, DirectionalLight, ElevationGrid, Extrusion, Fog, FontStyle, GeoCoordinate, GeoElevationGrid, GeoLocation, GeoLOD, GeoMetadata, GeoOrigin, GeoPositionInterpolator, GeoTouchSensor, GeoViewpoint, Group, ImageTexture, IndexedFaceSet, IndexedLineSet, Inline, InlineLoadControl, LOD, Material, MovieTexture, NavigationInfo, Normal, NormalInterpolator, NurbsCurve, NurbsCurve2D, NurbsGroup, NurbsPositionInterpolator, NurbsSurface, NurbsTextureSurface, OrientationInterpolator, PixelTexture, PlaneSensor, PointLight, PointSet, Polyline2D, PositionInterpolator, ProximitySensor, ScalarInterpolator, Shape, Sound, Sphere, SphereSensor, SpotLight, Switch, Text, TextureCoordinate, TextureTransform, TimeSensor, TouchSensor, Transform, TrimmedSurface, Viewpoint, VisibilitySensor, and WorldInfo.
Inheritance diagram for Node:
Public Member Functions | |
Node (const char *name="") | |
virtual Node * | duplicate () const =0 |
virtual Node * | duplicate (std::map< const Node *, Node * > &) const =0 |
virtual | ~Node () |
bool | hasName () const |
const char * | name () const |
void | setName (const char *) |
virtual const char * | typeName () const =0 |
Field Access | |
virtual FieldHandle | field (const std::string &n)=0 |
virtual unsigned int | nbFields () const =0 |
virtual FieldHandle | field (const unsigned int i)=0 |
virtual bool | isSetToDefaultValue (const unsigned int i) const =0 |
Field Modification | |
Setting a field from a handle and a value. | |
virtual void | setField (const FieldHandle &f, const SFBool &) |
virtual void | setField (const FieldHandle &f, const SFColor &) |
virtual void | setField (const FieldHandle &f, const SFFloat &) |
virtual void | setField (const FieldHandle &f, const SFImage &) |
virtual void | setField (const FieldHandle &f, const SFInt32 &) |
virtual void | setField (const FieldHandle &f, const SFNode &) |
virtual void | setField (const FieldHandle &f, const SFRotation &) |
virtual void | setField (const FieldHandle &f, const SFString &) |
virtual void | setField (const FieldHandle &f, const SFTime &) |
virtual void | setField (const FieldHandle &f, const SFVec2f &) |
virtual void | setField (const FieldHandle &f, const SFVec3f &) |
virtual void | setField (const FieldHandle &f, const MFColor &) |
virtual void | setField (const FieldHandle &f, const MFFloat &) |
virtual void | setField (const FieldHandle &f, const MFInt32 &) |
virtual void | setField (const FieldHandle &f, const MFNode &) |
virtual void | setField (const FieldHandle &f, const MFRotation &) |
virtual void | setField (const FieldHandle &f, const MFString &) |
virtual void | setField (const FieldHandle &f, const MFTime &) |
virtual void | setField (const FieldHandle &f, const MFVec2f &) |
virtual void | setField (const FieldHandle &f, const MFVec3f &) |
Optimized Field Modification | |
Alternative to setField() functions that use swaps to be faster. | |
void | swapField (const FieldHandle &f, MFColor &) |
void | swapField (const FieldHandle &f, MFFloat &) |
void | swapField (const FieldHandle &f, MFInt32 &) |
void | swapField (const FieldHandle &f, MFNode &) |
void | swapField (const FieldHandle &f, MFRotation &) |
void | swapField (const FieldHandle &f, MFString &) |
void | swapField (const FieldHandle &f, MFTime &) |
void | swapField (const FieldHandle &f, MFVec2f &) |
void | swapField (const FieldHandle &f, MFVec3f &) |
Events Access | |
virtual unsigned int | nbEventsIn () const =0 |
virtual EventInHandle | eventIn (const std::string &n)=0 |
virtual EventInHandle | eventIn (const unsigned int i)=0 |
virtual unsigned int | nbEventsOut () const =0 |
virtual EventOutHandle | eventOut (const std::string &n)=0 |
virtual EventOutHandle | eventOut (const unsigned int i)=0 |
Protected Member Functions | |
FieldHandle | field (const std::string &n, const FieldTypeId t, void *f) |
EventInHandle | eventIn (const std::string &n, const FieldTypeId t, void *f) |
EventOutHandle | eventOut (const std::string &n, const FieldTypeId t, void *f) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Return true if the node has a name, defined thru a DEF directive in a VRML file of with the setName command. |
|
|
Return the name of the node, defined thru a DEF directive in a VRML file of with the setName command. |
|
|
|
|
Reimplemented in DeclaredNodeWithBindings. |
|
Reimplemented in DeclaredNodeWithBindings. |
|
Reimplemented in DeclaredNodeWithBindings. |
|
Reimplemented in DeclaredNodeWithBindings. |
|
Reimplemented in DeclaredNodeWithBindings. |
|
Reimplemented in DeclaredNodeWithBindings. |
|
Reimplemented in DeclaredNodeWithBindings. |
|
Reimplemented in DeclaredNodeWithBindings. |
|
Reimplemented in DeclaredNodeWithBindings. |
|
Reimplemented in DeclaredNodeWithBindings. |
|
Reimplemented in DeclaredNodeWithBindings. |
|
Reimplemented in DeclaredNodeWithBindings. |
|
Reimplemented in DeclaredNodeWithBindings. |
|
Reimplemented in DeclaredNodeWithBindings. |
|
Reimplemented in DeclaredNodeWithBindings. |
|
Reimplemented in DeclaredNodeWithBindings. |
|
Reimplemented in DeclaredNodeWithBindings. |
|
Reimplemented in DeclaredNodeWithBindings. |
|
Reimplemented in DeclaredNodeWithBindings. |
|
Reimplemented in DeclaredNodeWithBindings. |
|
Set the name of the node. If a node has a name, it will generate a DEF directive when printed, . |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Generated on 24 Feb 2005 with version 1.3.9.1. |