vtkKWRenderWidget Class Reference

a render widget More...

#include <vtkKWRenderWidget.h>

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

List of all members.

Public Types

typedef vtkKWCompositeWidget Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void Close ()
virtual void Render ()
virtual void Reset ()
virtual void ComputeVisiblePropBounds (int index, double bounds[6])
virtual void UpdateEnableState ()

Static Public Member Functions

static vtkKWRenderWidgetNew ()
static int IsTypeOf (const char *type)
static vtkKWRenderWidgetSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkKWRenderWidget ()
 ~vtkKWRenderWidget ()
virtual void CreateWidget ()
virtual void CreateDefaultRenderers ()
virtual void InstallRenderers ()
virtual void SetRenderersDefaultValues ()
virtual void UpdateAccordingToUnits ()
virtual void UpdateRenderWindowInteractorSize (int width, int height)

Protected Attributes

vtkKWCoreWidgetVTKWidget
vtkRenderWindowRenderWindow
vtkCornerAnnotationCornerAnnotation
vtkTextActorHeaderAnnotation
int RenderMode
int PreviousRenderMode
int InExpose
int RenderState
int Printing
char * DistanceUnits
int CollapsingRenders
int CollapsingRendersCount
int UseContextMenu
vtkKWMenuContextMenu
vtkKWRenderWidgetInternals * Internals
int SupportCornerAnnotation



