VTK
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkSliderRepresentation2D Class Reference

provide the representation for a vtkSliderWidget with a 3D skin More...

#include <vtkSliderRepresentation2D.h>

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

List of all members.

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

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
Examples:
vtkSliderRepresentation2D (Examples)
Tests:
vtkSliderRepresentation2D (Tests)

Definition at line 58 of file vtkSliderRepresentation2D.h.


Member Typedef Documentation

Standard methods for the class.

Reimplemented from vtkSliderRepresentation.

Definition at line 66 of file vtkSliderRepresentation2D.h.


Constructor & Destructor Documentation


Member Function Documentation

Instantiate the class.

Reimplemented from vtkObject.

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.

Standard methods for the class.

Reimplemented from vtkSliderRepresentation.

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

Standard methods for the class.

Reimplemented from vtkSliderRepresentation.

Standard methods for the class.

Reimplemented from vtkSliderRepresentation.

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

Standard methods for the class.

Reimplemented from vtkSliderRepresentation.

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.

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.

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

Get the properties for the tube and end caps.

Get the properties for the tube and end caps.

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

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

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.

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.

Methods supporting the rendering process.

Reimplemented from vtkWidgetRepresentation.

Methods supporting the rendering process.

Reimplemented from vtkWidgetRepresentation.

Methods supporting the rendering process.

Reimplemented from vtkProp.

Methods supporting the rendering process.

Reimplemented from vtkProp.

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

Member Data Documentation

Definition at line 141 of file vtkSliderRepresentation2D.h.

Definition at line 142 of file vtkSliderRepresentation2D.h.

Definition at line 149 of file vtkSliderRepresentation2D.h.

Definition at line 150 of file vtkSliderRepresentation2D.h.

Definition at line 152 of file vtkSliderRepresentation2D.h.

Reimplemented from vtkSliderRepresentation.

Definition at line 153 of file vtkSliderRepresentation2D.h.

Definition at line 154 of file vtkSliderRepresentation2D.h.

Definition at line 155 of file vtkSliderRepresentation2D.h.

Definition at line 156 of file vtkSliderRepresentation2D.h.

Definition at line 157 of file vtkSliderRepresentation2D.h.

Definition at line 159 of file vtkSliderRepresentation2D.h.

Reimplemented from vtkSliderRepresentation.

Definition at line 160 of file vtkSliderRepresentation2D.h.

Definition at line 161 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 166 of file vtkSliderRepresentation2D.h.

Definition at line 167 of file vtkSliderRepresentation2D.h.

Definition at line 168 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.

Definition at line 178 of file vtkSliderRepresentation2D.h.

Definition at line 179 of file vtkSliderRepresentation2D.h.

Definition at line 181 of file vtkSliderRepresentation2D.h.

Definition at line 184 of file vtkSliderRepresentation2D.h.


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