vtkSliderRepresentation2D Class Reference

#include <vtkSliderRepresentation2D.h>

Inheritance diagram for vtkSliderRepresentation2D:

Inheritance graph
[legend]
Collaboration diagram for vtkSliderRepresentation2D:

Collaboration graph
[legend]

List of all members.


Detailed Description

provide the representation for a vtkSliderWidget with a 3D skin

This class is used to represent and render a vtkSliderWidget. 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
Tests:
vtkSliderRepresentation2D (Tests)

Definition at line 54 of file vtkSliderRepresentation2D.h.

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

Public Member Functions

vtkCoordinateGetPoint1Coordinate ()
vtkCoordinateGetPoint2Coordinate ()
virtual void SetTitleText (const char *)
virtual const char * GetTitleText ()
virtual vtkProperty2DGetSliderProperty ()
virtual vtkProperty2DGetTubeProperty ()
virtual vtkProperty2DGetCapProperty ()
virtual vtkProperty2DGetSelectedProperty ()
virtual vtkTextPropertyGetLabelProperty ()
virtual vtkTextPropertyGetTitleProperty ()
virtual void PlaceWidget (double bounds[6])
virtual void BuildRepresentation ()
virtual void StartWidgetInteraction (double eventPos[2])
virtual void WidgetInteraction (double newEventPos[2])
virtual void Highlight (int)
virtual void GetActors2D (vtkPropCollection *)
virtual void ReleaseGraphicsResources (vtkWindow *)
virtual int RenderOverlay (vtkViewport *)
virtual int RenderOpaqueGeometry (vtkViewport *)

Static Public Member Functions

static vtkSliderRepresentation2DNew ()

Protected Member Functions

 vtkSliderRepresentation2D ()
 ~vtkSliderRepresentation2D ()
virtual double ComputePickPosition (double eventPos[2])

Protected Attributes

vtkCoordinatePoint1Coordinate
vtkCoordinatePoint2Coordinate
vtkTransformXForm
vtkPointsPoints
vtkCellArraySliderCells
vtkPolyDataSlider
vtkTransformPolyDataFilterSliderXForm
vtkPolyDataMapper2DSliderMapper
vtkActor2DSliderActor
vtkProperty2DSliderProperty
vtkCellArrayTubeCells
vtkPolyDataTube
vtkTransformPolyDataFilterTubeXForm
vtkPolyDataMapper2DTubeMapper
vtkActor2DTubeActor
vtkProperty2DTubeProperty
vtkCellArrayCapCells
vtkPolyDataCap
vtkTransformPolyDataFilterCapXForm
vtkPolyDataMapper2DCapMapper
vtkActor2DCapActor
vtkProperty2DCapProperty
vtkTextPropertyLabelProperty
vtkTextMapperLabelMapper
vtkActor2DLabelActor
vtkTextPropertyTitleProperty
vtkTextMapperTitleMapper
vtkActor2DTitleActor
vtkProperty2DSelectedProperty
double X

Member Typedef Documentation

Standard methods for the class.

Reimplemented from vtkSliderRepresentation.

Definition at line 62 of file vtkSliderRepresentation2D.h.


Constructor & Destructor Documentation

vtkSliderRepresentation2D::vtkSliderRepresentation2D (  )  [protected]

vtkSliderRepresentation2D::~vtkSliderRepresentation2D (  )  [protected]


Member Function Documentation

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

Instantiate the class.

Reimplemented from vtkObject.

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

Standard methods for the class.

Reimplemented from vtkSliderRepresentation.

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

Standard methods for the class.

Reimplemented from vtkSliderRepresentation.

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

Standard methods for the class.

Reimplemented from vtkSliderRepresentation.

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

Standard methods for the class.

Reimplemented from vtkSliderRepresentation.

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

Standard methods for the class.

Reimplemented from vtkSliderRepresentation.

vtkCoordinate* vtkSliderRepresentation2D::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* vtkSliderRepresentation2D::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 vtkSliderRepresentation2D::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* vtkSliderRepresentation2D::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* vtkSliderRepresentation2D::GetSliderProperty (  )  [virtual]

