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

#include <albaPipe.h>

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

Public Types

enum  VISUAL_PIPE_WIDGET_ID { ID_FIRST = MINID , ID_LAST }
 

Public Member Functions

 albaTypeMacro (albaPipe, albaObject)
 
 albaPipe ()
 
virtual ~albaPipe ()
 
virtual void OnEvent (albaEventBase *alba_event)
 
virtual void Create (albaSceneNode *n)
 
void SetListener (albaObserver *listener)
 
virtual void Select (bool select)
 
virtual void UpdateProperty (bool fromTag=false)
 
virtual vtkALBAAssemblyGetAssemblyFront ()
 
virtual vtkALBAAssemblyGetAssemblyBack ()
 
albaGUIGetGui ()
 
void DeleteGui ()
 
albaObserverGetListener ()
 
- Public Member Functions inherited from albaObject
 albaObject ()
 
virtual ~albaObject ()
 
virtual void Delete ()
 
virtual const char * GetTypeName () const
 
virtual bool IsA (const char *type_name) const
 
virtual bool IsA (const albaTypeID &type_id) const
 
virtual albaObjectNewObjectInstance () const =0
 
virtual const albaTypeIDGetTypeId () const
 
virtual void Print (std::ostream &os, const int indent=0) const
 
 albaObject (const albaObject &c)
 
- Public Member Functions inherited from albaObserver
 albaObserver ()
 
virtual ~albaObserver ()
 
virtual void OnEvent (albaEventBase *e)=0
 

Public Attributes

albaGUIm_Gui
 
albaVMEm_Vme
 
vtkALBAAssemblym_AssemblyFront
 
vtkALBAAssemblym_AssemblyBack
 
vtkALBAAssemblym_AlwaysVisibleAssembly
 
albaSceneGraphm_Sg
 
bool m_Selected
 
vtkRenderer * m_RenFront
 
vtkRenderer * m_RenBack
 
vtkRenderer * m_AlwaysVisibleRenderer
 

Protected Member Functions

virtual albaGUICreateGui ()
 

Protected Attributes

albaObserverm_Listener
 
- Protected Attributes inherited from albaObject
bool m_HeapFlag
 

Additional Inherited Members

- Static Public Member Functions inherited from albaObject
static const char * GetStaticTypeName ()
 
static bool IsStaticType (const char *type_name)
 
static bool IsStaticType (const albaTypeID &type_id)
 
static const albaTypeIDGetStaticTypeId ()
 
static albaObjectSafeDownCast (albaObject *o)
 

Detailed Description

Definition at line 49 of file albaPipe.h.

Member Enumeration Documentation

◆ VISUAL_PIPE_WIDGET_ID

IDs for the GUI.

Enumerator
ID_FIRST 
ID_LAST 

Definition at line 76 of file albaPipe.h.

Constructor & Destructor Documentation

◆ albaPipe()

albaPipe::albaPipe ( )

◆ ~albaPipe()

virtual albaPipe::~albaPipe ( )
virtual

Member Function Documentation

◆ albaTypeMacro()

albaPipe::albaTypeMacro ( albaPipe  ,
albaObject   
)

◆ OnEvent()

virtual void albaPipe::OnEvent ( albaEventBase alba_event)
inlinevirtual

process events coming from gui

Implements albaObserver.

Reimplemented in albaPipeBox.

Definition at line 58 of file albaPipe.h.

◆ Create()

virtual void albaPipe::Create ( albaSceneNode n)
virtual

The real setup must be performed here - not in the ctor.

Reimplemented in albaPipeBox.

◆ SetListener()

void albaPipe::SetListener ( albaObserver listener)
inline

Definition at line 63 of file albaPipe.h.

◆ Select()

virtual void albaPipe::Select ( bool  select)
inlinevirtual

Change the visibility of the bounding box actor representing the selection for the vme.

Reimplemented in albaPipeBox.

Definition at line 66 of file albaPipe.h.

◆ UpdateProperty()

virtual void albaPipe::UpdateProperty ( bool  fromTag = false)
inlinevirtual

Update the properties.

Reimplemented in albaPipeBox.

Definition at line 69 of file albaPipe.h.

◆ GetAssemblyFront()

virtual vtkALBAAssembly * albaPipe::GetAssemblyFront ( )
inlinevirtual

Get assembly front/back.

Definition at line 72 of file albaPipe.h.

◆ GetAssemblyBack()

virtual vtkALBAAssembly * albaPipe::GetAssemblyBack ( )
inlinevirtual

Definition at line 73 of file albaPipe.h.

◆ GetGui()

albaGUI * albaPipe::GetGui ( )
inline

create and return the GUI for changing the node parameters

Definition at line 83 of file albaPipe.h.

◆ DeleteGui()

void albaPipe::DeleteGui ( )

destroy the Gui

◆ GetListener()

albaObserver * albaPipe::GetListener ( )
inline

Definition at line 94 of file albaPipe.h.

◆ CreateGui()

virtual albaGUI * albaPipe::CreateGui ( )
protectedvirtual

< Renderer used to superimpose utility stuff to main render window

Internally used to create a new instance of the GUI. This function should be overridden by subclasses to create specialized GUIs. Each subclass should append its own widgets and define the enum of IDs for the widgets as an extension of the superclass enum. The last id value must be defined as "LAST_ID" to allow the subclass to continue the ID enumeration from it. For appending the widgets in the same panel GUI, each CreateGUI() function should first call the superclass' one.

Reimplemented in albaPipeBox.

Member Data Documentation

◆ m_Gui

albaGUI* albaPipe::m_Gui

User Interface.

Definition at line 96 of file albaPipe.h.

◆ m_Vme

albaVME* albaPipe::m_Vme

VME used as input for the visual pipe.

Definition at line 97 of file albaPipe.h.

◆ m_AssemblyFront

vtkALBAAssembly* albaPipe::m_AssemblyFront

Assembly used to contain the actor in the front layer.

Definition at line 98 of file albaPipe.h.

◆ m_AssemblyBack

vtkALBAAssembly* albaPipe::m_AssemblyBack

Assembly used to contain the actor in the background layer.

Definition at line 99 of file albaPipe.h.

◆ m_AlwaysVisibleAssembly

vtkALBAAssembly* albaPipe::m_AlwaysVisibleAssembly

Definition at line 100 of file albaPipe.h.

◆ m_Sg

albaSceneGraph* albaPipe::m_Sg

Pointer to the SceneGraph.

Definition at line 101 of file albaPipe.h.

◆ m_Selected

bool albaPipe::m_Selected

Flag used to say if the rendered VME is selected.

Definition at line 102 of file albaPipe.h.

◆ m_RenFront

vtkRenderer* albaPipe::m_RenFront

Renderer associated to the front layer.

Definition at line 103 of file albaPipe.h.

◆ m_RenBack

vtkRenderer* albaPipe::m_RenBack

Renderer associated to the background layer.

Definition at line 104 of file albaPipe.h.

◆ m_AlwaysVisibleRenderer

vtkRenderer* albaPipe::m_AlwaysVisibleRenderer

Definition at line 105 of file albaPipe.h.

◆ m_Listener

albaObserver* albaPipe::m_Listener
protected

Definition at line 117 of file albaPipe.h.


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