vtkCheckerboardRepresentation Class Reference

#include <vtkCheckerboardRepresentation.h>

Inheritance diagram for vtkCheckerboardRepresentation:

Inheritance graph
[legend]
Collaboration diagram for vtkCheckerboardRepresentation:

Collaboration graph
[legend]

List of all members.


Detailed Description

represent the vtkCheckerboardWidget

The vtkCheckerboardRepresentation is used to implement the representation of the vtkCheckerboardWidget. The user can adjust the number of divisions in each of the i-j directions in a 2D image. A frame appears around the vtkImageActor with sliders along each side of the frame. The user can interactively adjust the sliders to the desired number of checkerboard subdivisions. The representation uses four instances of vtkSliderRepresentation3D to implement itself.

See also:
vtkCheckerboardWidget vtkImageCheckerboard vtkImageActor vtkSliderWidget vtkRectilinearWipeWidget
Tests:
vtkCheckerboardRepresentation (Tests)

Definition at line 44 of file vtkCheckerboardRepresentation.h.

typedef vtkWidgetRepresentation Superclass
static int IsTypeOf (const char *type)
static
vtkCheckerboardRepresentation
SafeDownCast (vtkObject *o)
virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)

Public Types

enum  { TopSlider = 0, RightSlider, BottomSlider, LeftSlider }

Public Member Functions

void SliderValueChanged (int sliderNum)
void SetCheckerboard (vtkImageCheckerboard *chkrbrd)
virtual vtkImageCheckerboardGetCheckerboard ()
void SetImageActor (vtkImageActor *imageActor)
virtual vtkImageActorGetImageActor ()
virtual void SetCornerOffset (double)
virtual double GetCornerOffset ()
void SetTopRepresentation (vtkSliderRepresentation3D *)
void SetRightRepresentation (vtkSliderRepresentation3D *)
void SetBottomRepresentation (vtkSliderRepresentation3D *)
void SetLeftRepresentation (vtkSliderRepresentation3D *)
virtual vtkSliderRepresentation3DGetTopRepresentation ()
virtual vtkSliderRepresentation3DGetRightRepresentation ()
virtual vtkSliderRepresentation3DGetBottomRepresentation ()
virtual vtkSliderRepresentation3DGetLeftRepresentation ()
virtual void BuildRepresentation ()
virtual void GetActors (vtkPropCollection *)
virtual void ReleaseGraphicsResources (vtkWindow *w)
virtual int RenderOverlay (vtkViewport *viewport)
virtual int RenderOpaqueGeometry (vtkViewport *viewport)
virtual int RenderTranslucentPolygonalGeometry (vtkViewport *viewport)
virtual int HasTranslucentPolygonalGeometry ()

Static Public Member Functions

static
vtkCheckerboardRepresentation
New ()

Protected Member Functions

 vtkCheckerboardRepresentation ()
 ~vtkCheckerboardRepresentation ()

Protected Attributes

vtkImageCheckerboardCheckerboard
vtkImageActorImageActor
vtkSliderRepresentation3DTopRepresentation
vtkSliderRepresentation3DRightRepresentation
vtkSliderRepresentation3DBottomRepresentation
vtkSliderRepresentation3DLeftRepresentation
double CornerOffset
int OrthoAxis

Member Typedef Documentation

Standard VTK methods.

Reimplemented from vtkWidgetRepresentation.

Definition at line 52 of file vtkCheckerboardRepresentation.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
TopSlider 
RightSlider 
BottomSlider 
LeftSlider 

Definition at line 77 of file vtkCheckerboardRepresentation.h.


Constructor & Destructor Documentation

vtkCheckerboardRepresentation::vtkCheckerboardRepresentation (  )  [protected]

vtkCheckerboardRepresentation::~vtkCheckerboardRepresentation (  )  [protected]


Member Function Documentation

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

Instantiate class.

Reimplemented from vtkObject.

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

Standard VTK methods.

Reimplemented from vtkWidgetRepresentation.

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

Standard VTK methods.

Reimplemented from vtkWidgetRepresentation.

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

Standard VTK methods.

Reimplemented from vtkWidgetRepresentation.

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

Standard VTK methods.

Reimplemented from vtkWidgetRepresentation.

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

Standard VTK methods.

Reimplemented from vtkWidgetRepresentation.

void vtkCheckerboardRepresentation::SetCheckerboard ( vtkImageCheckerboard chkrbrd  ) 

Specify an instance of vtkImageCheckerboard to manipulate.

virtual vtkImageCheckerboard* vtkCheckerboardRepresentation::GetCheckerboard (  )  [virtual]

Specify an instance of vtkImageCheckerboard to manipulate.

void vtkCheckerboardRepresentation::SetImageActor ( vtkImageActor imageActor  ) 

Specify an instance of vtkImageActor to decorate.

