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

provide the representation for a vtkCenteredSliderWidget More...

#include <vtkCenteredSliderRepresentation.h>

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

List of all members.

Public Member Functions

vtkCoordinateGetPoint1Coordinate ()
vtkCoordinateGetPoint2Coordinate ()
virtual void SetTitleText (const char *)
virtual const char * GetTitleText ()
virtual vtkProperty2DGetTubeProperty ()
virtual vtkProperty2DGetSliderProperty ()
virtual vtkProperty2DGetSelectedProperty ()
virtual vtkTextPropertyGetLabelProperty ()
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

vtkCoordinatePoint1Coordinate
vtkCoordinatePoint2Coordinate
vtkTransformXForm
vtkPointsPoints
vtkCellArraySliderCells
vtkPolyDataSlider
vtkTransformPolyDataFilterSliderXForm
vtkPolyDataMapper2DSliderMapper
vtkActor2DSliderActor
vtkProperty2DSliderProperty
vtkCellArrayTubeCells
vtkPolyDataTube
vtkTransformPolyDataFilterTubeXForm
vtkPolyDataMapper2DTubeMapper
vtkActor2DTubeActor
vtkProperty2DTubeProperty
vtkTextPropertyLabelProperty
vtkTextActorLabelActor
vtkProperty2DSelectedProperty
int HighlightState
typedef vtkSliderRepresentation Superclass
static int IsTypeOf (const char *type)
static
vtkCenteredSliderRepresentation
SafeDownCast (vtkObjectBase *o)
virtual int IsA (const char *type)
vtkCenteredSliderRepresentationNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual vtkObjectBaseNewInstanceInternal () const

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 59 of file vtkCenteredSliderRepresentation.h.


Member Typedef Documentation

Standard methods for the class.

Reimplemented from vtkSliderRepresentation.

Definition at line 68 of file vtkCenteredSliderRepresentation.h.


Constructor & Destructor Documentation


Member Function Documentation

Instantiate the class.

Reimplemented from vtkObject.

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.

Standard methods for the class.

Reimplemented from vtkSliderRepresentation.

Standard methods for the class.

Reimplemented from vtkSliderRepresentation.

Standard methods for the class.

Reimplemented from vtkSliderRepresentation.

void vtkCenteredSliderRepresentation::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 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.

Get the properties for the tube and slider

Get the properties for the tube and slider

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.

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.

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.

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 vtkCenteredSliderRepresentation::ComputePickPosition ( double  x,
double  y 
) [protected, virtual]

Member Data Documentation

Definition at line 137 of file vtkCenteredSliderRepresentation.h.

Definition at line 138 of file vtkCenteredSliderRepresentation.h.

Definition at line 145 of file vtkCenteredSliderRepresentation.h.

Definition at line 146 of file vtkCenteredSliderRepresentation.h.

Definition at line 148 of file vtkCenteredSliderRepresentation.h.

Reimplemented from vtkSliderRepresentation.

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 153 of file vtkCenteredSliderRepresentation.h.

Definition at line 155 of file vtkCenteredSliderRepresentation.h.

Reimplemented from vtkSliderRepresentation.

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 160 of file vtkCenteredSliderRepresentation.h.

Definition at line 162 of file vtkCenteredSliderRepresentation.h.

Definition at line 163 of file vtkCenteredSliderRepresentation.h.

Definition at line 165 of file vtkCenteredSliderRepresentation.h.

Definition at line 166 of file vtkCenteredSliderRepresentation.h.


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