#include <NodeSegment.h>
Inheritance diagram for NodeSegment:
Public Member Functions | |
NodeSegment (Scene *scene, Proto *proto) | |
virtual int | getType () const |
virtual Node * | copy () const |
virtual void | setField (int index, FieldValue *value) |
Protected Member Functions | |
virtual | ~NodeSegment () |
PROTO Segment [ exposedField SFString name "" exposedField SFFloat mass 0 exposedField SFVec3f centerOfMass 0 0 0 field SFVec3f bboxCenter 0 0 0 field SFVec3f bboxSize -1 -1 -1 exposedField MFNode children [ ] ]
NodeSegment::~NodeSegment | ( | ) | [protected, virtual] |
virtual int NodeSegment::getType | ( | ) | const [inline, virtual] |
virtual Node* NodeSegment::copy | ( | ) | const [inline, virtual] |
void NodeSegment::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.