ALBA
|
#include <albaRWIBase.h>
Public Member Functions | |
vtkTypeMacro (albaRWIBase, vtkRenderWindowInteractor) | |
albaRWIBase () | |
albaRWIBase (wxWindow *parent, wxWindowID id, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxWANTS_CHARS, const wxString &name=wxPanelNameStr) | |
~albaRWIBase () | |
void | SetListener (albaObserver *listener) |
void | NotifyClick () |
void | SetMouse (albaDeviceButtonsPadMouse *mouse) |
void | SetStereoMovieDirectory (const char *dir) |
void | EnableStereoMovie (bool enable=true) |
void | Initialize () |
void | Enable () |
void | Disable () |
void | Start () |
void | UpdateSize (int x, int y) |
void | TerminateApp () |
wxBitmap * | GetImage (int magnification=1) |
void | SaveImage (albaString filename="", int magnification=1) |
void | SaveImageRecursive (albaString filename="", albaViewCompound *v=NULL, int magnification=1) |
void | RecursiveSaving (albaString filename="", albaViewCompound *v=NULL, int magnification=1) |
void | SaveAllImages (albaString filename="", albaViewCompound *v=NULL) |
vtkCamera * | GetCamera () |
int | CreateTimer (int timertype) |
int | DestroyTimer () |
void | OnPaint (wxPaintEvent &event) |
void | OnEraseBackground (wxEraseEvent &event) |
virtual void | OnLeftMouseDoubleClick (wxMouseEvent &event) |
virtual void | OnLeftMouseButtonDown (wxMouseEvent &event) |
virtual void | OnLeftMouseButtonUp (wxMouseEvent &event) |
virtual void | OnMiddleMouseButtonDown (wxMouseEvent &event) |
virtual void | OnMiddleMouseButtonUp (wxMouseEvent &event) |
virtual void | OnRightMouseButtonDown (wxMouseEvent &event) |
virtual void | OnRightMouseButtonUp (wxMouseEvent &event) |
virtual void | OnMouseMotion (wxMouseEvent &event) |
virtual void | OnMouseWheel (wxMouseEvent &event) |
virtual void | OnTimer (wxTimerEvent &event) |
virtual void | OnKeyDown (wxKeyEvent &event) |
virtual void | OnKeyUp (wxKeyEvent &event) |
virtual void | OnChar (wxKeyEvent &event) |
virtual void | OnSize (wxSizeEvent &event) |
virtual void | OnIdle (wxIdleEvent &event) |
virtual void | OnMouseCaptureLost (wxMouseCaptureLostEvent &WXUNUSED(evt)) |
void | SetInteractorStyle (vtkInteractorObserver *o) |
void | GenerateStereoFrames () |
Static Public Member Functions | |
static albaRWIBase * | New () |
Public Attributes | |
bool | m_Hidden |
int | m_Width |
int | m_Height |
Protected Attributes | |
wxTimer | m_Timer |
albaString | m_StereoMovieDir |
int | m_StereoMovieFrameCounter |
bool | m_StereoMovieEnable |
bool | m_StereoFrameGenerate |
vtkWindowToImageFilter * | m_StereoMovieLeftEye |
vtkWindowToImageFilter * | m_StereoMovieRightEye |
vtkImageAppend * | m_StereoImage |
vtkPNGWriter * | m_StereoMoviewFrameWriter |
albaString | m_SaveDir |
vtkCamera * | m_Camera |
albaDeviceButtonsPadMouse * | m_Mouse |
bool | m_CustomInteractorStyle |
albaObserver * | m_Listener |
int | m_LastX |
int | m_LastY |
albaRWIBase is a vtkRenderWindowInteractor placed on a wxWindow
Definition at line 60 of file albaRWIBase.h.
albaRWIBase::albaRWIBase | ( | ) |
albaRWIBase::albaRWIBase | ( | wxWindow * | parent, |
wxWindowID | id, | ||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxDefaultSize , |
||
long | style = wxWANTS_CHARS , |
||
const wxString & | name = wxPanelNameStr |
||
) |
albaRWIBase::~albaRWIBase | ( | ) |
albaRWIBase::vtkTypeMacro | ( | albaRWIBase | , |
vtkRenderWindowInteractor | |||
) |
|
static |
|
inline |
Definition at line 77 of file albaRWIBase.h.
void albaRWIBase::NotifyClick | ( | ) |
Notify mouse click on a view.
void albaRWIBase::SetMouse | ( | albaDeviceButtonsPadMouse * | mouse | ) |
set the mouse device to which forward events from the view
void albaRWIBase::SetStereoMovieDirectory | ( | const char * | dir | ) |
Set the directory for the Stereo Movie.
void albaRWIBase::EnableStereoMovie | ( | bool | enable = true | ) |
Enable/disable stereo movie frames generation.
void albaRWIBase::Initialize | ( | ) |
Initialize the render window interactor.
void albaRWIBase::Enable | ( | ) |
Enable the render window interactor.
void albaRWIBase::Disable | ( | ) |
Disable the render window interactor.
void albaRWIBase::Start | ( | ) |
Redefined method to take the control on event loop.
void albaRWIBase::UpdateSize | ( | int | x, |
int | y | ||
) |
Update the size of the render window.
void albaRWIBase::TerminateApp | ( | ) |
Redefined method to terminate the application.
wxBitmap * albaRWIBase::GetImage | ( | int | magnification = 1 | ) |
Return an image of the render window.
void albaRWIBase::SaveImage | ( | albaString | filename = "" , |
int | magnification = 1 |
||
) |
Save an image of the render window.
void albaRWIBase::SaveImageRecursive | ( | albaString | filename = "" , |
albaViewCompound * | v = NULL , |
||
int | magnification = 1 |
||
) |
Save all images of a view compound creating a view for every subview.
void albaRWIBase::RecursiveSaving | ( | albaString | filename = "" , |
albaViewCompound * | v = NULL , |
||
int | magnification = 1 |
||
) |
void albaRWIBase::SaveAllImages | ( | albaString | filename = "" , |
albaViewCompound * | v = NULL |
||
) |
Save all images of the compound view.
vtkCamera * albaRWIBase::GetCamera | ( | ) |
Return the current used camera.
int albaRWIBase::CreateTimer | ( | int | timertype | ) |
int albaRWIBase::DestroyTimer | ( | ) |
void albaRWIBase::OnPaint | ( | wxPaintEvent & | event | ) |
Method called whe the render window as to be repainted.
void albaRWIBase::OnEraseBackground | ( | wxEraseEvent & | event | ) |
|
virtual |
Capture left mouse double click and notify it.
|
virtual |
Capture mouse and notify the mouse click.
|
virtual |
Release the mouse and send an event with mouse position.
|
virtual |
Capture mouse and notify the mouse click.
|
virtual |
Release the mouse and send an event with mouse position.
|
virtual |
Capture mouse and notify the mouse click.
|
virtual |
Release the mouse and send an event with mouse position.
|
virtual |
Send an event with mouse position.
|
virtual |
Send an event with mouse wheel.
|
virtual |
Send an event with timer information.
|
virtual |
Send an event with key code information.
|
virtual |
Send an event with key code information.
|
virtual |
Send an event with key code information.
|
virtual |
Find the current camera and set UseHorizontalViewAngle depending on the win aspect ratio.
|
virtual |
Do nothing.
|
virtual |
Manage Mouse Capture Lost.
void albaRWIBase::SetInteractorStyle | ( | vtkInteractorObserver * | o | ) |
Redefined to set the m_CustomInteractorStyle flag.
void albaRWIBase::GenerateStereoFrames | ( | ) |
Generate stereo frames for movie.
|
protected |
Definition at line 65 of file albaRWIBase.h.
bool albaRWIBase::m_Hidden |
Definition at line 179 of file albaRWIBase.h.
int albaRWIBase::m_Width |
Definition at line 180 of file albaRWIBase.h.
int albaRWIBase::m_Height |
Definition at line 181 of file albaRWIBase.h.
|
protected |
Definition at line 187 of file albaRWIBase.h.
|
protected |
Definition at line 188 of file albaRWIBase.h.
|
protected |
Definition at line 189 of file albaRWIBase.h.
|
protected |
Definition at line 190 of file albaRWIBase.h.
|
protected |
Definition at line 191 of file albaRWIBase.h.
|
protected |
Definition at line 192 of file albaRWIBase.h.
|
protected |
Definition at line 193 of file albaRWIBase.h.
|
protected |
Definition at line 194 of file albaRWIBase.h.
|
protected |
Definition at line 196 of file albaRWIBase.h.
|
protected |
Definition at line 197 of file albaRWIBase.h.
|
protected |
Definition at line 198 of file albaRWIBase.h.
|
protected |
Definition at line 199 of file albaRWIBase.h.
|
protected |
Definition at line 200 of file albaRWIBase.h.
|
protected |
Definition at line 202 of file albaRWIBase.h.
|
protected |
Definition at line 203 of file albaRWIBase.h.