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 | |
const char * | typeName () |
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 [ ].
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Generated on 24 Feb 2005 with version 1.3.9.1. |