|
ALBA
|
#include <albaGUIMaterialChooser.h>


Public Member Functions | |
| albaGUIMaterialChooser (wxString dialog_title="Material Chooser") | |
| ~albaGUIMaterialChooser () | |
| bool | ShowChooserDialog (albaVME *vme, bool remember_last_material=false) |
| mmaMaterial * | GetMaterial (int id) |
| void | OnEvent (albaEventBase *alba_event) |
| void | CreateDefaultLibrary () |
Public Member Functions inherited from albaObserver | |
| albaObserver () | |
| virtual | ~albaObserver () |
| virtual void | OnEvent (albaEventBase *e)=0 |
Protected Member Functions | |
| void | CreateGUI () |
| void | CreatePipe () |
| void | ClearList () |
| void | LoadLibraryFromFile () |
| void | StoreLibraryToFile () |
| void | AddMaterial () |
| void | RemoveMaterial () |
| void | SelectMaterial (long matPos) |
| void | SetFromMat (mmaMaterial *mat) |
Protected Attributes | |
| wxDialog * | m_Dialog |
| albaGUIListCtrlBitmap * | m_ListCtrlMaterial |
| albaGUI * | m_Gui |
| albaRWI * | m_RWI |
| std::vector< mmaMaterial * > | m_List |
| mmaMaterial * | m_ChoosedMaterial |
| long | m_ChoosedMaterialId |
| mmaMaterial * | m_VmeMaterial |
| albaVME * | m_Vme |
| vtkSphereSource * | m_Sphere |
| vtkProperty * | m_Property |
| vtkPolyDataMapper * | m_Mapper |
| vtkActor * | m_Actor |
| albaGUIButton * | m_OkButton |
| albaGUIButton * | m_CancelButton |
| albaGUIButton * | m_ApplyButton |
| albaString | m_MaterialName |
| wxColour | m_AmbientColor |
| double | m_AmbientIntensity |
| wxColour | m_DiffuseColor |
| double | m_DiffuseIntensity |
| wxColour | m_SpecularColor |
| double | m_SpecularIntensity |
| int | m_SpecularPower |
| double | m_Opacity |
| int | m_Wire |
| albaString | m_Filename |
albaMaterialChooser let the user Choose one of the predefined materials, but also edit material settings, or create a new one.
Definition at line 54 of file albaGUIMaterialChooser.h.
| albaGUIMaterialChooser::albaGUIMaterialChooser | ( | wxString | dialog_title = "Material Chooser" | ) |
| albaGUIMaterialChooser::~albaGUIMaterialChooser | ( | ) |
| bool albaGUIMaterialChooser::ShowChooserDialog | ( | albaVME * | vme, |
| bool | remember_last_material = false |
||
| ) |
Show in modal configuration the material editor.
| mmaMaterial * albaGUIMaterialChooser::GetMaterial | ( | int | id | ) |
|
virtual |
process the events sent by subjects
Implements albaObserver.
| void albaGUIMaterialChooser::CreateDefaultLibrary | ( | ) |
Create the default material library.
|
protected |
Create the dialog that show the interface for materials.
|
protected |
Create the pipeline showing the colored spheres.
|
protected |
Delete the material list.
|
protected |
Load material library from file.
|
protected |
Store material library to file.
|
protected |
Store the current settings as a new material.
|
protected |
remove choosed material from the list.
|
protected |
Copy choosed material on vme properties.
|
protected |
|
protected |
Definition at line 98 of file albaGUIMaterialChooser.h.
|
protected |
Definition at line 99 of file albaGUIMaterialChooser.h.
|
protected |
Definition at line 100 of file albaGUIMaterialChooser.h.
|
protected |
Definition at line 101 of file albaGUIMaterialChooser.h.
|
protected |
Definition at line 103 of file albaGUIMaterialChooser.h.
|
protected |
Definition at line 104 of file albaGUIMaterialChooser.h.
|
protected |
Definition at line 105 of file albaGUIMaterialChooser.h.
|
protected |
Definition at line 106 of file albaGUIMaterialChooser.h.
|
protected |
Definition at line 107 of file albaGUIMaterialChooser.h.
|
protected |
Definition at line 108 of file albaGUIMaterialChooser.h.
|
protected |
Definition at line 109 of file albaGUIMaterialChooser.h.
|
protected |
Definition at line 110 of file albaGUIMaterialChooser.h.
|
protected |
Definition at line 111 of file albaGUIMaterialChooser.h.
|
protected |
Definition at line 112 of file albaGUIMaterialChooser.h.
|
protected |
Definition at line 113 of file albaGUIMaterialChooser.h.
|
protected |
Definition at line 114 of file albaGUIMaterialChooser.h.
|
protected |
Definition at line 116 of file albaGUIMaterialChooser.h.
|
protected |
Definition at line 117 of file albaGUIMaterialChooser.h.
|
protected |
Definition at line 118 of file albaGUIMaterialChooser.h.
|
protected |
Definition at line 119 of file albaGUIMaterialChooser.h.
|
protected |
Definition at line 120 of file albaGUIMaterialChooser.h.
|
protected |
Definition at line 121 of file albaGUIMaterialChooser.h.
|
protected |
Definition at line 122 of file albaGUIMaterialChooser.h.
|
protected |
Definition at line 123 of file albaGUIMaterialChooser.h.
|
protected |
Definition at line 124 of file albaGUIMaterialChooser.h.
|
protected |
Definition at line 125 of file albaGUIMaterialChooser.h.
|
protected |
Definition at line 127 of file albaGUIMaterialChooser.h.