VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkCheckerboardRepresentation Class Reference

represent the vtkCheckerboardWidget More...

#include <vtkCheckerboardRepresentation.h>

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

List of all members.

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
typedef vtkWidgetRepresentation Superclass
static int IsTypeOf (const char *type)
static
vtkCheckerboardRepresentation
SafeDownCast (vtkObjectBase *o)
virtual int IsA (const char *type)
vtkCheckerboardRepresentationNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual vtkObjectBaseNewInstanceInternal () const

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 45 of file vtkCheckerboardRepresentation.h.


Member Typedef Documentation

Standard VTK methods.

Reimplemented from vtkWidgetRepresentation.

Definition at line 53 of file vtkCheckerboardRepresentation.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
TopSlider 
RightSlider 
BottomSlider 
LeftSlider 

Definition at line 78 of file vtkCheckerboardRepresentation.h.


Constructor & Destructor Documentation


Member Function Documentation

Instantiate class.

Reimplemented from vtkObject.

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.

Standard VTK methods.

Reimplemented from vtkWidgetRepresentation.

virtual vtkObjectBase* vtkCheckerboardRepresentation::NewInstanceInternal ( ) const [protected, virtual]

Standard VTK methods.

Reimplemented from vtkWidgetRepresentation.

Standard VTK methods.

Reimplemented from vtkWidgetRepresentation.

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

Standard VTK methods.

Reimplemented from vtkWidgetRepresentation.

Specify an instance of vtkImageCheckerboard to manipulate.

Specify an instance of vtkImageCheckerboard to manipulate.

Specify an instance of vtkImageActor to decorate.

Specify an instance of vtkImageActor to decorate.

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.

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.

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

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.

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.

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.

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.

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.

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.

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.

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.

Methods required by superclass.

Implements vtkWidgetRepresentation.

Methods required by superclass.

Reimplemented from vtkWidgetRepresentation.

Methods required by superclass.

Reimplemented from vtkWidgetRepresentation.

Methods required by superclass.

Reimplemented from vtkProp.

Methods required by superclass.

Reimplemented from vtkProp.

Methods required by superclass.

Reimplemented from vtkProp.

Methods required by superclass.

Reimplemented from vtkWidgetRepresentation.


Member Data Documentation

Definition at line 120 of file vtkCheckerboardRepresentation.h.

Definition at line 121 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 127 of file vtkCheckerboardRepresentation.h.

Definition at line 130 of file vtkCheckerboardRepresentation.h.

Definition at line 133 of file vtkCheckerboardRepresentation.h.


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