enum  { InteractiveRender = 0, StillRender = 1, DisabledRender = 2, SingleRender = 3 }
enum  { CornerAnnotationVisibilityChangedEvent = 24000, RendererGradientBackgroundChangedEvent, RendererBackgroundColorChangedEvent, RendererBackgroundColor2ChangedEvent }
char * RendererBackgroundColorRegKey
char * RendererBackgroundColor2RegKey
char * RendererGradientBackgroundRegKey
virtual int GetRenderState ()
virtual void SetRenderState (int)
virtual void RenderStateOn ()
virtual void RenderStateOff ()
virtual void SetRenderMode (int)
virtual int GetRenderMode ()
virtual void SetRenderModeToInteractive ()
virtual void SetRenderModeToStill ()
virtual void SetRenderModeToSingle ()
virtual void SetRenderModeToDisabled ()
virtual void SetCollapsingRenders (int)
virtual void CollapsingRendersOn ()
virtual void CollapsingRendersOff ()
virtual int GetCollapsingRenders ()
virtual void ResetCamera ()
virtual void ResetCameraClippingRange ()
virtual void AddBindings ()
virtual void RemoveBindings ()
virtual void AddInteractionBindings ()
virtual void RemoveInteractionBindings ()
virtual void SetAnnotationsVisibility (int v)
virtual void AnnotationsVisibilityOn ()
virtual void AnnotationsVisibilityOff ()
virtual void SetCornerAnnotationVisibility (int v)
virtual int GetCornerAnnotationVisibility ()
virtual void ToggleCornerAnnotationVisibility ()
virtual void CornerAnnotationVisibilityOn ()
virtual void CornerAnnotationVisibilityOff ()
virtual void SetCornerAnnotationColor (double r, double g, double b)
virtual void SetCornerAnnotationColor (double *rgb)
virtual double * GetCornerAnnotationColor ()
virtual vtkCornerAnnotationGetCornerAnnotation ()
virtual int GetSupportCornerAnnotation ()
virtual void SetSupportCornerAnnotation (int)
virtual void SupportCornerAnnotationOn ()
virtual void SupportCornerAnnotationOff ()
virtual void SetHeaderAnnotationVisibility (int v)
virtual int GetHeaderAnnotationVisibility ()
virtual void ToggleHeaderAnnotationVisibility ()
virtual void HeaderAnnotationVisibilityOn ()
virtual void HeaderAnnotationVisibilityOff ()
virtual void SetHeaderAnnotationColor (double r, double g, double b)
virtual void SetHeaderAnnotationColor (double *rgb)
virtual double * GetHeaderAnnotationColor ()
virtual void SetHeaderAnnotationText (const char *)
virtual char * GetHeaderAnnotationText ()
virtual vtkTextActorGetHeaderAnnotation ()
virtual void SetDistanceUnits (const char *)
virtual char * GetDistanceUnits ()
virtual vtkRenderWindowGetRenderWindow ()
virtual vtkRenderWindowInteractorGetRenderWindowInteractor ()
virtual vtkKWCoreWidgetGetVTKWidget ()
virtual vtkRendererGetRenderer ()
virtual vtkRendererGetNthRenderer (int index)
virtual int GetNumberOfRenderers ()
virtual int GetRendererIndex (vtkRenderer *)
virtual void AddRenderer (vtkRenderer *)
virtual void RemoveRenderer (vtkRenderer *)
virtual void RemoveNthRenderer (int index)
virtual void RemoveAllRenderers ()
virtual vtkRendererGetOverlayRenderer ()
virtual vtkRendererGetNthOverlayRenderer (int index)
virtual int GetNumberOfOverlayRenderers ()
virtual int GetOverlayRendererIndex (vtkRenderer *)
virtual void AddOverlayRenderer (vtkRenderer *)
virtual void RemoveOverlayRenderer (vtkRenderer *)
virtual void RemoveNthOverlayRenderer (int index)
virtual void RemoveAllOverlayRenderers ()
virtual void GetRendererBackgroundColor (double *r, double *g, double *b)
virtual void SetRendererBackgroundColor (double r, double g, double b)
virtual void SetRendererBackgroundColor (double rgb[3])
virtual void GetRendererBackgroundColor2 (double *r, double *g, double *b)
virtual void SetRendererBackgroundColor2 (double r, double g, double b)
virtual void SetRendererBackgroundColor2 (double rgb[3])
virtual void SetRendererGradientBackground (int)
virtual int GetRendererGradientBackground ()
virtual void ToggleRendererGradientBackground ()
virtual void AddViewProp (vtkProp *prop)
virtual void AddViewPropToNthRenderer (vtkProp *p, int index)
virtual void AddOverlayViewProp (vtkProp *prop)
virtual void AddViewPropToNthOverlayRenderer (vtkProp *p, int index)
virtual int HasViewProp (vtkProp *prop)
virtual void RemoveViewProp (vtkProp *prop)
virtual void RemoveAllViewProps ()
virtual void SetPrinting (int arg)
virtual void PrintingOn ()
virtual void PrintingOff ()
virtual int GetPrinting ()
virtual void OffScreenRenderingOn ()
virtual void OffScreenRenderingOff ()
virtual void SetOffScreenRendering (int)
virtual int GetOffScreenRendering ()
virtual void SetUseContextMenu (int)
virtual int GetUseContextMenu ()
virtual void UseContextMenuOn ()
virtual void UseContextMenuOff ()
virtual void Register (vtkObjectBase *o)
virtual void UnRegister (vtkObjectBase *o)
virtual void * GetMemoryDC ()
virtual void AddCallbackCommandObservers ()
virtual void RemoveCallbackCommandObservers ()
virtual void MouseMoveCallback (int num, int x, int y, int ctrl, int shift, int alt)
virtual void MouseWheelCallback (int delta, int ctrl, int shift, int alt)
virtual void MouseButtonPressCallback (int num, int x, int y, int ctrl, int shift, int alt, int repeat)
virtual void MouseButtonReleaseCallback (int num, int x, int y, int ctrl, int shift, int alt)
virtual void KeyPressCallback (char key, int x, int y, int ctrl, int shift, int alt, char *keysym)
virtual void KeyReleaseCallback (char key, int x, int y, int ctrl, int shift, int alt, char *keysym)
virtual void ConfigureCallback (int width, int height)
virtual void ExposeCallback ()
virtual void EnterCallback (int x, int y)
virtual void LeaveCallback (int x, int y)
virtual void FocusInCallback ()
virtual void FocusOutCallback ()
virtual int RendererBackgroundColorCallback ()
virtual int RendererBackgroundColor2Callback ()
virtual void RendererGradientBackgroundCallback ()
virtual char * GetRendererBackgroundColorRegKey ()
virtual void SetRendererBackgroundColorRegKey (const char *)
virtual char * GetRendererBackgroundColor2RegKey ()
virtual void SetRendererBackgroundColor2RegKey (const char *)
virtual char * GetRendererGradientBackgroundRegKey ()
virtual void SetRendererGradientBackgroundRegKey (const char *)
virtual void SetupMemoryRendering (int width, int height, void *cd)
virtual void ResumeScreenRendering ()
virtual void ProcessCallbackCommandEvents (vtkObject *caller, unsigned long event, void *calldata)
virtual void PopulateContextMenu (vtkKWMenu *)
virtual void PopulateContextMenuWithInteractionEntries (vtkKWMenu *)
virtual void PopulateContextMenuWithAnnotationEntries (vtkKWMenu *)
virtual void PopulateContextMenuWithOptionEntries (vtkKWMenu *)
virtual void PopulateContextMenuWithCameraEntries (vtkKWMenu *)
virtual void PopulateContextMenuWithColorEntries (vtkKWMenu *)

