Mudbox/treenode.h Source File
Go to the documentation of this file.
25 virtual void Serialize(
Stream &
s );
28 virtual void AddChild(
TreeNode *pChild,
bool bFirst =
false )
const;
30 virtual void RemoveChild(
TreeNode *pChild )
const;
32 virtual TreeNode *FirstChild(
void )
const;
34 virtual TreeNode *Parent(
void )
const;
36 virtual TreeNode *NextSibling(
void )
const;
38 virtual TreeNode *PrevSibling(
void )
const;
43 virtual TreeNode *ChildByClass(
const ClassDesc *pClass,
bool bAutoCreate =
true )
const;
45 template <
typename type >
48 virtual TreeNode *ChildByClass(
const ClassDesc *pClass,
unsigned int iIndex = 0 )
const;
50 template <
typename type >
53 virtual void DeleteChildByClass(
const ClassDesc *pClass );
56 virtual QString Info(
void )
const;
58 virtual bool Visible(
void )
const;
60 virtual void SetVisible(
bool b );
62 virtual bool Locked(
void )
const;
64 virtual void SetLocked(
bool b );
66 virtual bool HiddenFromUI(
void )
const;
68 virtual void SetHiddenFromUI(
bool b );
71 virtual void OnLinked(
const TreeNode *pOldParent );
83 virtual void SetStringID(
const QString &sName );
85 virtual void CopyTo(
Node *pNode )
const;
88 mutable aptr<TreeNode> m_pNext;
89 mutable aptr<TreeNode> m_pPrev;
90 mutable aptr<TreeNode> m_pParent;
91 mutable aptr<TreeNode> m_pChildren;
92 abool m_bVisible, m_bLocked, m_bHiddenFromUI;
GLuint GLuint GLsizei GLenum type
This is the base class for most classes in the Mudbox SDK.
type * ChildByClass(bool bAutoCreate=true) const
Same as above, a most confortable version.
This structure represents and describes a class.
DiagnosticLevel
Indicates the level of validity checking that is performed in CheckValidity()
type * ChildByClass(unsigned int iIndex=0) const
Same as above, a most confortable version.
Class: ConvolutionKernel.
This class is the base of all node types that can be structured in a hierarchy.
Streams are used to read information from a file, or to write it to a file.