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

#include <albaSceneNode.h>

Collaboration diagram for albaSceneNode:
Collaboration graph
[legend]

Public Member Functions

 albaSceneNode (albaSceneGraph *sg, albaSceneNode *parent, albaVME *vme, vtkRenderer *renderFront, vtkRenderer *renderBack=NULL, vtkRenderer *alwaysVisibleRender=NULL)
 
virtual ~albaSceneNode ()
 
void Select (bool select)
 
void UpdateProperty (bool fromTag=false)
 
bool IsVisible ()
 
virtual void Print (std::ostream &os, const int tabs=0)
 
albaVMEGetVme () const
 
albaPipeGetPipe () const
 
void SetPipe (albaPipe *pipe)
 
void DeletePipe ()
 
vtkRenderer * GetRenFront () const
 
bool GetMutex () const
 
void SetMutex (bool mutex)
 
vtkALBAAssemblyGetAssemblyFront () const
 
vtkRenderer * GetRenBack () const
 
vtkALBAAssemblyGetAssemblyBack () const
 
vtkRenderer * GetAlwaysVisibleRenderer () const
 
vtkALBAAssemblyGetAlwaysVisibleAssembly () const
 
albaSceneNodeGetNext () const
 
void SetNext (albaSceneNode *next)
 
albaSceneGraphGetSceneGraph () const
 
bool GetPipeCreatable () const
 
void SetPipeCreatable (bool pipeCreatable)
 
void SetRenFront (vtkRenderer *renFront)
 

Protected Member Functions

void ChildShow ()
 
void ChildHide ()
 
void UpdateVisibility ()
 
void ModifyRootAssembly ()
 

Protected Attributes

albaPipem_Pipe
 
bool m_PipeCreatable
 
vtkRenderer * m_RenFront
 
int m_VisibleChildren
 
bool m_CurrentVisibility
 
bool m_Mutex
 
vtkALBAAssemblym_AssemblyFront
 
vtkRenderer * m_RenBack
 
vtkALBAAssemblym_AssemblyBack
 
vtkRenderer * m_AlwaysVisibleRenderer
 
vtkALBAAssemblym_AlwaysVisibleAssembly
 
albaSceneNodem_Next
 
albaSceneGraphm_Sg
 
albaVMEm_Vme
 
albaSceneNodem_Parent
 

Detailed Description

albaSceneNode is a node of albaScenegraph.

Definition at line 31 of file albaSceneNode.h.

Constructor & Destructor Documentation

◆ albaSceneNode()

albaSceneNode::albaSceneNode ( albaSceneGraph sg,
albaSceneNode parent,
albaVME vme,
vtkRenderer *  renderFront,
vtkRenderer *  renderBack = NULL,
vtkRenderer *  alwaysVisibleRender = NULL 
)

◆ ~albaSceneNode()

virtual albaSceneNode::~albaSceneNode ( )
virtual

Member Function Documentation

◆ Select()

void albaSceneNode::Select ( bool  select)

Call Select method for the vme's pipe.

◆ UpdateProperty()

void albaSceneNode::UpdateProperty ( bool  fromTag = false)

Call UpdateProperty method for the vme's pipe.

◆ IsVisible()

bool albaSceneNode::IsVisible ( )
inline

Return the vme's visibility.

Definition at line 44 of file albaSceneNode.h.

◆ Print()

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

print a dump of this object

◆ GetVme()

albaVME * albaSceneNode::GetVme ( ) const
inline

Returns Vme.

Definition at line 50 of file albaSceneNode.h.

◆ GetPipe()

albaPipe * albaSceneNode::GetPipe ( ) const

Returns Pipe.

◆ SetPipe()

void albaSceneNode::SetPipe ( albaPipe pipe)

Sets Pipe.

◆ DeletePipe()

void albaSceneNode::DeletePipe ( )

Deletes current Pipe.

◆ GetRenFront()

vtkRenderer * albaSceneNode::GetRenFront ( ) const
inline

Returns RenFront.

Definition at line 62 of file albaSceneNode.h.

◆ GetMutex()

bool albaSceneNode::GetMutex ( ) const
inline

Returns Mutex.

Definition at line 65 of file albaSceneNode.h.

◆ SetMutex()

void albaSceneNode::SetMutex ( bool  mutex)
inline

Sets Mutex.

Definition at line 68 of file albaSceneNode.h.

◆ GetAssemblyFront()

vtkALBAAssembly * albaSceneNode::GetAssemblyFront ( ) const
inline

Returns AssemblyFront.

Definition at line 71 of file albaSceneNode.h.

◆ GetRenBack()

vtkRenderer * albaSceneNode::GetRenBack ( ) const
inline

Returns RenBack.

Definition at line 74 of file albaSceneNode.h.