virtual vtkImageActor* vtkCheckerboardRepresentation::GetImageActor (  )  [virtual]

Specify an instance of vtkImageActor to decorate.

virtual void vtkCheckerboardRepresentation::SetCornerOffset ( double   )  [virtual]

Specify the offset of the ends of the sliders (on the boundary edges of the image) from the corner of the image. The offset is expressed as a normalized fraction of the border edges.

virtual double vtkCheckerboardRepresentation::GetCornerOffset (  )  [virtual]

Specify the offset of the ends of the sliders (on the boundary edges of the image) from the corner of the image. The offset is expressed as a normalized fraction of the border edges.

void vtkCheckerboardRepresentation::SliderValueChanged ( int  sliderNum  ) 

This method is invoked by the vtkCheckerboardWidget() when a value of some slider has changed.

void vtkCheckerboardRepresentation::SetTopRepresentation ( vtkSliderRepresentation3D  ) 

Set and get the instances of vtkSliderRepresention used to implement this representation. Normally default representations are created, but you can specify the ones you want to use.

void vtkCheckerboardRepresentation::SetRightRepresentation ( vtkSliderRepresentation3D  ) 

Set and get the instances of vtkSliderRepresention used to implement this representation. Normally default representations are created, but you can specify the ones you want to use.

void vtkCheckerboardRepresentation::SetBottomRepresentation ( vtkSliderRepresentation3D  ) 

Set and get the instances of vtkSliderRepresention used to implement this representation. Normally default representations are created, but you can specify the ones you want to use.

void vtkCheckerboardRepresentation::SetLeftRepresentation ( vtkSliderRepresentation3D  ) 

Set and get the instances of vtkSliderRepresention used to implement this representation. Normally default representations are created, but you can specify the ones you want to use.

virtual vtkSliderRepresentation3D* vtkCheckerboardRepresentation::GetTopRepresentation (  )  [virtual]

Set and get the instances of vtkSliderRepresention used to implement this representation. Normally default representations are created, but you can specify the ones you want to use.

virtual vtkSliderRepresentation3D* vtkCheckerboardRepresentation::GetRightRepresentation (  )  [virtual]

Set and get the instances of vtkSliderRepresention used to implement this representation. Normally default representations are created, but you can specify the ones you want to use.

virtual vtkSliderRepresentation3D* vtkCheckerboardRepresentation::GetBottomRepresentation (  )  [virtual]

Set and get the instances of vtkSliderRepresention used to implement this representation. Normally default representations are created, but you can specify the ones you want to use.

virtual vtkSliderRepresentation3D* vtkCheckerboardRepresentation::GetLeftRepresentation (  )  [virtual]

Set and get the instances of vtkSliderRepresention used to implement this representation. Normally default representations are created, but you can specify the ones you want to use.

virtual void vtkCheckerboardRepresentation::BuildRepresentation (  )  [virtual]

Methods required by superclass.

Implements vtkWidgetRepresentation.

virtual void vtkCheckerboardRepresentation::GetActors ( vtkPropCollection  )  [virtual]

Methods required by superclass.

Reimplemented from vtkWidgetRepresentation.

virtual void vtkCheckerboardRepresentation::ReleaseGraphicsResources ( vtkWindow w  )  [virtual]

Methods required by superclass.

Reimplemented from vtkWidgetRepresentation.

virtual int vtkCheckerboardRepresentation::RenderOverlay ( vtkViewport viewport  )  [virtual]

Methods required by superclass.

Reimplemented from vtkProp.

virtual int vtkCheckerboardRepresentation::RenderOpaqueGeometry ( vtkViewport viewport  )  [virtual]

Methods required by superclass.

Reimplemented from vtkProp.

virtual int vtkCheckerboardRepresentation::RenderTranslucentPolygonalGeometry ( vtkViewport viewport  )  [virtual]

Methods required by superclass.

Reimplemented from vtkProp.

virtual int vtkCheckerboardRepresentation::HasTranslucentPolygonalGeometry (  )  [virtual]

Methods required by superclass.

Reimplemented from vtkWidgetRepresentation.


Member Data Documentation

Definition at line 119 of file vtkCheckerboardRepresentation.h.

Definition at line 120 of file vtkCheckerboardRepresentation.h.

Definition at line 123 of file vtkCheckerboardRepresentation.h.

Definition at line 124 of file vtkCheckerboardRepresentation.h.

Definition at line 125 of file vtkCheckerboardRepresentation.h.

Definition at line 126 of file vtkCheckerboardRepresentation.h.

Definition at line 129 of file vtkCheckerboardRepresentation.h.

Definition at line 132 of file vtkCheckerboardRepresentation.h.


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

Generated on Sat Dec 27 13:19:44 2008 for VTK by  doxygen 1.5.6