|
ALBA
|
#include <albaRWI.h>


Public Member Functions | |
| albaRWI () | |
| albaRWI (wxWindow *parent, RWI_LAYERS layers=ONE_LAYER, bool use_grid=false, bool show_axes=false, int stereo=0, bool show_orientator=false, int axesType=albaAxes::TRIAD) | |
| virtual | ~albaRWI () |
| virtual void | SetListener (albaObserver *Listener) |
| virtual void | OnEvent (albaEventBase *alba_event) |
| void | CreateRenderingScene (wxWindow *parent, RWI_LAYERS layers=ONE_LAYER, bool use_grid=false, bool show_axes=false, int stereo=0, bool show_orientator=false, int axesType=albaAxes::TRIAD) |
| void | CameraReset (albaVME *vme=NULL, double zoom=1) |
| void | CameraReset (double bounds[6], double zoom=1) |
| void | CameraUpdate () |
| void | CameraSet (int cam_position, double zoom=1) |
| void | CameraSet (double pos[3], double viewUp[3], double zoom=1., bool parallelProjection=false) |
| void | SetSize (int x, int y, int w, int h) |
| void | Show (bool show) |
| void | SetGridNormal (int normal_id) |
| void | SetGridPosition (double position) |
| void | SetGridVisibility (bool show) |
| void | SetGridColor (const wxColor &col) |
| void | SetBackgroundColor (const wxColor &col) |
| wxColor | GetBackgroundColor () |
| void | SetStereo (int stereo_type) |
| void | SetAxesVisibility (bool show) |
| void | SetOrientatorVisibility (bool show=true) |
| void | SetOrientatorSingleActorVisibility (bool showLeft=true, bool showDown=true, bool showRight=true, bool showUp=true) |
| void | SetOrientatorSingleActorText (const char *textLeft, const char *textDown, const char *textRight, const char *textUp) |
| void | SetOrientatorProperties (double rgbText[3], double rgbBackground[3], double scale=1) |
| void | SetProfilingActorVisibility (bool show) |
| virtual albaGUI * | GetGui () |
| void | UpdateCameraParameters () |
| void | ResetCameraClippingRange () |
Public Member Functions inherited from albaObserver | |
| albaObserver () | |
| virtual | ~albaObserver () |
| virtual void | OnEvent (albaEventBase *e)=0 |
Public Attributes | |
| albaSceneGraph * | m_Sg |
| albaRWIBase * | m_RwiBase |
| vtkRenderer * | m_RenFront |
| vtkRenderer * | m_RenBack |
| vtkRenderer * | m_AlwaysVisibleRenderer |
| vtkRenderWindow * | m_RenderWindow |
| vtkLight * | m_Light |
| vtkCamera * | m_Camera |
| int | m_CameraPositionId |
| double | m_CameraPosition [3] |
| double | m_FocalPoint [3] |
| double | m_CameraViewUp [3] |
| double | m_CameraOrientation [3] |
| double | m_StepCameraOrientation |
| double | m_TopBottomAccumulation |
| double | m_LeftRigthAccumulation |
| double | m_TopBottomAccumulationLast |
| double | m_LeftRigthAccumulationLast |
Protected Member Functions | |
| double * | ComputeVisibleBounds (albaVME *vme=NULL) |
| albaGUI * | CreateGui () |
Protected Attributes | |
| albaGUI * | m_Gui |
| wxColour | m_BGColour |
| wxColour | m_GridColour |
| double | m_GridPosition |
| albaGUIPicButton * | m_CameraButtons [6] |
| wxBoxSizer * | m_Sizer |
| albaAxes * | m_Axes |
| vtkALBAGridActor * | m_Grid |
| int | m_ShowGrid |
| int | m_GridNormal |
| int | m_ShowAxes |
| int | m_ParallelView |
| int | m_StereoType |
| vtkALBATextOrientator * | m_Orientator |
| int | m_ShowProfilingInformation |
| int | m_ShowOrientator |
| albaObserver * | m_Listener |
| vtkALBAProfilingActor * | m_ProfilingActor |
| albaString | m_StereoMovieDir |
| int | m_StereoMovieEnable |
| int | m_AxesType |
| albaRWI::albaRWI | ( | ) |
| albaRWI::albaRWI | ( | wxWindow * | parent, |
| RWI_LAYERS | layers = ONE_LAYER, |
||
| bool | use_grid = false, |
||
| bool | show_axes = false, |
||
| int | stereo = 0, |
||
| bool | show_orientator = false, |
||
| int | axesType = albaAxes::TRIAD |
||
| ) |
|
virtual |
|
inlinevirtual |
|
virtual |
process the events sent by subjects
Implements albaObserver.
| void albaRWI::CreateRenderingScene | ( | wxWindow * | parent, |
| RWI_LAYERS | layers = ONE_LAYER, |
||
| bool | use_grid = false, |
||
| bool | show_axes = false, |
||
| int | stereo = 0, |
||
| bool | show_orientator = false, |
||
| int | axesType = albaAxes::TRIAD |
||
| ) |
Create all the elements necessary to build the rendering scene.
| void albaRWI::CameraReset | ( | albaVME * | vme = NULL, |
| double | zoom = 1 |
||
| ) |
Reset the camera position.
If vme is passed as parameter, the camera is resetted to fill the vme into the view.
| void albaRWI::CameraReset | ( | double | bounds[6], |
| double | zoom = 1 |
||
| ) |
Reset the camera position according to the bounds.
| void albaRWI::CameraUpdate | ( | ) |
Update the renderwindow.
| void albaRWI::CameraSet | ( | int | cam_position, |
| double | zoom = 1 |
||
| ) |
Set the camera position.
| void albaRWI::CameraSet | ( | double | pos[3], |
| double | viewUp[3], | ||
| double | zoom = 1., |
||
| bool | parallelProjection = false |
||
| ) |
Set the camera position, set custom pos , custom viewUp , zoom and if projection is parallel.
| void albaRWI::SetSize | ( | int | x, |
| int | y, | ||
| int | w, | ||
| int | h | ||
| ) |
Set the render window's size.
| void albaRWI::Show | ( | bool | show | ) |
Show the render window.
| void albaRWI::SetGridNormal | ( | int | normal_id | ) |
Set the normal for the grid actor.
| void albaRWI::SetGridPosition | ( | double | position | ) |
Set the position for the grid actor.
| void albaRWI::SetGridVisibility | ( | bool | show | ) |
Set the visibility for the grid actor.
| void albaRWI::SetGridColor | ( | const wxColor & | col | ) |
Set the color for the grid actor.
| void albaRWI::SetBackgroundColor | ( | const wxColor & | col | ) |
Set the background color for the render window.
|
inline |
| void albaRWI::SetStereo | ( | int | stereo_type | ) |
Set the stereo type.
| void albaRWI::SetAxesVisibility | ( | bool | show | ) |
Set the visibility for the axes actor.
| void albaRWI::SetOrientatorVisibility | ( | bool | show = true | ) |
Set the visibility for the orientation actor.
| void albaRWI::SetOrientatorSingleActorVisibility | ( | bool | showLeft = true, |
| bool | showDown = true, |
||
| bool | showRight = true, |
||
| bool | showUp = true |
||
| ) |
Set the visibility for the orientation single actor.
| void albaRWI::SetOrientatorSingleActorText | ( | const char * | textLeft, |
| const char * | textDown, | ||
| const char * | textRight, | ||
| const char * | textUp | ||
| ) |
Set the text for the orientator actor.
| void albaRWI::SetOrientatorProperties | ( | double | rgbText[3], |
| double | rgbBackground[3], | ||
| double | scale = 1 |
||
| ) |
Set Orientator Text Properties.
| void albaRWI::SetProfilingActorVisibility | ( | bool | show | ) |
Set Profiling Information Text Visibility.
|
virtual |
| void albaRWI::UpdateCameraParameters | ( | ) |
Update member variables and GUI elements according to vtkCamera position, focal point, view up, ...
| void albaRWI::ResetCameraClippingRange | ( | ) |
|
protected |
Compute the bounds for the visible actors; if vme is passed, the bounds of vme are calculated.
|
protected |
| albaSceneGraph* albaRWI::m_Sg |
| albaRWIBase* albaRWI::m_RwiBase |
| vtkRenderer* albaRWI::m_RenFront |
| vtkRenderer* albaRWI::m_RenBack |
| vtkRenderWindow* albaRWI::m_RenderWindow |
| int albaRWI::m_CameraPositionId |
| double albaRWI::m_CameraPosition[3] |
| double albaRWI::m_FocalPoint[3] |
| double albaRWI::m_CameraViewUp[3] |
| double albaRWI::m_CameraOrientation[3] |
| double albaRWI::m_StepCameraOrientation |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |