ALBA
Public Member Functions | Protected Types | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Friends | List of all members
albaGUIDialogTransferFunction2D Class Reference

#include <albaGUIDialogTransferFunction2D.h>

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

Public Member Functions

 albaGUIDialogTransferFunction2D ()
 
 ~albaGUIDialogTransferFunction2D ()
 
void ShowModal (albaVME *vme)
 
void OnEvent (albaEventBase *alba_event)
 
- Public Member Functions inherited from albaGUIDialog
 albaGUIDialog (const wxString &title, long style=albaCLOSEWINDOW|albaRESIZABLE|albaCLOSE)
 
virtual ~albaGUIDialog ()
 
void SetListener (albaObserver *Listener)
 
void OnEvent (albaEventBase *alba_event)
 
void Add (wxWindow *window, int option=0, int flag=wxEXPAND, int border=0)
 
void Add (albaGUI *window, int option=0, int flag=wxEXPAND, int border=0)
 
void Add (wxSizer *sizer, int option=0, int flag=wxEXPAND, int border=0)
 
bool Remove (wxWindow *window)
 
bool Remove (wxSizer *sizer)
 
int ShowModal ()
 
void EnableOk (bool enable)
 
void EnableCancel (bool enable)
 
void EnableClose (bool enable)
 
virtual void WXSetInitialFittingClientSize (int flags, wxSizer *sizer=NULL)
 
virtual void OnOK (wxCommandEvent &event)
 
virtual void OnCancel (wxCommandEvent &event)
 
virtual void OnCloseWindow (wxCloseEvent &event)
 
virtual void OnSize (wxSizeEvent &event)
 
- Public Member Functions inherited from albaObserver
 albaObserver ()
 
virtual ~albaObserver ()
 
virtual void OnEvent (albaEventBase *e)=0
 

Protected Types

enum  { PipeNotReady , PipeReady , PipePlugged }
 

Protected Member Functions

void CreateGUI ()
 
void ResizePreviewWindow ()
 
void InitializeControls ()
 
void SetControlsRange ()
 
void CreateWidgetList ()
 
void UpdatePreview ()
 
void LoadTransferFunction ()
 
void SaveTransferFunction ()
 
void UpdateWidgets ()
 
void OnIdle (wxIdleEvent &event)
 
void OnSize (wxSizeEvent &event)
 
void OnCommand (wxCommandEvent &event)
 
void OnMotion (wxMouseEvent &event)
 
void SetWidget (const tfWidget &widget)
 

Static Protected Member Functions

static VTK_THREAD_RETURN_TYPE CreatePipe (void *ptr)
 

Protected Attributes

albaVMEm_Vme
 
mmaVolumeMaterialm_Material
 
vtkVolumeProperty2 * m_VolumeProperty
 
vtkALBATransferFunction2D * m_TransferFunction
 
wxNotebook * m_PreviewBook
 
albaRWIBasem_SliceRwi
 
vtkRenderWindow * m_SliceWindow
 
vtkTextActor * m_WaitActor
 
vtkRenderer * m_SliceRenderer
 
vtkImageResample * m_SliceResampler
 
vtkImageMapper * m_SliceMapper
 
vtkALBAImageMapToWidgetColors * m_SliceFilter
 
vtkActor2D * m_SliceActor
 
albaRWIBasem_Rwi3D
 
vtkRenderer * m_Renderer3D
 
vtkRenderWindow * m_Window3D
 
vtkALBAAdaptiveVolumeMapper * m_Mapper3D
 
vtkVolume * m_Volume3D
 
albaRWIBasem_GraphRwi
 
vtkRenderer * m_GraphRenderer
 
vtkRenderWindow * m_GraphWindow
 
vtkWidgetActorm_WidgetActor
 
vtkCriticalSection * m_CriticalSection
 
tfWidget m_Widget
 
wxListBox * m_WidgetList
 
int m_CurrentWidget
 
int m_SliceNumber
 
albaGUIRangeSliderm_WindowingSlider
 
double m_SliceLevel
 
double m_SliceWinowing
 
wxString m_WidgetName
 
wxColour m_WidgetColor
 
wxString m_Filename
 
albaGUIRangeSliderm_ValueSlider
 
