vtkCenteredSliderRepresentation Class Reference

#include <vtkCenteredSliderRepresentation.h>

Inheritance diagram for vtkCenteredSliderRepresentation:

Inheritance graph
[legend]
Collaboration diagram for vtkCenteredSliderRepresentation:

Collaboration graph
[legend]

List of all members.


Detailed Description

provide the representation for a vtkCenteredSliderWidget

This class is used to represent and render a vtkCenteredSliderWidget. To use this class, you must at a minimum specify the end points of the slider. Optional instance variable can be used to modify the appearance of the widget.

See also:
vtkSliderWidget

Definition at line 58 of file vtkCenteredSliderRepresentation.h.

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

Public Member Functions

vtkCoordinate * GetPoint1Coordinate ()
vtkCoordinate * GetPoint2Coordinate ()
virtual void SetTitleText (const char *)
virtual const char * GetTitleText ()
virtual vtkProperty2D * GetTubeProperty ()
virtual vtkProperty2D * GetSliderProperty ()
virtual vtkProperty2D * GetSelectedProperty ()
virtual vtkTextProperty * GetLabelProperty ()
virtual void PlaceWidget (double bounds[6])
virtual void BuildRepresentation ()
virtual void StartWidgetInteraction (double eventPos[2])
virtual int ComputeInteractionState (int X, int Y, int modify=0)
virtual void WidgetInteraction (double eventPos[2])
virtual void Highlight (int)
virtual void GetActors (vtkPropCollection *)
virtual void ReleaseGraphicsResources (vtkWindow *)
virtual int RenderOverlay (vtkViewport *)
virtual int RenderOpaqueGeometry (vtkViewport *)

Static Public Member Functions

static
vtkCenteredSliderRepresentation * 
New ()

Protected Member Functions

 vtkCenteredSliderRepresentation ()
 ~vtkCenteredSliderRepresentation ()
virtual double ComputePickPosition (double x, double y)
void BuildTube ()

Protected Attributes

vtkCoordinate * Point1Coordinate
vtkCoordinate * Point2Coordinate
vtkTransform * XForm
vtkPoints * Points
vtkCellArray * SliderCells
vtkPolyData * Slider
vtkTransformPolyDataFilter * SliderXForm
vtkPolyDataMapper2D * SliderMapper
vtkActor2D * SliderActor
vtkProperty2D * SliderProperty
vtkCellArray * TubeCells
vtkPolyData * Tube
vtkTransformPolyDataFilter * TubeXForm
vtkPolyDataMapper2D * TubeMapper
vtkActor2D * TubeActor
vtkProperty2D * TubeProperty
vtkTextProperty * LabelProperty
vtkTextActor * LabelActor
vtkProperty2D * SelectedProperty
int HighlightState

Member Typedef Documentation

Standard methods for the class.

Reimplemented from vtkSliderRepresentation.

Definition at line 67 of file vtkCenteredSliderRepresentation.h.


Constructor & Destructor Documentation

vtkCenteredSliderRepresentation::vtkCenteredSliderRepresentation (  )  [protected]

vtkCenteredSliderRepresentation::~vtkCenteredSliderRepresentation (  )  [protected]


Member Function Documentation

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

Instantiate the class.

Reimplemented from vtkObject.

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

Standard methods for the class.

Reimplemented from vtkSliderRepresentation.

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

Standard methods for the class.

Reimplemented from vtkSliderRepresentation.

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

Standard methods for the class.

Reimplemented from vtkSliderRepresentation.

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

Standard methods for the class.

Reimplemented from vtkSliderRepresentation.

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

Standard methods for the class.

Reimplemented from vtkSliderRepresentation.

vtkCoordinate* vtkCenteredSliderRepresentation::GetPoint1Coordinate (  ) 

Position the first end point of the slider. Note that this point is an instance of vtkCoordinate, meaning that Point 1 can be specified in a variety of coordinate systems, and can even be relative to another point. To set the point, you'll want to get the Point1Coordinate and then invoke the necessary methods to put it into the correct coordinate system and set the correct initial value.

vtkCoordinate* vtkCenteredSliderRepresentation::GetPoint2Coordinate (  ) 

Position the second end point of the slider. Note that this point is an instance of vtkCoordinate, meaning that Point 1 can be specified in a variety of coordinate systems, and can even be relative to another point. To set the point, you'll want to get the Point2Coordinate and then invoke the necessary methods to put it into the correct coordinate system and set the correct initial value.

virtual void vtkCenteredSliderRepresentation::SetTitleText ( const char *   )  [virtual]

Specify the label text for this widget. If the value is not set, or set to the empty string "", then the label text is not displayed.

Reimplemented from vtkSliderRepresentation.

virtual const char* vtkCenteredSliderRepresentation::GetTitleText (  )  [virtual]

Specify the label text for this widget. If the value is not set, or set to the empty string "", then the label text is not displayed.

Reimplemented from vtkSliderRepresentation.

virtual vtkProperty2D* vtkCenteredSliderRepresentation::GetTubeProperty (  )  [virtual]

