ALBA
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
albaSceneGraph Class Reference

#include <albaSceneGraph.h>

Inheritance diagram for albaSceneGraph:
Inheritance graph
[legend]
Collaboration diagram for albaSceneGraph:
Collaboration graph
[legend]

Public Member Functions

 albaSceneGraph (albaView *view, vtkRenderer *ren1, vtkRenderer *ren2=NULL, vtkRenderer *ren3=NULL)
 
virtual ~albaSceneGraph ()
 
virtual void SetListener (albaObserver *Listener)
 
virtual void VmeAdd (albaVME *vme)
 
virtual void VmeRemove (albaVME *vme)
 
virtual void VmeSelect (albaVME *vme, bool select)
 
virtual void VmeShow (albaVME *vme, bool show)
 
virtual void VmeShowByType (albaVME *vme, bool show)
 
virtual void VmeShowSubTree (albaVME *vme, bool show)
 
virtual void VmeUpdateProperty (albaVME *vme, bool fromTag=false)
 
virtual albaSceneNodeVme2Node (albaVME *vme)
 
albaSceneNodeGetNodeList ()
 
virtual albaVMEGetSelectedVme ()
 
virtual int GetNodeStatus (albaVME *node)
 
virtual void Print (std::ostream &os, const int tabs=0)
 

Public Attributes

vtkRenderer * m_RenFront
 
vtkRenderer * m_RenBack
 
vtkRenderer * m_AlwaysVisibleRenderer
 
albaViewm_View
 

Protected Member Functions

virtual void DeleteNodeList (albaSceneNode *n)
 
albaSceneNodeNodeAdd (albaVME *vme)
 

Protected Attributes

albaSceneNodem_List
 
albaObserverm_Listener
 
albaGUIm_Gui
 
albaVMEm_SelectedVme
 

Detailed Description

Definition at line 39 of file albaSceneGraph.h.

Constructor & Destructor Documentation

◆ albaSceneGraph()

albaSceneGraph::albaSceneGraph ( albaView view,
vtkRenderer *  ren1,
vtkRenderer *  ren2 = NULL,
vtkRenderer *  ren3 = NULL 
)

◆ ~albaSceneGraph()

virtual albaSceneGraph::~albaSceneGraph ( )
virtual

Member Function Documentation

◆ SetListener()

virtual void albaSceneGraph::SetListener ( albaObserver Listener)
inlinevirtual

Definition at line 44 of file albaSceneGraph.h.

◆ VmeAdd()

virtual void albaSceneGraph::VmeAdd ( albaVME vme)
virtual

Add a vme to the scene graph.

◆ VmeRemove()

virtual void albaSceneGraph::VmeRemove ( albaVME vme)
virtual

Remove a vme from the scene graph.

◆ VmeSelect()

virtual void albaSceneGraph::VmeSelect ( albaVME vme,
bool  select 
)
virtual

Select a vme and store a reference to it into m_SelectedVme variable.

◆ VmeShow()

virtual void albaSceneGraph::VmeShow ( albaVME vme,
bool  show 
)
virtual

Change the visibility of the vme and if necessary create the vme related pipe.

◆ VmeShowByType()

virtual void albaSceneGraph::VmeShowByType ( albaVME vme,
bool  show 
)
virtual

Show/Hide the Vme with the same type of the passed vme.

◆ VmeShowSubTree()

virtual void albaSceneGraph::VmeShowSubTree ( albaVME vme,
bool  show 
)
virtual

Show all the vme subtree.

◆ VmeUpdateProperty()

virtual void albaSceneGraph::VmeUpdateProperty ( albaVME vme,
bool  fromTag = false 
)
virtual

Update the vme's properties.

◆ Vme2Node()

virtual albaSceneNode * albaSceneGraph::Vme2Node ( albaVME vme)
virtual

Find the corresponding vme's node.

◆ GetNodeList()

albaSceneNode * albaSceneGraph::GetNodeList ( )
inline

Return the list of node that are added to the view.

Definition at line 72 of file albaSceneGraph.h.

◆ GetSelectedVme()

virtual albaVME * albaSceneGraph::GetSelectedVme ( )
inlinevirtual

Return the selected vme.

Definition at line 82 of file albaSceneGraph.h.

◆ GetNodeStatus()

virtual int albaSceneGraph::GetNodeStatus ( albaVME node)
virtual

Used by the albaGUICheckTree - return the status of a SceneNode.

◆ Print()

virtual void albaSceneGraph::Print ( std::ostream &  os,
const int  tabs = 0 
)
virtual

print a dump of this object

◆ DeleteNodeList()

virtual void albaSceneGraph::DeleteNodeList ( albaSceneNode n)
protectedvirtual

recursively kill all node - starting from the tail of the list.

◆ NodeAdd()

albaSceneNode * albaSceneGraph::NodeAdd ( albaVME vme)
protected

Member Data Documentation

◆ m_RenFront

vtkRenderer* albaSceneGraph::m_RenFront

pointer to the front renderer

Definition at line 74 of file albaSceneGraph.h.

◆ m_RenBack

vtkRenderer* albaSceneGraph::m_RenBack

pointer to the back renderer

Definition at line 75 of file albaSceneGraph.h.

◆ m_AlwaysVisibleRenderer

vtkRenderer* albaSceneGraph::m_AlwaysVisibleRenderer

Definition at line 76 of file albaSceneGraph.h.

◆ m_View

albaView* albaSceneGraph::m_View

< Renderer used to superimpose utility stuff to main render window

pointer to the view

Definition at line 78 of file albaSceneGraph.h.

◆ m_List

albaSceneNode* albaSceneGraph::m_List
protected

list of visualized node

Definition at line 98 of file albaSceneGraph.h.

◆ m_Listener

albaObserver* albaSceneGraph::m_Listener
protected

Definition at line 99 of file albaSceneGraph.h.

◆ m_Gui

albaGUI* albaSceneGraph::m_Gui
protected

Definition at line 100 of file albaSceneGraph.h.

◆ m_SelectedVme

albaVME* albaSceneGraph::m_SelectedVme
protected

Definition at line 101 of file albaSceneGraph.h.


The documentation for this class was generated from the following file: