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

#include <albaLightKit.h>

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

Classes

class  LightItem
 

Public Member Functions

 albaLightKit (wxWindow *parent, vtkRenderer *r, albaObserver *Listener=NULL)
 
 ~albaLightKit ()
 
void OnEvent (albaEventBase *alba_event)
 
void SetListener (albaObserver *Listener)
 
void CreateGui ()
 
albaGUIGetGui ()
 
- Public Member Functions inherited from albaObserver
 albaObserver ()
 
virtual ~albaObserver ()
 
virtual void OnEvent (albaEventBase *e)=0
 

Protected Member Functions

void AddLight ()
 
void RemoveLight (int sel)
 
void ParametersInit ()
 
void EnableWidget (bool enable)
 

Protected Attributes

albaObserverm_Listener
 
albaGUIButtonm_ButtonAdd
 
albaGUIButtonm_ButtonRemove
 
int m_LightCounter
 
wxListBox * m_LightList
 
LightItemm_SelectedLight
 
LightItemm_LightItemList [MAX_NUM_LIGHT]
 
double m_LightAzimuth
 
double m_LightElevation
 
double m_LightIntensity
 
int m_LightOnOff
 
wxColour m_LightColor
 
vtkRenderer * m_LightRenderer
 
wxWindow * m_LightParentPanel
 
albaGUIm_Gui
 

Detailed Description

Definition at line 43 of file albaLightKit.h.

Constructor & Destructor Documentation

◆ albaLightKit()

albaLightKit::albaLightKit ( wxWindow *  parent,
vtkRenderer *  r,
albaObserver Listener = NULL 
)

◆ ~albaLightKit()

albaLightKit::~albaLightKit ( )

Member Function Documentation

◆ OnEvent()

void albaLightKit::OnEvent ( albaEventBase e)
virtual

process the events sent by subjects

Implements albaObserver.

◆ SetListener()

void albaLightKit::SetListener ( albaObserver Listener)
inline

Definition at line 50 of file albaLightKit.h.

◆ CreateGui()

void albaLightKit::CreateGui ( )

◆ GetGui()

albaGUI * albaLightKit::GetGui ( )
inline

Returns the albaLightKit's GUI.

Definition at line 54 of file albaLightKit.h.

◆ AddLight()

void albaLightKit::AddLight ( )
protected

Add a light to the scene.

◆ RemoveLight()

void albaLightKit::RemoveLight ( int  sel)
protected

Remove the selected light (into the light list listbox) from the scene.

◆ ParametersInit()

void albaLightKit::ParametersInit ( )
protected

Initialize the interface's parameters.

◆ EnableWidget()

void albaLightKit::EnableWidget ( bool  enable)
protected

Enable-Disable interface's widgets.

Member Data Documentation

◆ m_Listener

albaObserver* albaLightKit::m_Listener
protected

Definition at line 81 of file albaLightKit.h.

◆ m_ButtonAdd

albaGUIButton* albaLightKit::m_ButtonAdd
protected

Definition at line 83 of file albaLightKit.h.

◆ m_ButtonRemove

albaGUIButton* albaLightKit::m_ButtonRemove
protected

Definition at line 84 of file albaLightKit.h.

◆ m_LightCounter

int albaLightKit::m_LightCounter
protected

Definition at line 86 of file albaLightKit.h.

◆ m_LightList

wxListBox* albaLightKit::m_LightList
protected

Definition at line 87 of file albaLightKit.h.

◆ m_SelectedLight

LightItem* albaLightKit::m_SelectedLight
protected

Definition at line 88 of file albaLightKit.h.

◆ m_LightItemList

LightItem* albaLightKit::m_LightItemList[MAX_NUM_LIGHT]
protected

Definition at line 89 of file albaLightKit.h.

◆ m_LightAzimuth

double albaLightKit::m_LightAzimuth
protected

Definition at line 90 of file albaLightKit.h.

◆ m_LightElevation

double albaLightKit::m_LightElevation
protected

Definition at line 91 of file albaLightKit.h.

◆ m_LightIntensity

double albaLightKit::m_LightIntensity
protected

Definition at line 92 of file albaLightKit.h.

◆ m_LightOnOff

int albaLightKit::m_LightOnOff
protected

Definition at line 93 of file albaLightKit.h.

◆ m_LightColor

wxColour albaLightKit::m_LightColor
protected

Definition at line 94 of file albaLightKit.h.

◆ m_LightRenderer

vtkRenderer* albaLightKit::m_LightRenderer
protected

Definition at line 96 of file albaLightKit.h.

◆ m_LightParentPanel

wxWindow* albaLightKit::m_LightParentPanel
protected

Definition at line 98 of file albaLightKit.h.

◆ m_Gui

albaGUI* albaLightKit::m_Gui
protected

Definition at line 99 of file albaLightKit.h.


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