Get the properties for the tube and slider

virtual vtkProperty2D* vtkCenteredSliderRepresentation::GetSliderProperty (  )  [virtual]

Get the properties for the tube and slider

virtual vtkProperty2D* vtkCenteredSliderRepresentation::GetSelectedProperty (  )  [virtual]

Get the selection property. This property is used to modify the appearance of selected objects (e.g., the slider).

virtual vtkTextProperty* vtkCenteredSliderRepresentation::GetLabelProperty (  )  [virtual]

Set/Get the properties for the label and title text.

virtual void vtkCenteredSliderRepresentation::PlaceWidget ( double  bounds[6]  )  [virtual]

Methods to interface with the vtkSliderWidget. The PlaceWidget() method assumes that the parameter bounds[6] specifies the location in display space where the widget should be placed.

virtual void vtkCenteredSliderRepresentation::BuildRepresentation (  )  [virtual]

Methods to interface with the vtkSliderWidget. The PlaceWidget() method assumes that the parameter bounds[6] specifies the location in display space where the widget should be placed.

Implements vtkWidgetRepresentation.

virtual void vtkCenteredSliderRepresentation::StartWidgetInteraction ( double  eventPos[2]  )  [virtual]

Methods to interface with the vtkSliderWidget. The PlaceWidget() method assumes that the parameter bounds[6] specifies the location in display space where the widget should be placed.

Reimplemented from vtkWidgetRepresentation.

virtual int vtkCenteredSliderRepresentation::ComputeInteractionState ( int  X,
int  Y,
int  modify = 0 
) [virtual]

Methods to interface with the vtkSliderWidget. The PlaceWidget() method assumes that the parameter bounds[6] specifies the location in display space where the widget should be placed.

Reimplemented from vtkWidgetRepresentation.

virtual void vtkCenteredSliderRepresentation::WidgetInteraction ( double  eventPos[2]  )  [virtual]

Methods to interface with the vtkSliderWidget. The PlaceWidget() method assumes that the parameter bounds[6] specifies the location in display space where the widget should be placed.

Reimplemented from vtkWidgetRepresentation.

virtual void vtkCenteredSliderRepresentation::Highlight ( int   )  [virtual]

Methods to interface with the vtkSliderWidget. The PlaceWidget() method assumes that the parameter bounds[6] specifies the location in display space where the widget should be placed.

virtual void vtkCenteredSliderRepresentation::GetActors ( vtkPropCollection *   )  [virtual]

Methods supporting the rendering process.

Reimplemented from vtkWidgetRepresentation.

virtual void vtkCenteredSliderRepresentation::ReleaseGraphicsResources ( vtkWindow *   )  [virtual]

Methods supporting the rendering process.

Reimplemented from vtkWidgetRepresentation.

virtual int vtkCenteredSliderRepresentation::RenderOverlay ( vtkViewport *   )  [virtual]

Methods supporting the rendering process.

Reimplemented from vtkProp.

virtual int vtkCenteredSliderRepresentation::RenderOpaqueGeometry ( vtkViewport *   )  [virtual]

Methods supporting the rendering process.

Reimplemented from vtkProp.

virtual double vtkCenteredSliderRepresentation::ComputePickPosition ( double  x,
double  y 
) [protected, virtual]

void vtkCenteredSliderRepresentation::BuildTube (  )  [protected]


Member Data Documentation

Definition at line 136 of file vtkCenteredSliderRepresentation.h.

Definition at line 137 of file vtkCenteredSliderRepresentation.h.

Definition at line 144 of file vtkCenteredSliderRepresentation.h.

Definition at line 145 of file vtkCenteredSliderRepresentation.h.

Definition at line 147 of file vtkCenteredSliderRepresentation.h.

Reimplemented from vtkSliderRepresentation.

Definition at line 148 of file vtkCenteredSliderRepresentation.h.

Definition at line 149 of file vtkCenteredSliderRepresentation.h.

Definition at line 150 of file vtkCenteredSliderRepresentation.h.

Definition at line 151 of file vtkCenteredSliderRepresentation.h.

Definition at line 152 of file vtkCenteredSliderRepresentation.h.

Definition at line 154 of file vtkCenteredSliderRepresentation.h.

Reimplemented from vtkSliderRepresentation.

Definition at line 155 of file vtkCenteredSliderRepresentation.h.

Definition at line 156 of file vtkCenteredSliderRepresentation.h.

Definition at line 157 of file vtkCenteredSliderRepresentation.h.

Definition at line 158 of file vtkCenteredSliderRepresentation.h.

Definition at line 159 of file vtkCenteredSliderRepresentation.h.

Definition at line 161 of file vtkCenteredSliderRepresentation.h.

Definition at line 162 of file vtkCenteredSliderRepresentation.h.

Definition at line 164 of file vtkCenteredSliderRepresentation.h.

Definition at line 165 of file vtkCenteredSliderRepresentation.h.


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

Generated on Mon Sep 27 18:19:31 2010 for VTK by  doxygen 1.5.6