albaGUIRangeSliderm_GradientSlider
 
wxStatusBar * m_StatusBar
 
double m_DataRange [2]
 
double m_GradientRange [2]
 
bool m_DataReady
 
int m_SlicePipeStatus
 
int m_PipeStatus3D
 

Friends

class vtkInteractorStylePreviewImage
 
class vtkInteractorStyleWidget
 

Additional Inherited Members

- Public Attributes inherited from albaGUIDialog
wxBoxSizer * m_GuiSizer
 
wxBoxSizer * m_ButtonsSizer
 
wxBoxSizer * m_DialogSizer
 
wxButton * m_OkButton
 
wxButton * m_CancelButton
 
wxButton * m_CloseButton
 
albaObserverm_Listener
 

Detailed Description

This dialog is used to define a 2D transfer function to make a volume Ray Cast.

See also
vtkALBAAdaptiveVolumeRendering albaVisualPipeVolumeRayCasting

Definition at line 62 of file albaGUIDialogTransferFunction2D.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
protected
Enumerator
PipeNotReady 
PipeReady 
PipePlugged 

Definition at line 148 of file albaGUIDialogTransferFunction2D.h.

Constructor & Destructor Documentation

◆ albaGUIDialogTransferFunction2D()

albaGUIDialogTransferFunction2D::albaGUIDialogTransferFunction2D ( )

◆ ~albaGUIDialogTransferFunction2D()

albaGUIDialogTransferFunction2D::~albaGUIDialogTransferFunction2D ( )

Member Function Documentation

◆ ShowModal()

void albaGUIDialogTransferFunction2D::ShowModal ( albaVME vme)

◆ OnEvent()

void albaGUIDialogTransferFunction2D::OnEvent ( albaEventBase e)
virtual

process the events sent by subjects

Reimplemented from albaGUIDialog.

◆ CreateGUI()

void albaGUIDialogTransferFunction2D::CreateGUI ( )
protected

◆ ResizePreviewWindow()

void albaGUIDialogTransferFunction2D::ResizePreviewWindow ( )
protected

◆ InitializeControls()

void albaGUIDialogTransferFunction2D::InitializeControls ( )
protected

◆ SetControlsRange()

void albaGUIDialogTransferFunction2D::SetControlsRange ( )
protected

◆ CreateWidgetList()

void albaGUIDialogTransferFunction2D::CreateWidgetList ( )
protected

◆ UpdatePreview()

void albaGUIDialogTransferFunction2D::UpdatePreview ( )
protected

◆ LoadTransferFunction()

void albaGUIDialogTransferFunction2D::LoadTransferFunction ( )
protected

Load volume transfer function from vme tag.

◆ SaveTransferFunction()

void albaGUIDialogTransferFunction2D::SaveTransferFunction ( )
protected

Save volume transfer function to vme tag.

◆ UpdateWidgets()

void albaGUIDialogTransferFunction2D::UpdateWidgets ( )
protected

◆ OnIdle()

void albaGUIDialogTransferFunction2D::OnIdle ( wxIdleEvent &  event)
protected

◆ OnSize()

void albaGUIDialogTransferFunction2D::OnSize ( wxSizeEvent &  event)
inlineprotectedvirtual

Handle on size event.

Reimplemented from albaGUIDialog.

Definition at line 91 of file albaGUIDialogTransferFunction2D.h.

◆ OnCommand()

void albaGUIDialogTransferFunction2D::OnCommand ( wxCommandEvent &  event)
inlineprotected

Definition at line 92 of file albaGUIDialogTransferFunction2D.h.

References albaGUIDialog::OnEvent().

Here is the call graph for this function:

◆ OnMotion()

void albaGUIDialogTransferFunction2D::OnMotion ( wxMouseEvent &  event)
inlineprotected

Definition at line 93 of file albaGUIDialogTransferFunction2D.h.

◆ SetWidget()

void albaGUIDialogTransferFunction2D::SetWidget ( const tfWidget &  widget)
protected

◆ CreatePipe()

static VTK_THREAD_RETURN_TYPE albaGUIDialogTransferFunction2D::CreatePipe ( void *  ptr)
staticprotected

Friends And Related Function Documentation

