|
LightWrap++
AC++wrapperfortheLightWave3DSDK
|
#include <nodeeditor.h>
Inheritance diagram for lwpp::NodeEditor:
Collaboration diagram for lwpp::NodeEditor:Public Member Functions | |
| NodeEditor (NodeEditorID id=0, bool destroy=false) | |
| NodeEditor (const std::string rootName, const std::string panelTitle, RootNode *rn, NodePreviewType previewType=NPT_RENDER, bool destroy=true) | |
| ~NodeEditor () | |
| void | cleanup () |
| LWError | copy (NodeEditorID from) |
| bool | create (const std::string rootName, const std::string panelTitle, RootNode *rn, NodePreviewType previewType=NPT_RENDER) |
| void | destroy () |
| NodeEditorID | getId () const |
| NodeInputID | getInputByIndex (int idx) |
| NodeInputID | getInputByName (const std::string name) |
| NodeID | getRootNodeID () |
| const unsigned short | getState () const |
| template<typename T > | |
| T * | getUserData () |
| LWError | init (int renderMode) |
| bool | isOpenNodeEditor () |
| virtual LWError | Load (const LoadState &ls) |
| Load data from a LWLoadState. | |
| LWError | newTime (LWFrame frame, LWTime time) |
| const int | numberOfNodes () const |
| bool | OpenNodeEditor () |
| NodeEditor & | operator= (const NodeEditor &from) |
| void | rename (const std::string newName) |
| virtual LWError | Save (const SaveState &ss) |
| Save data to a LWSaveState. | |
| void | setAutosize (nodeAutoSizeFunc *func) |
| void | setEnvGroup (LWChanGroupID cId) |
| void | setState (unsigned short int state) |
| void | setUpdateFunc (nodeEditorUpdateFunc *func) |
| void | setUserData (void *data) |
Node Inputs | |
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) |
Protected Member Functions | |
| bool | _acquireGlobal () |
| LWNodeInput * | addInput (ConnectionType type, const std::string name, NodeInputEvent *inp_event) |
| virtual bool | available () const |
| Check if the global is available. | |
| virtual LWNodeEditorFuncs * | getGlobal () |
| Get the pointer to the global. | |
| LWNodeEditorFuncs * | operator-> () |
| Get the pointer to the global. | |
Protected Attributes | |
| bool | do_destroy |
| NodeEditorID | mId |
| LWRootNode | mRootNode |
Static Protected Attributes | |
| static LWNodeEditorFuncs * | globPtr |
| Pointer to the global functions. | |
|
inline |
|
inline |
|
inline |
|
inlineprotectedinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineprotectedvirtual |
Implements lwpp::NodeInputHelper.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlinevirtualinherited |
Check if the global is available.
|
inline |
|
inline |
| bool lwpp::NodeEditor::create | ( | const std::string | rootName, |
| const std::string | panelTitle, | ||
| RootNode * | rn, | ||
| NodePreviewType | previewType = NPT_RENDER |
||
| ) |
|
inline |
|
inlinevirtualinherited |
Get the pointer to the global.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Load data from a LWLoadState.
| *ls | LWLoadState to load from |
Reimplemented from lwpp::Storeable.
|
inline |
|
inline |
|
inline |
|
inlineinherited |
Get the pointer to the global.
|
inline |
|
inline |
|
inlinevirtual |
Save data to a LWSaveState.
| *ss | LWSaveState to save to |
Reimplemented from lwpp::Storeable.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
staticprotectedinherited |
Pointer to the global functions.
|
protected |
|
protected |