Public Member Functions |
| | LWNode (NodeID _id=0) |
| virtual | ~LWNode () |
| LWChanGroupID | chanGrp () |
| void | disconnect (LWNodeInput *nid) |
| NodeInputID | firstInput (void) |
| NodeOutputID | firstOutput (void) |
| NodeID | getID (void) |
| ConnectionType | getType (NodeValue val) |
| void * | getValue (NodeValue val) |
| NodeInputID | inputByIndex (int n) |
| int | inputGetIndex (NodeInputID nid) |
| const char * | nodeName () |
| int | numInputs (void) |
| int | numOutputs (void) |
| NodeOutputID | outputByIndex (int n) |
| int | outputGetIndex (NodeOutputID nid) |
| const char * | serverUserName () |
| void | setID (NodeID _id) |
| void | setNodeColor (int col[3]) |
| | Set the GUI colours for this node.
|
| void | setNodeColor (int r, int g, int b) |
| | Set the GUI colours for this node.
|
| void | setNodePreviewType (NodePreviewType type) |
| void | UpdateNodePreview () |
| | Immediately update the preview for this node.
|
|
|
| LWNodeOutput * | addColorOutput (const std::string name="Color") |
| LWNodeOutput * | addColourOutput (const std::string name="Colour") |
| LWNodeOutput * | addScalarOutput (const std::string name="Scalar") |
| LWNodeOutput * | addVectorOutput (const std::string name="Vector") |
| LWNodeOutput * | addIntegerOutput (const std::string name="Integer") |
| LWNodeOutput * | addFunctionOutput (const std::string name="Function") |
| LWNodeOutput * | addMaterialOutput (const std::string name="Material") |
|
Adding node outputs that are managed by std::auto_ptr
|
| auto_NodeOutput | autoColorOutput (const std::string name="Color") |
| auto_NodeOutput | autoColourOutput (const std::string name="Colour") |
| auto_NodeOutput | autoScalarOutput (const std::string name="Scalar") |
| auto_NodeOutput | autoVectorOutput (const std::string name="Vector") |
| auto_NodeOutput | autoIntegerOutput (const std::string name="Integer") |
| auto_NodeOutput | autoFunctionOutput (const std::string name="Function") |
| auto_NodeOutput | autoMaterialOutput (const std::string name="Material") |
|
These functions can only be called in evaluate.
|
| void | setValue (NodeValue val, double *v) |
| void | setValue (NodeValue val, LWDVector *v) |
| void | setValue (NodeValue val, double a, double b, double c) |
| void | setValue (NodeValue val, float v[3]) |
| void | setValue (NodeValue val, float v) |
| void | setValue (NodeValue val, double v) |
| void | setValue (NodeValue val, int *v) |
| void | setValue (NodeValue val, unsigned int *v) |
| void | setValue (NodeValue val, bool v) |
| void | setValue (NodeValue val, LWNodalMaterial *material) |
| void | setValue (NodeValue val, Vector3d &v) |
|
Functions to add node inputs
|
| LWNodeInput * | addColorInput (const std::string name="Color", NodeInputEvent *inp_event=0) |
| LWNodeInput * | addColourInput (const std::string name="Colour", NodeInputEvent *inp_event=0) |
| LWNodeInput * | addScalarInput (const std::string name="Scalar", NodeInputEvent *inp_event=0) |
| LWNodeInput * | addVectorInput (const std::string name="Vector", NodeInputEvent *inp_event=0) |
| LWNodeInput * | addIntegerInput (const std::string name="Integer", NodeInputEvent *inp_event=0) |
| LWNodeInput * | addFunctionInput (const std::string name="Function", NodeInputEvent *inp_event=0) |
| LWNodeInput * | addMaterialInput (const std::string name="Material", NodeInputEvent *inp_event=0) |