Get the slider properties. The properties of the slider when selected and unselected can be manipulated.

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

Get the properties for the tube and end caps.

virtual vtkProperty2D* vtkSliderRepresentation2D::GetCapProperty (  )  [virtual]

Get the properties for the tube and end caps.

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

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

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

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

virtual vtkTextProperty* vtkSliderRepresentation2D::GetTitleProperty (  )  [virtual]

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

virtual void vtkSliderRepresentation2D::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 vtkSliderRepresentation2D::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 vtkSliderRepresentation2D::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 void vtkSliderRepresentation2D::WidgetInteraction ( double  newEventPos[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 vtkSliderRepresentation2D::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 vtkSliderRepresentation2D::GetActors2D ( vtkPropCollection  )  [virtual]

Methods supporting the rendering process.

Reimplemented from vtkWidgetRepresentation.

virtual void vtkSliderRepresentation2D::ReleaseGraphicsResources ( vtkWindow  )  [virtual]

Methods supporting the rendering process.

Reimplemented from vtkWidgetRepresentation.

virtual int vtkSliderRepresentation2D::RenderOverlay ( vtkViewport  )  [virtual]

Methods supporting the rendering process.

Reimplemented from vtkProp.

virtual int vtkSliderRepresentation2D::RenderOpaqueGeometry ( vtkViewport  )  [virtual]

Methods supporting the rendering process.

Reimplemented from vtkProp.

virtual double vtkSliderRepresentation2D::ComputePickPosition ( double  eventPos[2]  )  [protected, virtual]


Member Data Documentation

Definition at line 137 of file vtkSliderRepresentation2D.h.

Definition at line 138 of file vtkSliderRepresentation2D.h.

Definition at line 145 of file vtkSliderRepresentation2D.h.

Definition at line 146 of file vtkSliderRepresentation2D.h.

Definition at line 148 of file vtkSliderRepresentation2D.h.

Reimplemented from vtkSliderRepresentation.

Definition at line 149 of file vtkSliderRepresentation2D.h.

Definition at line 150 of file vtkSliderRepresentation2D.h.

Definition at line 151 of file vtkSliderRepresentation2D.h.

Definition at line 152 of file vtkSliderRepresentation2D.h.

Definition at line 153 of file vtkSliderRepresentation2D.h.

Definition at line 155 of file vtkSliderRepresentation2D.h.

Reimplemented from vtkSliderRepresentation.

Definition at line 156 of file vtkSliderRepresentation2D.h.

Definition at line 157 of file vtkSliderRepresentation2D.h.

Definition at line 158 of file vtkSliderRepresentation2D.h.

Definition at line 159 of file vtkSliderRepresentation2D.h.

Definition at line 160 of file vtkSliderRepresentation2D.h.

Definition at line 162 of file vtkSliderRepresentation2D.h.

Definition at line 163 of file vtkSliderRepresentation2D.h.

Definition at line 164 of file vtkSliderRepresentation2D.h.

Definition at line 165 of file vtkSliderRepresentation2D.h.

Definition at line 166 of file vtkSliderRepresentation2D.h.

Definition at line 167 of file vtkSliderRepresentation2D.h.

Definition at line 169 of file vtkSliderRepresentation2D.h.

Definition at line 170 of file vtkSliderRepresentation2D.h.

Definition at line 171 of file vtkSliderRepresentation2D.h.

Definition at line 173 of file vtkSliderRepresentation2D.h.

Definition at line 174 of file vtkSliderRepresentation2D.h.

Definition at line 175 of file vtkSliderRepresentation2D.h.

Definition at line 177 of file vtkSliderRepresentation2D.h.

double vtkSliderRepresentation2D::X [protected]

Definition at line 180 of file vtkSliderRepresentation2D.h.


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

Generated on Wed Jun 3 19:34:33 2009 for VTK by  doxygen 1.5.6