#include <NodeDefBody.h>
Inheritance diagram for NodeDefBody:
Public Member Functions | |
NodeDefBody (Scene *scene, Proto *proto) | |
virtual int | getType () const |
virtual Node * | copy () const |
virtual void | setField (int index, FieldValue *value) |
Protected Member Functions | |
virtual | ~NodeDefBody () |
PROTO DefBody [ exposedField SFString name "Def" exposedField SFVec3f translation 0 0 0
exposedField SFFloat ambientIntensity 0.2 exposedField SFColor diffuseColor 0.8 0.8 0.8 exposedField SFColor emissiveColor 0 0 0 exposedField SFFloat shininess 0.2 exposedField SFColor specularColor 0 0 0 exposedField SFFloat transparency 0
exposedField SFInt32 NbContours 0 exposedField SFInt32 NbPoints 0 exposedField SFInt32 ExtrContour -1 exposedField SFInt32 FixedUpperDef 0 exposedField SFInt32 UpperDef 0 exposedField SFInt32 LowerDef 0
exposedField MFVec3f Points [] field MFInt32 PointsIndex [] ]
NodeDefBody::~NodeDefBody | ( | ) | [protected, virtual] |
virtual int NodeDefBody::getType | ( | ) | const [inline, virtual] |
virtual Node* NodeDefBody::copy | ( | ) | const [inline, virtual] |
void NodeDefBody::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.