#include <ssMultibeamRenderModule.h>
Inheritance diagram for ssMultibeamRenderModule:
Public Member Functions | |
vtkTypeRevisionMacro (ssMultibeamRenderModule, vtkObject) | |
void | PrintSelf (ostream &os, vtkIndent indent) |
Print the state of this object. | |
virtual void | Application (ssMultibeamApplication *app) |
Specify the application right after construction. | |
ssMultibeamApplication * | Application () const |
Give the application. | |
void | ComputeVisiblePropBounds (double bounds[6]) |
Compute the bounding box of all the visibile props Used in ResetCamera() and ResetCameraClippingRange(). | |
void | AddPVSource (vtkPVSource *pvs) |
This method is executed in all processes. | |
void | RemovePVSource (vtkPVSource *pvs) |
virtual void | StillRender () |
Renders using Still/FullRes. | |
virtual void | InteractiveRender () |
Renders using interactive/LODs. | |
vtkRenderer * | GetRenderer () |
Give the Plan Renderer. | |
vtkRenderer * | GetPlanRenderer () const |
Give the Plan Renderer. | |
vtkRenderer * | GetAcrossRenderer () const |
Give the Across Bathymetry Renderer. | |
vtkRenderer * | GetAlongRenderer () const |
Give the Along Bathymetry Renderer. | |
vtkRenderWindow * | GetPlanRenderWindow () const |
Give the Plan Render Window. | |
vtkRenderWindow * | GetAcrossRenderWindow () const |
Give the Across Bathymetry Render Window. | |
vtkRenderWindow * | GetAlongRenderWindow () const |
Give the Along Bathymetry Render Window. | |
void | SetBackgroundColor (float r, float g, float b) |
Change the background color. | |
virtual void | SetBackgroundColor (float *c) |
Change the background color. | |
vtkGetStringMacro (PlanRendererTclName) | |
Give the Tcl name of the Plan Renderer. | |
vtkGetStringMacro (AcrossRendererTclName) | |
Give the Tcl name of the Across Bathymetry Renderer. | |
vtkGetStringMacro (AlongRendererTclName) | |
Give the Tcl name of the Along Bathymetry Renderer. | |
vtkGetStringMacro (PlanRenderWindowTclName) | |
Give the Tcl name of the Plan Render Window. | |
vtkGetStringMacro (AcrossRenderWindowTclName) | |
Give the Tcl name of the Across Render Window. | |
vtkGetStringMacro (AlongRenderWindowTclName) | |
Give the Tcl name of the Along Render Window. | |
void | SetUseTriangleStrips (int val) |
Callback for the triangle strips check button. | |
void | SetUseImmediateMode (int val) |
Callback for the immediate mode rendering check button. | |
void | SetUseParallelProjection (int val) |
Change between parallel or perspective camera. | |
vtkSetMacro (RenderInterruptsEnabled, int) | |
Specify whether the render module invokes abort check events. | |
vtkGetMacro (RenderInterruptsEnabled, int) | |
Give the state of the abort checks interrupt flag. | |
vtkBooleanMacro (RenderInterruptsEnabled, int) | |
virtual float | GetZBufferValue (int x, int y) |
Give the value of the z buffer at a position. | |
vtkSetMacro (TotalVisibleMemorySizeValid, int) | |
Specify whether the visible memory size is valid. | |
vtkGetMacro (TotalVisibleMemorySizeValid, int) | |
Give whether the visible memory size is valid. | |
Static Public Member Functions | |
static ssMultibeamRenderModule * | New () |
Instantiate a new object of this type. | |
Protected Member Functions | |
ssMultibeamRenderModule () | |
~ssMultibeamRenderModule () | |
virtual void | UpdateAllPVData () |
This is used before a render to make sure all visible sources have been updated. | |
vtkSetStringMacro (PlanRendererTclName) | |
vtkSetStringMacro (AcrossRendererTclName) | |
vtkSetStringMacro (AlongRendererTclName) | |
vtkSetStringMacro (PlanRenderWindowTclName) | |
Specify the Plan Render Window name. | |
vtkSetStringMacro (AcrossRenderWindowTclName) | |
Specify the Across Render Window name. | |
vtkSetStringMacro (AlongRenderWindowTclName) | |
Specify the Along Render Window name. | |
Protected Attributes | |
ssMultibeamApplication * | application |
vtkRenderer * | PlanRenderer |
vtkRenderer * | AcrossRenderer |
vtkRenderer * | AlongRenderer |
vtkRenderWindow * | PlanRenderWindow |
vtkRenderWindow * | AcrossRenderWindow |
vtkRenderWindow * | AlongRenderWindow |
int | TotalVisibleMemorySizeValid |
char * | PlanRendererTclName |
char * | AcrossRendererTclName |
char * | AlongRendererTclName |
char * | PlanRenderWindowTclName |
char * | AcrossRenderWindowTclName |
char * | AlongRenderWindowTclName |
double | StillRenderTime |
double | InteractiveRenderTime |
int | DisableRenderingFlag |
int | RenderInterruptsEnabled |
unsigned long | ResetCameraClippingRangeTag |
Definition at line 74 of file ssMultibeamRenderModule.h.
ssMultibeamRenderModule::ssMultibeamRenderModule | ( | ) | [protected] |
ssMultibeamRenderModule::~ssMultibeamRenderModule | ( | ) | [protected] |
static ssMultibeamRenderModule* ssMultibeamRenderModule::New | ( | ) | [static] |
Instantiate a new object of this type.
This is the only method that objects of this type may be created.
Reimplemented from vtkObject.
ssMultibeamRenderModule::vtkTypeRevisionMacro | ( | ssMultibeamRenderModule | , | |
vtkObject | ||||
) |
void ssMultibeamRenderModule::PrintSelf | ( | ostream & | os, | |
vtkIndent | indent | |||
) | [virtual] |
Print the state of this object.
os | The The output stream. | |
indent | The indentation - for formating. |
Reimplemented from vtkObject.
virtual void ssMultibeamRenderModule::Application | ( | ssMultibeamApplication * | app | ) | [virtual] |
Specify the application right after construction.
app | The Multibeam application. |
ssMultibeamApplication* ssMultibeamRenderModule::Application | ( | ) | const |
Give the application.
void ssMultibeamRenderModule::ComputeVisiblePropBounds | ( | double | bounds[6] | ) |
Compute the bounding box of all the visibile props Used in ResetCamera() and ResetCameraClippingRange().
bounds | The returned bounds. |
void ssMultibeamRenderModule::AddPVSource | ( | vtkPVSource * | pvs | ) |
This method is executed in all processes.
void ssMultibeamRenderModule::RemovePVSource | ( | vtkPVSource * | pvs | ) |
virtual void ssMultibeamRenderModule::StillRender | ( | ) | [virtual] |
Renders using Still/FullRes.
virtual void ssMultibeamRenderModule::InteractiveRender | ( | ) | [virtual] |
Renders using interactive/LODs.
vtkRenderer* ssMultibeamRenderModule::GetRenderer | ( | ) |
Give the Plan Renderer.
vtkRenderer* ssMultibeamRenderModule::GetPlanRenderer | ( | ) | const |
Give the Plan Renderer.
vtkRenderer* ssMultibeamRenderModule::GetAcrossRenderer | ( | ) | const |
Give the Across Bathymetry Renderer.
vtkRenderer* ssMultibeamRenderModule::GetAlongRenderer | ( | ) | const |
Give the Along Bathymetry Renderer.
vtkRenderWindow* ssMultibeamRenderModule::GetPlanRenderWindow | ( | ) | const |
vtkRenderWindow* ssMultibeamRenderModule::GetAcrossRenderWindow | ( | ) | const |
vtkRenderWindow* ssMultibeamRenderModule::GetAlongRenderWindow | ( | ) | const |
void ssMultibeamRenderModule::SetBackgroundColor | ( | float | r, | |
float | g, | |||
float | b | |||
) |
Change the background color.
r | The red value. | |
g | The green value. | |
b | The blue value. |
virtual void ssMultibeamRenderModule::SetBackgroundColor | ( | float * | c | ) | [inline, virtual] |
Change the background color.
c | The rgb values. |
Definition at line 195 of file ssMultibeamRenderModule.h.
ssMultibeamRenderModule::vtkGetStringMacro | ( | PlanRendererTclName | ) |
Give the Tcl name of the Plan Renderer.
This is still used in a couple of cases (cube axes ...) This will eventually be removed.
ssMultibeamRenderModule::vtkGetStringMacro | ( | AcrossRendererTclName | ) |
Give the Tcl name of the Across Bathymetry Renderer.
This is still used in a couple of cases (cube axes ...) This will eventually be removed.
ssMultibeamRenderModule::vtkGetStringMacro | ( | AlongRendererTclName | ) |
Give the Tcl name of the Along Bathymetry Renderer.
This is still used in a couple of cases (cube axes ...) This will eventually be removed.
ssMultibeamRenderModule::vtkGetStringMacro | ( | PlanRenderWindowTclName | ) |
Give the Tcl name of the Plan Render Window.
This is still used in a couple of cases (cube axes ...) This will eventually be removed.
ssMultibeamRenderModule::vtkGetStringMacro | ( | AcrossRenderWindowTclName | ) |
Give the Tcl name of the Across Render Window.
This is still used in a couple of cases (cube axes ...) This will eventually be removed.
ssMultibeamRenderModule::vtkGetStringMacro | ( | AlongRenderWindowTclName | ) |
Give the Tcl name of the Along Render Window.
This is still used in a couple of cases (cube axes ...) This will eventually be removed.
void ssMultibeamRenderModule::SetUseTriangleStrips | ( | int | val | ) |
Callback for the triangle strips check button.
val | Non zero if to use triangle strips, zero otherwise. |
void ssMultibeamRenderModule::SetUseImmediateMode | ( | int | val | ) |
Callback for the immediate mode rendering check button.
val | Non zero if to be immediate mode, zero otherwise. |
void ssMultibeamRenderModule::SetUseParallelProjection | ( | int | val | ) |
Change between parallel or perspective camera.
Since this is a camera manipulation, it does not have to be here.
val | Non zero to enable parrallel projection, zero otherwise. |
ssMultibeamRenderModule::vtkSetMacro | ( | RenderInterruptsEnabled | , | |
int | ||||
) |
Specify whether the render module invokes abort check events.
val | Non zero if interrupts enabled, zero otherwise. |
ssMultibeamRenderModule::vtkGetMacro | ( | RenderInterruptsEnabled | , | |
int | ||||
) |
Give the state of the abort checks interrupt flag.
ssMultibeamRenderModule::vtkBooleanMacro | ( | RenderInterruptsEnabled | , | |
int | ||||
) |
virtual float ssMultibeamRenderModule::GetZBufferValue | ( | int | x, | |
int | y | |||
) | [virtual] |
Give the value of the z buffer at a position.
This is necessary for picking the center of rotation.
ssMultibeamRenderModule::vtkSetMacro | ( | TotalVisibleMemorySizeValid | , | |
int | ||||
) |
Specify whether the visible memory size is valid.
This is just a convenient spot to keep this flag. Render view uses this to descide whether to recompute the total memory size of visible geometry. This is necessary to decide between collection vs. distributed rendering. When we create rendering modules, the render view will be integrated with the ssMultibeamProcessModule and vtkPVParts and this flag can be moved.
ssMultibeamRenderModule::vtkGetMacro | ( | TotalVisibleMemorySizeValid | , | |
int | ||||
) |
Give whether the visible memory size is valid.
This is just a convenient spot to keep this flag. Render view uses this to descide whether to recompute the total memory size of visible geometry. This is necessary to decide between collection vs. distributed rendering. When we create rendering modules, the render view will be integrated with the ssMultibeamProcessModule and vtkPVParts and this flag can be moved.
virtual void ssMultibeamRenderModule::UpdateAllPVData | ( | ) | [protected, virtual] |
This is used before a render to make sure all visible sources have been updated.
ssMultibeamRenderModule::vtkSetStringMacro | ( | PlanRendererTclName | ) | [protected] |
ssMultibeamRenderModule::vtkSetStringMacro | ( | AcrossRendererTclName | ) | [protected] |
ssMultibeamRenderModule::vtkSetStringMacro | ( | AlongRendererTclName | ) | [protected] |
ssMultibeamRenderModule::vtkSetStringMacro | ( | PlanRenderWindowTclName | ) | [protected] |
Specify the Plan Render Window name.
arg | Than name. |
ssMultibeamRenderModule::vtkSetStringMacro | ( | AcrossRenderWindowTclName | ) | [protected] |
Specify the Across Render Window name.
arg | Than name. |
ssMultibeamRenderModule::vtkSetStringMacro | ( | AlongRenderWindowTclName | ) | [protected] |
Specify the Along Render Window name.
arg | Than name. |
Definition at line 321 of file ssMultibeamRenderModule.h.
vtkRenderer* ssMultibeamRenderModule::PlanRenderer [protected] |
Definition at line 322 of file ssMultibeamRenderModule.h.
vtkRenderer* ssMultibeamRenderModule::AcrossRenderer [protected] |
Definition at line 323 of file ssMultibeamRenderModule.h.
vtkRenderer* ssMultibeamRenderModule::AlongRenderer [protected] |
Definition at line 324 of file ssMultibeamRenderModule.h.
vtkRenderWindow* ssMultibeamRenderModule::PlanRenderWindow [protected] |
Definition at line 325 of file ssMultibeamRenderModule.h.
Definition at line 326 of file ssMultibeamRenderModule.h.
Definition at line 327 of file ssMultibeamRenderModule.h.
int ssMultibeamRenderModule::TotalVisibleMemorySizeValid [protected] |
Definition at line 330 of file ssMultibeamRenderModule.h.
char* ssMultibeamRenderModule::PlanRendererTclName [protected] |
Definition at line 332 of file ssMultibeamRenderModule.h.
char* ssMultibeamRenderModule::AcrossRendererTclName [protected] |
Definition at line 333 of file ssMultibeamRenderModule.h.
char* ssMultibeamRenderModule::AlongRendererTclName [protected] |
Definition at line 334 of file ssMultibeamRenderModule.h.
char* ssMultibeamRenderModule::PlanRenderWindowTclName [protected] |
Definition at line 339 of file ssMultibeamRenderModule.h.
char* ssMultibeamRenderModule::AcrossRenderWindowTclName [protected] |
Definition at line 340 of file ssMultibeamRenderModule.h.
char* ssMultibeamRenderModule::AlongRenderWindowTclName [protected] |
Definition at line 341 of file ssMultibeamRenderModule.h.
double ssMultibeamRenderModule::StillRenderTime [protected] |
Definition at line 361 of file ssMultibeamRenderModule.h.
double ssMultibeamRenderModule::InteractiveRenderTime [protected] |
Definition at line 362 of file ssMultibeamRenderModule.h.
int ssMultibeamRenderModule::DisableRenderingFlag [protected] |
Definition at line 364 of file ssMultibeamRenderModule.h.
int ssMultibeamRenderModule::RenderInterruptsEnabled [protected] |
Definition at line 365 of file ssMultibeamRenderModule.h.
unsigned long ssMultibeamRenderModule::ResetCameraClippingRangeTag [protected] |
Definition at line 367 of file ssMultibeamRenderModule.h.