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

#include <albaPipeBox.h>

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

Public Types

enum  PIPE_BOX_WIDGET_ID { ID_BOUNDS_MODE = Superclass::ID_LAST , ID_LAST }
 
enum  BOUNDS_MODE { BOUNDS_3D = 0 , BOUNDS_4D , BOUNDS_3D_SUBTREE , BOUNDS_4D_SUBTREE }
 
- Public Types inherited from albaPipe
enum  VISUAL_PIPE_WIDGET_ID { ID_FIRST = MINID , ID_LAST }
 

Public Member Functions

 albaTypeMacro (albaPipeBox, albaPipe)
 
 albaPipeBox ()
 
virtual ~albaPipeBox ()
 
virtual void OnEvent (albaEventBase *alba_event)
 
virtual void Create (albaSceneNode *n)
 
virtual void Select (bool select)
 
void SetBoundsMode (int mode)
 
int GetBoundsMode ()
 
- Public Member Functions inherited from albaPipe
 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
 

Protected Member Functions

void UpdateProperty (bool fromTag=false)
 
virtual albaGUICreateGui ()
 
virtual albaGUICreateGui ()
 

Protected Attributes

vtkOutlineSource * m_Box
 
vtkPolyDataMapper * m_Mapper
 
albaLODActorm_Actor
 
vtkOutlineCornerFilter * m_OutlineBox
 
vtkPolyDataMapper * m_OutlineMapper
 
vtkProperty * m_OutlineProperty
 
albaLODActorm_OutlineActor
 
albaAxesm_Axes
 
int m_BoundsMode
 
- Protected Attributes inherited from albaPipe
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)
 
- Public Attributes inherited from albaPipe
albaGUIm_Gui
 
albaVMEm_Vme
 
vtkALBAAssemblym_AssemblyFront
 
vtkALBAAssemblym_AssemblyBack
 
vtkALBAAssemblym_AlwaysVisibleAssembly
 
albaSceneGraphm_Sg
 
bool m_Selected
 
vtkRenderer * m_RenFront
 
vtkRenderer * m_RenBack
 
vtkRenderer * m_AlwaysVisibleRenderer
 

Detailed Description

Definition at line 34 of file albaPipeBox.h.

Member Enumeration Documentation

◆ PIPE_BOX_WIDGET_ID

IDs for the GUI.

Enumerator
ID_BOUNDS_MODE 
ID_LAST 

Definition at line 53 of file albaPipeBox.h.

◆ BOUNDS_MODE

Enumerator
BOUNDS_3D 
BOUNDS_4D 
BOUNDS_3D_SUBTREE 
BOUNDS_4D_SUBTREE 

Definition at line 59 of file albaPipeBox.h.

Constructor & Destructor Documentation

◆ albaPipeBox()

albaPipeBox::albaPipeBox ( )

◆ ~albaPipeBox()

virtual albaPipeBox::~albaPipeBox ( )
virtual

Member Function Documentation

◆ albaTypeMacro()

albaPipeBox::albaTypeMacro ( albaPipeBox  ,
albaPipe   
)

◆ OnEvent()

virtual void albaPipeBox::OnEvent ( albaEventBase alba_event)
virtual

process events coming from gui

Reimplemented from albaPipe.

◆ Create()

virtual void albaPipeBox::Create ( albaSceneNode n)
virtual

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

Reimplemented from albaPipe.

◆ Select()

virtual void albaPipeBox::Select ( bool  select)
virtual

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

Reimplemented from albaPipe.

◆ SetBoundsMode()

void albaPipeBox::SetBoundsMode ( int  mode)
inline

Definition at line 48 of file albaPipeBox.h.

◆ GetBoundsMode()

int albaPipeBox::GetBoundsMode ( )
inline

Definition at line 49 of file albaPipeBox.h.

◆ UpdateProperty()

void albaPipeBox::UpdateProperty ( bool  fromTag = false)
protectedvirtual

Update the properties.

Reimplemented from albaPipe.

◆ CreateGui()

virtual albaGUI * albaPipeBox::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 from albaPipe.

Member Data Documentation

◆ m_Box

vtkOutlineSource* albaPipeBox::m_Box
protected

Definition at line 69 of file albaPipeBox.h.

◆ m_Mapper

vtkPolyDataMapper* albaPipeBox::m_Mapper
protected

Definition at line 70 of file albaPipeBox.h.

◆ m_Actor

albaLODActor* albaPipeBox::m_Actor
protected

Definition at line 71 of file albaPipeBox.h.

◆ m_OutlineBox

vtkOutlineCornerFilter* albaPipeBox::m_OutlineBox
protected

Definition at line 72 of file albaPipeBox.h.

◆ m_OutlineMapper

vtkPolyDataMapper* albaPipeBox::m_OutlineMapper
protected

Definition at line 73 of file albaPipeBox.h.

◆ m_OutlineProperty

vtkProperty* albaPipeBox::m_OutlineProperty
protected

Definition at line 74 of file albaPipeBox.h.

◆ m_OutlineActor

albaLODActor* albaPipeBox::m_OutlineActor
protected

Definition at line 75 of file albaPipeBox.h.

◆ m_Axes

albaAxes* albaPipeBox::m_Axes
protected

Definition at line 76 of file albaPipeBox.h.

◆ m_BoundsMode

int albaPipeBox::m_BoundsMode
protected

Definition at line 78 of file albaPipeBox.h.


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