16#ifndef __albaSceneNode_H__
17#define __albaSceneNode_H__
47 virtual void Print(std::ostream& os,
const int tabs=0);
101 void SetRenFront(vtkRenderer * renFront) { m_RenFront = renFront; }
albaSceneNode is a node of albaScenegraph.
void SetRenFront(vtkRenderer *renFront)
Sets RenFront.
void UpdateVisibility()
callen onhow/hide childShow/childHide to update local visibility and forward up the changes
void SetPipe(albaPipe *pipe)
Sets Pipe.
vtkRenderer * GetAlwaysVisibleRenderer() const
Returns AlwaysVisibleRenderer.
bool GetPipeCreatable() const
Returns PipeCreatable.
void ModifyRootAssembly()
Called on changes when a node is show/hided to notify assemby to recreate internal structures.
void Select(bool select)
Call Select method for the vme's pipe.
vtkALBAAssembly * m_AlwaysVisibleAssembly
vtkALBAAssembly * GetAlwaysVisibleAssembly() const
Returns AlwaysVisibleAssembly.
vtkRenderer * GetRenBack() const
Returns RenBack.
void ChildShow()
Called from child on show, if the visibility is updated ChildShow is called on parent.
vtkALBAAssembly * m_AssemblyFront
void SetMutex(bool mutex)
Sets Mutex.
albaVME * GetVme() const
Returns Vme.
albaPipe * GetPipe() const
Returns Pipe.
virtual void Print(std::ostream &os, const int tabs=0)
print a dump of this object
void SetPipeCreatable(bool pipeCreatable)
Sets PipeCreatable.
vtkALBAAssembly * m_AssemblyBack
void SetNext(albaSceneNode *next)
Sets Next.
vtkALBAAssembly * GetAssemblyBack() const
Returns AssemblyBack.
void DeletePipe()
Deletes current Pipe.
vtkRenderer * GetRenFront() const
Returns RenFront.
bool GetMutex() const
Returns Mutex.
albaSceneGraph * GetSceneGraph() const
Returns Sg.
vtkRenderer * m_AlwaysVisibleRenderer
albaSceneNode * GetNext() const
Returns Next.
bool IsVisible()
Return the vme's visibility.
void UpdateProperty(bool fromTag=false)
Call UpdateProperty method for the vme's pipe.
albaSceneNode(albaSceneGraph *sg, albaSceneNode *parent, albaVME *vme, vtkRenderer *renderFront, vtkRenderer *renderBack=NULL, vtkRenderer *alwaysVisibleRender=NULL)
void ChildHide()
Called from child on hide, if the visibility is updated ChildHide is called on parent.
vtkALBAAssembly * GetAssemblyFront() const
Returns AssemblyFront.
create hierarchies of vtkProp3Ds (transformable props) vtkALBAAssembly same as vtkAssembly,...