◆ vtkInteractorStylePreviewImage

friend class vtkInteractorStylePreviewImage
friend

Definition at line 64 of file albaGUIDialogTransferFunction2D.h.

◆ vtkInteractorStyleWidget

friend class vtkInteractorStyleWidget
friend

Definition at line 65 of file albaGUIDialogTransferFunction2D.h.

Member Data Documentation

◆ m_Vme

albaVME* albaGUIDialogTransferFunction2D::m_Vme
protected

Definition at line 97 of file albaGUIDialogTransferFunction2D.h.

◆ m_Material

mmaVolumeMaterial* albaGUIDialogTransferFunction2D::m_Material
protected

Definition at line 98 of file albaGUIDialogTransferFunction2D.h.

◆ m_VolumeProperty

vtkVolumeProperty2* albaGUIDialogTransferFunction2D::m_VolumeProperty
protected

Definition at line 99 of file albaGUIDialogTransferFunction2D.h.

◆ m_TransferFunction

vtkALBATransferFunction2D* albaGUIDialogTransferFunction2D::m_TransferFunction
protected

Definition at line 100 of file albaGUIDialogTransferFunction2D.h.

◆ m_PreviewBook

wxNotebook* albaGUIDialogTransferFunction2D::m_PreviewBook
protected

Definition at line 103 of file albaGUIDialogTransferFunction2D.h.

◆ m_SliceRwi

albaRWIBase* albaGUIDialogTransferFunction2D::m_SliceRwi
protected

Definition at line 104 of file albaGUIDialogTransferFunction2D.h.

◆ m_SliceWindow

vtkRenderWindow* albaGUIDialogTransferFunction2D::m_SliceWindow
protected

Definition at line 105 of file albaGUIDialogTransferFunction2D.h.

◆ m_WaitActor

vtkTextActor* albaGUIDialogTransferFunction2D::m_WaitActor
protected

Definition at line 106 of file albaGUIDialogTransferFunction2D.h.

◆ m_SliceRenderer

vtkRenderer* albaGUIDialogTransferFunction2D::m_SliceRenderer
protected

Definition at line 107 of file albaGUIDialogTransferFunction2D.h.

◆ m_SliceResampler

vtkImageResample* albaGUIDialogTransferFunction2D::m_SliceResampler
protected

Definition at line 108 of file albaGUIDialogTransferFunction2D.h.

◆ m_SliceMapper

vtkImageMapper* albaGUIDialogTransferFunction2D::m_SliceMapper
protected

Definition at line 109 of file albaGUIDialogTransferFunction2D.h.

◆ m_SliceFilter

vtkALBAImageMapToWidgetColors* albaGUIDialogTransferFunction2D::m_SliceFilter
protected

Definition at line 110 of file albaGUIDialogTransferFunction2D.h.

◆ m_SliceActor

vtkActor2D* albaGUIDialogTransferFunction2D::m_SliceActor
protected

Definition at line 111 of file albaGUIDialogTransferFunction2D.h.

◆ m_Rwi3D

albaRWIBase* albaGUIDialogTransferFunction2D::m_Rwi3D
protected

Definition at line 114 of file albaGUIDialogTransferFunction2D.h.

◆ m_Renderer3D

vtkRenderer* albaGUIDialogTransferFunction2D::m_Renderer3D
protected

Definition at line 115 of file albaGUIDialogTransferFunction2D.h.

◆ m_Window3D

vtkRenderWindow* albaGUIDialogTransferFunction2D::m_Window3D
protected

Definition at line 116 of file albaGUIDialogTransferFunction2D.h.

◆ m_Mapper3D

vtkALBAAdaptiveVolumeMapper* albaGUIDialogTransferFunction2D::m_Mapper3D
protected

Definition at line 117 of file albaGUIDialogTransferFunction2D.h.

◆ m_Volume3D

vtkVolume* albaGUIDialogTransferFunction2D::m_Volume3D
protected

Definition at line 118 of file albaGUIDialogTransferFunction2D.h.

◆ m_GraphRwi

albaRWIBase* albaGUIDialogTransferFunction2D::m_GraphRwi
protected

Definition at line 121 of file albaGUIDialogTransferFunction2D.h.