Detailed Description

a render widget

This class encapsulates a render window, a renderer and several other objects inside a single widget. Actors and props can be added, annotations can be set. .WARNING This widget set the camera to be in parallel projection mode. You can change this default (after Create()) by calling: renderwidget->GetRenderer()->GetActiveCamera()->ParallelProjectionOff();

Events:
vtkKWEvent::FocusOutEvent vtkKWEvent::FocusInEvent vtkKWRenderWidget::RendererGradientBackgroundChangedEvent vtkCommand::TimerEvent vtkKWRenderWidget::RendererBackgroundColor2ChangedEvent vtkKWRenderWidget::RendererBackgroundColorChangedEvent

Definition at line 45 of file vtkKWRenderWidget.h.


Member Typedef Documentation

Reimplemented from vtkKWCompositeWidget.

Definition at line 50 of file vtkKWRenderWidget.h.


Member Enumeration Documentation

anonymous enum

Set/Get the rendering mode. BTX

Enumerator:
InteractiveRender 
StillRender 
DisabledRender 
SingleRender 

Definition at line 70 of file vtkKWRenderWidget.h.

anonymous enum

Event list BTX

Enumerator:
CornerAnnotationVisibilityChangedEvent 
RendererGradientBackgroundChangedEvent 
RendererBackgroundColorChangedEvent 
RendererBackgroundColor2ChangedEvent 

Definition at line 348 of file vtkKWRenderWidget.h.


Constructor & Destructor Documentation

vtkKWRenderWidget::vtkKWRenderWidget (  )  [protected]
vtkKWRenderWidget::~vtkKWRenderWidget (  )  [protected]

Member Function Documentation

static vtkKWRenderWidget* vtkKWRenderWidget::New (  )  [static]

Reimplemented from vtkKWCompositeWidget.

virtual const char* vtkKWRenderWidget::GetClassName (  )  [virtual]

Reimplemented from vtkKWCompositeWidget.

static int vtkKWRenderWidget::IsTypeOf ( const char *  type  )  [static]

Reimplemented from vtkKWCompositeWidget.

virtual int vtkKWRenderWidget::IsA ( const char *  type  )  [virtual]

Reimplemented from vtkKWCompositeWidget.

static vtkKWRenderWidget* vtkKWRenderWidget::SafeDownCast ( vtkObject o  )  [static]

Reimplemented from vtkKWCompositeWidget.

void vtkKWRenderWidget::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Reimplemented from vtkKWCompositeWidget.

virtual void vtkKWRenderWidget::Close (  )  [virtual]

Close the widget. This method brings the widget back to an empty/clean state. It removes all the actors/props, removes the bindings, resets the annotations, etc.

virtual void vtkKWRenderWidget::Render (  )  [virtual]

Render the scene.

virtual int vtkKWRenderWidget::GetRenderState (  )  [virtual]

Enable/disable rendering.