◆ GetAssemblyBack()

vtkALBAAssembly * albaSceneNode::GetAssemblyBack ( ) const
inline

Returns AssemblyBack.

Definition at line 77 of file albaSceneNode.h.

◆ GetAlwaysVisibleRenderer()

vtkRenderer * albaSceneNode::GetAlwaysVisibleRenderer ( ) const
inline

Returns AlwaysVisibleRenderer.

Definition at line 80 of file albaSceneNode.h.

◆ GetAlwaysVisibleAssembly()

vtkALBAAssembly * albaSceneNode::GetAlwaysVisibleAssembly ( ) const
inline

Returns AlwaysVisibleAssembly.

Definition at line 83 of file albaSceneNode.h.

◆ GetNext()

albaSceneNode * albaSceneNode::GetNext ( ) const
inline

Returns Next.

Definition at line 86 of file albaSceneNode.h.

◆ SetNext()

void albaSceneNode::SetNext ( albaSceneNode next)
inline

Sets Next.

Definition at line 89 of file albaSceneNode.h.

◆ GetSceneGraph()

albaSceneGraph * albaSceneNode::GetSceneGraph ( ) const
inline

Returns Sg.

Definition at line 92 of file albaSceneNode.h.

◆ GetPipeCreatable()

bool albaSceneNode::GetPipeCreatable ( ) const
inline

Returns PipeCreatable.

Definition at line 95 of file albaSceneNode.h.

◆ SetPipeCreatable()

void albaSceneNode::SetPipeCreatable ( bool  pipeCreatable)
inline

Sets PipeCreatable.

Definition at line 98 of file albaSceneNode.h.

◆ SetRenFront()

void albaSceneNode::SetRenFront ( vtkRenderer *  renFront)
inline

Sets RenFront.

Definition at line 101 of file albaSceneNode.h.

◆ ChildShow()

void albaSceneNode::ChildShow ( )
protected

Called from child on show, if the visibility is updated ChildShow is called on parent.

◆ ChildHide()

void albaSceneNode::ChildHide ( )
protected

Called from child on hide, if the visibility is updated ChildHide is called on parent.

◆ UpdateVisibility()

void albaSceneNode::UpdateVisibility ( )
protected

callen onhow/hide childShow/childHide to update local visibility and forward up the changes

◆ ModifyRootAssembly()

void albaSceneNode::ModifyRootAssembly ( )
protected

Called on changes when a node is show/hided to notify assemby to recreate internal structures.

Member Data Documentation

◆ m_Pipe

albaPipe* albaSceneNode::m_Pipe
protected

Definition at line 117 of file albaSceneNode.h.

◆ m_PipeCreatable

bool albaSceneNode::m_PipeCreatable
protected

Definition at line 118 of file albaSceneNode.h.

◆ m_RenFront

vtkRenderer* albaSceneNode::m_RenFront
protected

Definition at line 119 of file albaSceneNode.h.

◆ m_VisibleChildren

int albaSceneNode::m_VisibleChildren
protected

Definition at line 120 of file albaSceneNode.h.

◆ m_CurrentVisibility

bool albaSceneNode::m_CurrentVisibility
protected

Definition at line 121 of file albaSceneNode.h.

◆ m_Mutex

bool albaSceneNode::m_Mutex
protected

Definition at line 122 of file albaSceneNode.h.

◆ m_AssemblyFront

vtkALBAAssembly* albaSceneNode::m_AssemblyFront
protected

Definition at line 124 of file albaSceneNode.h.

◆ m_RenBack

vtkRenderer* albaSceneNode::m_RenBack
protected

Definition at line 125 of file albaSceneNode.h.

◆ m_AssemblyBack

vtkALBAAssembly* albaSceneNode::m_AssemblyBack
protected

Definition at line 126 of file albaSceneNode.h.

◆ m_AlwaysVisibleRenderer

vtkRenderer* albaSceneNode::m_AlwaysVisibleRenderer
protected

Definition at line 127 of file albaSceneNode.h.

◆ m_AlwaysVisibleAssembly

vtkALBAAssembly* albaSceneNode::m_AlwaysVisibleAssembly
protected

Definition at line 128 of file albaSceneNode.h.

◆ m_Next

albaSceneNode* albaSceneNode::m_Next
protected

Definition at line 129 of file albaSceneNode.h.

◆ m_Sg

albaSceneGraph* albaSceneNode::m_Sg
protected

Definition at line 131 of file albaSceneNode.h.

◆ m_Vme

albaVME* albaSceneNode::m_Vme
protected

Definition at line 132 of file albaSceneNode.h.

◆ m_Parent

albaSceneNode* albaSceneNode::m_Parent
protected

Definition at line 133 of file albaSceneNode.h.


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