◆ m_GraphRenderer

vtkRenderer* albaGUIDialogTransferFunction2D::m_GraphRenderer
protected

Definition at line 122 of file albaGUIDialogTransferFunction2D.h.

◆ m_GraphWindow

vtkRenderWindow* albaGUIDialogTransferFunction2D::m_GraphWindow
protected

Definition at line 123 of file albaGUIDialogTransferFunction2D.h.

◆ m_WidgetActor

vtkWidgetActor* albaGUIDialogTransferFunction2D::m_WidgetActor
protected

Definition at line 124 of file albaGUIDialogTransferFunction2D.h.

◆ m_CriticalSection

vtkCriticalSection* albaGUIDialogTransferFunction2D::m_CriticalSection
protected

Definition at line 126 of file albaGUIDialogTransferFunction2D.h.

◆ m_Widget

tfWidget albaGUIDialogTransferFunction2D::m_Widget
protected

Definition at line 128 of file albaGUIDialogTransferFunction2D.h.

◆ m_WidgetList

wxListBox* albaGUIDialogTransferFunction2D::m_WidgetList
protected

Definition at line 129 of file albaGUIDialogTransferFunction2D.h.

◆ m_CurrentWidget

int albaGUIDialogTransferFunction2D::m_CurrentWidget
protected

Definition at line 130 of file albaGUIDialogTransferFunction2D.h.

◆ m_SliceNumber

int albaGUIDialogTransferFunction2D::m_SliceNumber
protected

Definition at line 132 of file albaGUIDialogTransferFunction2D.h.

◆ m_WindowingSlider

albaGUIRangeSlider* albaGUIDialogTransferFunction2D::m_WindowingSlider
protected

Definition at line 133 of file albaGUIDialogTransferFunction2D.h.

◆ m_SliceLevel

double albaGUIDialogTransferFunction2D::m_SliceLevel
protected

Definition at line 134 of file albaGUIDialogTransferFunction2D.h.

◆ m_SliceWinowing

double albaGUIDialogTransferFunction2D::m_SliceWinowing
protected

Definition at line 135 of file albaGUIDialogTransferFunction2D.h.

◆ m_WidgetName

wxString albaGUIDialogTransferFunction2D::m_WidgetName
protected

Definition at line 136 of file albaGUIDialogTransferFunction2D.h.

◆ m_WidgetColor

wxColour albaGUIDialogTransferFunction2D::m_WidgetColor
protected

Definition at line 137 of file albaGUIDialogTransferFunction2D.h.

◆ m_Filename

wxString albaGUIDialogTransferFunction2D::m_Filename
protected

Definition at line 138 of file albaGUIDialogTransferFunction2D.h.

◆ m_ValueSlider

albaGUIRangeSlider* albaGUIDialogTransferFunction2D::m_ValueSlider
protected

Definition at line 139 of file albaGUIDialogTransferFunction2D.h.

◆ m_GradientSlider

albaGUIRangeSlider* albaGUIDialogTransferFunction2D::m_GradientSlider
protected

Definition at line 140 of file albaGUIDialogTransferFunction2D.h.

◆ m_StatusBar

wxStatusBar* albaGUIDialogTransferFunction2D::m_StatusBar
protected

Definition at line 142 of file albaGUIDialogTransferFunction2D.h.

◆ m_DataRange

double albaGUIDialogTransferFunction2D::m_DataRange[2]
protected

Definition at line 144 of file albaGUIDialogTransferFunction2D.h.

◆ m_GradientRange

double albaGUIDialogTransferFunction2D::m_GradientRange[2]
protected

Definition at line 145 of file albaGUIDialogTransferFunction2D.h.

◆ m_DataReady

bool albaGUIDialogTransferFunction2D::m_DataReady
protected

Definition at line 150 of file albaGUIDialogTransferFunction2D.h.

◆ m_SlicePipeStatus

int albaGUIDialogTransferFunction2D::m_SlicePipeStatus
protected

Definition at line 151 of file albaGUIDialogTransferFunction2D.h.

◆ m_PipeStatus3D

int albaGUIDialogTransferFunction2D::m_PipeStatus3D
protected

Definition at line 152 of file albaGUIDialogTransferFunction2D.h.


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