Home | Hierarchy | Members | Alphabetical | Related Pages |
#include <sfnode.h>
Public Member Functions | |
SFNode () | |
SFNode (Node *n) | |
SFNode & | operator= (Node *n) |
SFNode & | operator= (const SFNode n) |
operator Node * () const | |
Node * | node () const |
Node * | operator-> () const |
Static Public Member Functions | |
static const char * | typeName () |
static FieldTypeId | typeId () |
Friends | |
std::ostream & | operator<< (std::ostream &s, const SFNode &f) |
The SFNode field and event specifies a VRML node. The MFNode field and event specifies zero or more nodes. The following example illustrates valid syntax for an MFNode field, fooNode, defining four nodes:
fooNode [ Transform { translation 1 0 0 } DEF CUBE Box { } USE CUBE USE SOME_OTHER_NODE ]
The SFNode field and event may contain the keyword NULL to indicate that it is empty.
The initial value of an SFNode eventOut is NULL. The initial value of an MFNode eventOut is [ ].
SFNode | ( | ) | [inline] |
operator Node * | ( | ) | const [inline] |
Node * node | ( | ) | const [inline] |
Node * operator-> | ( | ) | const [inline] |
const char * typeName | ( | ) | [inline, static] |
FieldTypeId typeId | ( | ) | [inline, static] |
std::ostream& operator<< | ( | std::ostream & | s, | |
const SFNode & | f | |||
) | [friend] |
Generated on 5 Jan 2007 with
![]() |
|