NodeIndexedFaceSet Class Reference

#include <NodeIndexedFaceSet.h>

Inheritance diagram for NodeIndexedFaceSet:

Node List of all members.

Public Member Functions

 NodeIndexedFaceSet (Scene *scene, Proto *proto)
virtual int getType () const
virtual void setField (int index, FieldValue *value)
virtual Nodecopy () const
virtual int getNodeClass () const

Protected Member Functions

virtual ~NodeIndexedFaceSet ()

Protected Attributes

MFVec3f_normals
MFInt32_normalIndex
bool _normalsDirty
float _creaseAngle

Detailed Description

According to the IndexedFaceSet Node of VRML97 specification.

  IndexedFaceSet { 
  eventIn       MFInt32 set_colorIndex
  eventIn       MFInt32 set_coordIndex
  eventIn       MFInt32 set_normalIndex
  eventIn       MFInt32 set_texCoordIndex
  exposedField  SFNode  color             NULL
  exposedField  SFNode  coord             NULL
  exposedField  SFNode  normal            NULL
  exposedField  SFNode  texCoord          NULL
  field         SFBool  ccw               TRUE
  field         MFInt32 colorIndex        []        # [-1,)
  field         SFBool  colorPerVertex    TRUE
  field         SFBool  convex            TRUE
  field         MFInt32 coordIndex        []        # [-1,)
  field         SFFloat creaseAngle       0         # [0,)
  field         MFInt32 normalIndex       []        # [-1,)
  field         SFBool  normalPerVertex   TRUE
  field         SFBool  solid             TRUE
  field         MFInt32 texCoordIndex     []        # [-1,)
}


Constructor & Destructor Documentation

NodeIndexedFaceSet::NodeIndexedFaceSet ( Scene scene,
Proto proto 
)

NodeIndexedFaceSet::~NodeIndexedFaceSet (  )  [protected, virtual]


Member Function Documentation

virtual int NodeIndexedFaceSet::getType (  )  const [inline, virtual]

Returns the Type of a Node in the Node subclasses(here pure virtual). E.g. for the NodeGroup it returns NODE_GROUP

Implements Node.

void NodeIndexedFaceSet::setField ( int  index,
FieldValue value 
) [virtual]

Sets the Field at that index with the specified FieldValue value. Special care is taken if the field is SF-MFNode.

Reimplemented from Node.

virtual Node* NodeIndexedFaceSet::copy (  )  const [inline, virtual]

Creates a new instance of that Node in the Node subclasses(here pure virtual).

Implements Node.

virtual int NodeIndexedFaceSet::getNodeClass (  )  const [inline, virtual]

Returns a NODE_CHILD as a node class (used to validate the scene)

Reimplemented from Node.


Member Data Documentation

MFVec3f* NodeIndexedFaceSet::_normals [protected]

MFInt32* NodeIndexedFaceSet::_normalIndex [protected]

bool NodeIndexedFaceSet::_normalsDirty [protected]

float NodeIndexedFaceSet::_creaseAngle [protected]


Generated on Thu Jan 18 10:06:19 2007 for vhdPLUS by  doxygen 1.5.1-p1