virtual void vtkKWRenderWidget::SetRenderState ( int   )  [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::RenderStateOn (  )  [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::RenderStateOff (  )  [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::SetRenderMode ( int   )  [virtual]

Set/Get the rendering mode. BTX

virtual int vtkKWRenderWidget::GetRenderMode (  )  [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::SetRenderModeToInteractive (  )  [inline, virtual]

Set/Get the rendering mode. BTX

Definition at line 82 of file vtkKWRenderWidget.h.

virtual void vtkKWRenderWidget::SetRenderModeToStill (  )  [inline, virtual]

Set/Get the rendering mode. BTX

Definition at line 84 of file vtkKWRenderWidget.h.

virtual void vtkKWRenderWidget::SetRenderModeToSingle (  )  [inline, virtual]

Set/Get the rendering mode. BTX

Definition at line 86 of file vtkKWRenderWidget.h.

virtual void vtkKWRenderWidget::SetRenderModeToDisabled (  )  [inline, virtual]

Set/Get the rendering mode. BTX

Definition at line 88 of file vtkKWRenderWidget.h.

virtual void vtkKWRenderWidget::SetCollapsingRenders ( int   )  [virtual]

Set/Get the collapsing of renders. If this is set to true, then all call to Render() will be collapsed. Once this is set to false, if there are any pending render requests, the widget will render.

virtual void vtkKWRenderWidget::CollapsingRendersOn (  )  [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::CollapsingRendersOff (  )  [virtual]

Set/Get the rendering mode. BTX

virtual int vtkKWRenderWidget::GetCollapsingRenders (  )  [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::Reset (  )  [virtual]

Reset the widget. This implementation calls ResetCamera() and Render().

virtual void vtkKWRenderWidget::ResetCamera (  )  [virtual]

Reset the camera to display all the actors in the scene, or just the camera clipping range. This is done for each renderer (if multiple renderers are supported). Note that no default renderers exist before Create() is called.

virtual void vtkKWRenderWidget::ResetCameraClippingRange (  )  [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::AddBindings (  )  [virtual]

Add/remove the widget bindings. The AddBindings() method sets up general bindings like the Expose or Configure events so that the scene is rendered properly when the widget is mapped to the screen. It also calls the AddInteractionBindings() which sets up interaction bindings like mouse events, keyboard events, etc. The AddBindings() method is called automatically when the widget is created by the Create() method. Yet, the methods are public so that one can temporarily enable or disable the bindings to limit the interaction with this widget.

virtual void vtkKWRenderWidget::RemoveBindings (  )  [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::AddInteractionBindings (  )  [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::RemoveInteractionBindings (  )  [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::SetAnnotationsVisibility ( int  v  )  [virtual]

Convenience method to set the visibility of all annotations. Subclasses should override this method to propagate this visibility flag to their own annotations.

virtual void vtkKWRenderWidget::AnnotationsVisibilityOn (  )  [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::AnnotationsVisibilityOff (  )  [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::SetCornerAnnotationVisibility ( int  v  )  [virtual]

Get and control the corner annotation. Turn SupportCornerAnnotation to off (on by default) if this widget should not support any corner annotation (i.e. never display it, and do not populate the annotation context menu with the corresponding entry).

virtual int vtkKWRenderWidget::GetCornerAnnotationVisibility (  )  [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::ToggleCornerAnnotationVisibility (  )  [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::CornerAnnotationVisibilityOn (  )  [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::CornerAnnotationVisibilityOff (  )  [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::SetCornerAnnotationColor ( double  r,
double  g,
double  b 
) [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::SetCornerAnnotationColor ( double *  rgb  )  [inline, virtual]

Set/Get the rendering mode. BTX

Definition at line 148 of file vtkKWRenderWidget.h.

virtual double* vtkKWRenderWidget::GetCornerAnnotationColor (  )  [virtual]

Set/Get the rendering mode. BTX

virtual vtkCornerAnnotation* vtkKWRenderWidget::GetCornerAnnotation (  )  [virtual]

Set/Get the rendering mode. BTX

virtual int vtkKWRenderWidget::GetSupportCornerAnnotation (  )  [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::SetSupportCornerAnnotation ( int   )  [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::SupportCornerAnnotationOn (  )  [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::SupportCornerAnnotationOff (  )  [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::SetHeaderAnnotationVisibility ( int  v  )  [virtual]

Get and control the header annotation.

virtual int vtkKWRenderWidget::GetHeaderAnnotationVisibility (  )  [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::ToggleHeaderAnnotationVisibility (  )  [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::HeaderAnnotationVisibilityOn (  )  [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::HeaderAnnotationVisibilityOff (  )  [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::SetHeaderAnnotationColor ( double  r,
double  g,
double  b 
) [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::SetHeaderAnnotationColor ( double *  rgb  )  [inline, virtual]

Set/Get the rendering mode. BTX

Definition at line 164 of file vtkKWRenderWidget.h.

virtual double* vtkKWRenderWidget::GetHeaderAnnotationColor (  )  [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::SetHeaderAnnotationText ( const char *   )  [virtual]

Set/Get the rendering mode. BTX

virtual char* vtkKWRenderWidget::GetHeaderAnnotationText (  )  [virtual]

Set/Get the rendering mode. BTX

virtual vtkTextActor* vtkKWRenderWidget::GetHeaderAnnotation (  )  [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::SetDistanceUnits ( const char *   )  [virtual]

Set/Get the distance units that pixel sizes are measured in

virtual char* vtkKWRenderWidget::GetDistanceUnits (  )  [virtual]

Set/Get the rendering mode. BTX

virtual vtkRenderWindow* vtkKWRenderWidget::GetRenderWindow (  )  [virtual]

Get the render window, get the renderwindow interactor

virtual vtkRenderWindowInteractor* vtkKWRenderWidget::GetRenderWindowInteractor (  )  [virtual]

Set/Get the rendering mode. BTX

virtual vtkKWCoreWidget* vtkKWRenderWidget::GetVTKWidget (  )  [virtual]

Get the VTK widget

virtual vtkRenderer* vtkKWRenderWidget::GetRenderer (  )  [inline, virtual]

If the widget supports multiple renderers: GetNthRenderer() gets the Nth renderer (or NULL if it does not exist), GetRendererIndex() gets the id of a given renderer (or -1 if this renderer does not belong to this widget), i.e. its index/position in the list of renderers. AddRenderer() will add a renderer, RemoveAllRenderers will remove all renderers. Note that no default renderers exist before Create() is called.

Definition at line 197 of file vtkKWRenderWidget.h.

virtual vtkRenderer* vtkKWRenderWidget::GetNthRenderer ( int  index  )  [virtual]

Set/Get the rendering mode. BTX

virtual int vtkKWRenderWidget::GetNumberOfRenderers (  )  [virtual]

Set/Get the rendering mode. BTX

virtual int vtkKWRenderWidget::GetRendererIndex ( vtkRenderer  )  [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::AddRenderer ( vtkRenderer  )  [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::RemoveRenderer ( vtkRenderer  )  [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::RemoveNthRenderer ( int  index  )  [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::RemoveAllRenderers (  )  [virtual]

Set/Get the rendering mode. BTX

virtual vtkRenderer* vtkKWRenderWidget::GetOverlayRenderer (  )  [inline, virtual]

Get the overlay renderer. Note that no default overlay renderer exist before Create() is called.

Definition at line 210 of file vtkKWRenderWidget.h.

virtual vtkRenderer* vtkKWRenderWidget::GetNthOverlayRenderer ( int  index  )  [virtual]

Set/Get the rendering mode. BTX

virtual int vtkKWRenderWidget::GetNumberOfOverlayRenderers (  )  [virtual]

Set/Get the rendering mode. BTX

virtual int vtkKWRenderWidget::GetOverlayRendererIndex ( vtkRenderer  )  [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::AddOverlayRenderer ( vtkRenderer  )  [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::RemoveOverlayRenderer ( vtkRenderer  )  [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::RemoveNthOverlayRenderer ( int  index  )  [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::RemoveAllOverlayRenderers (  )  [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::GetRendererBackgroundColor ( double *  r,
double *  g,
double *  b 
) [virtual]

Set the backgrounds color of the renderer(s) (not the overlay ones). Note that no default renderers exist before Create() is called.

virtual void vtkKWRenderWidget::SetRendererBackgroundColor ( double  r,
double  g,
double  b 
) [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::SetRendererBackgroundColor ( double  rgb[3]  )  [inline, virtual]

Set/Get the rendering mode. BTX

Definition at line 226 of file vtkKWRenderWidget.h.

virtual void vtkKWRenderWidget::GetRendererBackgroundColor2 ( double *  r,
double *  g,
double *  b 
) [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::SetRendererBackgroundColor2 ( double  r,
double  g,
double  b 
) [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::SetRendererBackgroundColor2 ( double  rgb[3]  )  [inline, virtual]

Set/Get the rendering mode. BTX

Definition at line 230 of file vtkKWRenderWidget.h.

virtual void vtkKWRenderWidget::SetRendererGradientBackground ( int   )  [virtual]

Set/Get the rendering mode. BTX

virtual int vtkKWRenderWidget::GetRendererGradientBackground (  )  [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::ToggleRendererGradientBackground (  )  [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::AddViewProp ( vtkProp prop  )  [virtual]

Add props (actors) to *all* widget renderer(s) or *all* overlay renderer(s), or to specific ones. Note that no default renderers exist before Create() is called.

virtual void vtkKWRenderWidget::AddViewPropToNthRenderer ( vtkProp p,
int  index 
) [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::AddOverlayViewProp ( vtkProp prop  )  [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::AddViewPropToNthOverlayRenderer ( vtkProp p,
int  index 
) [virtual]

Set/Get the rendering mode. BTX

virtual int vtkKWRenderWidget::HasViewProp ( vtkProp prop  )  [virtual]

Query/remove props (actors) from both renderer(s) and overlay renderer(s).

virtual void vtkKWRenderWidget::RemoveViewProp ( vtkProp prop  )  [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::RemoveAllViewProps (  )  [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::ComputeVisiblePropBounds ( int  index,
double  bounds[6] 
) [virtual]

The ComputeVisiblePropBounds() method returns the bounds of the visible props for a renderer (given its index). By default, it is just a call to vtkRenderer::ComputeVisiblePropBounds().

virtual void vtkKWRenderWidget::SetPrinting ( int  arg  )  [virtual]

Set/Get the printing flag (i.e., are we printing?)

virtual void vtkKWRenderWidget::PrintingOn (  )  [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::PrintingOff (  )  [virtual]

Set/Get the rendering mode. BTX

virtual int vtkKWRenderWidget::GetPrinting (  )  [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::OffScreenRenderingOn (  )  [virtual]

Set/Get offscreen rendering flag (e.g., for screenshots)

virtual void vtkKWRenderWidget::OffScreenRenderingOff (  )  [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::SetOffScreenRendering ( int   )  [virtual]

Set/Get the rendering mode. BTX

virtual int vtkKWRenderWidget::GetOffScreenRendering (  )  [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::SetUseContextMenu ( int   )  [virtual]

Use a context menu. It is posted by a right click, and allows properties and mode to be controlled.

virtual int vtkKWRenderWidget::GetUseContextMenu (  )  [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::UseContextMenuOn (  )  [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::UseContextMenuOff (  )  [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::UpdateEnableState (  )  [virtual]

Update the "enable" state of the object and its internal parts. Depending on different Ivars (this->Enabled, the application's Limited Edition Mode, etc.), the "enable" state of the object is updated and propagated to its internal parts/subwidgets. This will, for example, enable/disable parts of the widget UI, enable/disable the visibility of 3D widgets, etc.

Reimplemented from vtkKWWidget.

virtual void vtkKWRenderWidget::Register ( vtkObjectBase o  )  [virtual]

Overridden for debugging purposes. This class is usually the center of the whole "a vtkTkRenderWidget is being destroyed before its render window" problem.

virtual void vtkKWRenderWidget::UnRegister ( vtkObjectBase o  )  [virtual]

Set/Get the rendering mode. BTX

Reimplemented from vtkKWWidget.

virtual void* vtkKWRenderWidget::GetMemoryDC (  )  [virtual]

Setup print parameters

Get memory device context (when rendering to memory)

virtual void vtkKWRenderWidget::AddCallbackCommandObservers (  )  [virtual]

Add all the default observers needed by that object, or remove all the observers that were added through AddCallbackCommandObserver. Subclasses can override these methods to add/remove their own default observers, but should call the superclass too.

Reimplemented from vtkKWObject.

virtual void vtkKWRenderWidget::RemoveCallbackCommandObservers (  )  [virtual]

Set/Get the rendering mode. BTX

Reimplemented from vtkKWObject.

virtual void vtkKWRenderWidget::MouseMoveCallback ( int  num,
int  x,
int  y,
int  ctrl,
int  shift,
int  alt 
) [virtual]

Callbacks. Internal, do not use.

virtual void vtkKWRenderWidget::MouseWheelCallback ( int  delta,
int  ctrl,
int  shift,
int  alt 
) [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::MouseButtonPressCallback ( int  num,
int  x,
int  y,
int  ctrl,
int  shift,
int  alt,
int  repeat 
) [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::MouseButtonReleaseCallback ( int  num,
int  x,
int  y,
int  ctrl,
int  shift,
int  alt 
) [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::KeyPressCallback ( char  key,
int  x,
int  y,
int  ctrl,
int  shift,
int  alt,
char *  keysym 
) [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::KeyReleaseCallback ( char  key,
int  x,
int  y,
int  ctrl,
int  shift,
int  alt,
char *  keysym 
) [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::ConfigureCallback ( int  width,
int  height 
) [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::ExposeCallback (  )  [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::EnterCallback ( int  x,
int  y 
) [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::LeaveCallback ( int  x,
int  y 
) [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::FocusInCallback (  )  [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::FocusOutCallback (  )  [virtual]

Set/Get the rendering mode. BTX

virtual int vtkKWRenderWidget::RendererBackgroundColorCallback (  )  [virtual]

Set/Get the rendering mode. BTX

virtual int vtkKWRenderWidget::RendererBackgroundColor2Callback (  )  [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::RendererGradientBackgroundCallback (  )  [virtual]

Set/Get the rendering mode. BTX

virtual char* vtkKWRenderWidget::GetRendererBackgroundColorRegKey (  )  [virtual]

Some constants

virtual void vtkKWRenderWidget::SetRendererBackgroundColorRegKey ( const char *   )  [virtual]

Set/Get the rendering mode. BTX

virtual char* vtkKWRenderWidget::GetRendererBackgroundColor2RegKey (  )  [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::SetRendererBackgroundColor2RegKey ( const char *   )  [virtual]

Set/Get the rendering mode. BTX

virtual char* vtkKWRenderWidget::GetRendererGradientBackgroundRegKey (  )  [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::SetRendererGradientBackgroundRegKey ( const char *   )  [virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::CreateWidget (  )  [protected, virtual]

Create the widget.

Reimplemented from vtkKWCompositeWidget.

virtual void vtkKWRenderWidget::CreateDefaultRenderers (  )  [protected, virtual]

Create the default renderers inside the render window. Superclass can override to create different renderers. It is called by Create().

virtual void vtkKWRenderWidget::InstallRenderers (  )  [protected, virtual]

Install the renderers inside the render window. Superclass can override to install them in a different layout. It is called by Create().

virtual void vtkKWRenderWidget::SetRenderersDefaultValues (  )  [protected, virtual]

Set the renderers default values (say, default background colors).

virtual void vtkKWRenderWidget::UpdateAccordingToUnits (  )  [inline, protected, virtual]

Update the widget according to the units. Should be called when any units-related ivar has changed.

Definition at line 407 of file vtkKWRenderWidget.h.

virtual void vtkKWRenderWidget::SetupMemoryRendering ( int  width,
int  height,
void *  cd 
) [protected, virtual]

Setup memory rendering

virtual void vtkKWRenderWidget::ResumeScreenRendering (  )  [protected, virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::ProcessCallbackCommandEvents ( vtkObject caller,
unsigned long  event,
void *  calldata 
) [protected, virtual]

Processes the events that are passed through CallbackCommand (or others). Subclasses can oberride this method to process their own events, but should call the superclass too.

Reimplemented from vtkKWObject.

virtual void vtkKWRenderWidget::PopulateContextMenu ( vtkKWMenu  )  [protected, virtual]

Populate the context menu that pops up when the user right-clicks on the render area. Superclass should override this method to populate this menu with the commands they feel comfortable exposing to the user. This implementation is actually split into several methods to help organizing the menu into several categories. It calls, in that order: - PopulateContextMenuWithInteractionEntries(): interaction mode - PopulateContextMenuWithAnnotationEntries(): annotations, 2d text - PopulateContextMenuWithOptionEntries(): misc. options - PopulateContextMenuWithCameraEntries(): camera, change viewpoints - PopulateContextMenuWithColorEntries(): background color, etc. Each method is passed a pointer to the context menu. A menu separator is added automatically between each non-empty section.

virtual void vtkKWRenderWidget::PopulateContextMenuWithInteractionEntries ( vtkKWMenu  )  [inline, protected, virtual]

Set/Get the rendering mode. BTX

Definition at line 442 of file vtkKWRenderWidget.h.

virtual void vtkKWRenderWidget::PopulateContextMenuWithAnnotationEntries ( vtkKWMenu  )  [protected, virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::PopulateContextMenuWithOptionEntries ( vtkKWMenu  )  [inline, protected, virtual]

Set/Get the rendering mode. BTX

Definition at line 444 of file vtkKWRenderWidget.h.

virtual void vtkKWRenderWidget::PopulateContextMenuWithCameraEntries ( vtkKWMenu  )  [protected, virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::PopulateContextMenuWithColorEntries ( vtkKWMenu  )  [protected, virtual]

Set/Get the rendering mode. BTX

virtual void vtkKWRenderWidget::UpdateRenderWindowInteractorSize ( int  width,
int  height 
) [protected, virtual]

Update the render window interactor size


Member Data Documentation

Definition at line 377 of file vtkKWRenderWidget.h.

Definition at line 378 of file vtkKWRenderWidget.h.

Definition at line 379 of file vtkKWRenderWidget.h.

Definition at line 380 of file vtkKWRenderWidget.h.

Definition at line 382 of file vtkKWRenderWidget.h.

Definition at line 383 of file vtkKWRenderWidget.h.

int vtkKWRenderWidget::InExpose [protected]

Definition at line 384 of file vtkKWRenderWidget.h.

Definition at line 385 of file vtkKWRenderWidget.h.

int vtkKWRenderWidget::Printing [protected]

Definition at line 386 of file vtkKWRenderWidget.h.

Definition at line 388 of file vtkKWRenderWidget.h.

Definition at line 390 of file vtkKWRenderWidget.h.

Definition at line 391 of file vtkKWRenderWidget.h.

Definition at line 425 of file vtkKWRenderWidget.h.

Definition at line 426 of file vtkKWRenderWidget.h.

vtkKWRenderWidgetInternals* vtkKWRenderWidget::Internals [protected]

PIMPL Encapsulation for STL containers

Reimplemented from vtkKWCoreWidget.

Definition at line 454 of file vtkKWRenderWidget.h.

Definition at line 456 of file vtkKWRenderWidget.h.

Some constants

Definition at line 460 of file vtkKWRenderWidget.h.

Set/Get the rendering mode. BTX

Definition at line 461 of file vtkKWRenderWidget.h.

Set/Get the rendering mode. BTX

Definition at line 462 of file vtkKWRenderWidget.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Tue Apr 27 02:36:54 2010 for KWWidgets by  doxygen 1.6.1