vtkSliderRepresentation3D Class Reference

#include <vtkSliderRepresentation3D.h>

Inheritance diagram for vtkSliderRepresentation3D:

Inheritance graph
[legend]
Collaboration diagram for vtkSliderRepresentation3D:

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

Definition at line 50 of file vtkSliderRepresentation3D.h.

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

Public Member Functions

virtual unsigned long GetMTime ()
vtkCoordinateGetPoint1Coordinate ()
void SetPoint1InWorldCoordinates (double x, double y, double z)
vtkCoordinateGetPoint2Coordinate ()
void SetPoint2InWorldCoordinates (double x, double y, double z)
virtual void SetTitleText (const char *)
virtual const char * GetTitleText ()
virtual void SetSliderShape (int)
virtual int GetSliderShape ()
void SetSliderShapeToSphere ()
void SetSliderShapeToCylinder ()
virtual void SetRotation (double)
virtual double GetRotation ()
virtual vtkPropertyGetSliderProperty ()
virtual vtkPropertyGetTubeProperty ()
virtual vtkPropertyGetCapProperty ()
virtual vtkPropertyGetSelectedProperty ()
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 double * GetBounds ()
virtual void GetActors (vtkPropCollection *)
virtual void ReleaseGraphicsResources (vtkWindow *)
virtual int RenderOpaqueGeometry (vtkViewport *)
virtual int RenderTranslucentPolygonalGeometry (vtkViewport *)
virtual int HasTranslucentPolygonalGeometry ()

Static Public Member Functions

static vtkSliderRepresentation3DNew ()

Protected Types

enum  _SliderShape { SphereShape, CylinderShape }

Protected Member Functions

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

Protected Attributes

vtkCoordinatePoint1Coordinate
vtkCoordinatePoint2Coordinate
double Length
double SP1 [3]
double SP2 [3]
double Rotation
int SliderShape
vtkCellPickerPicker
vtkAssemblyWidgetAssembly
vtkCylinderSourceCylinderSource
vtkTransformPolyDataFilterCylinder
vtkPolyDataMapperTubeMapper
vtkActorTubeActor
vtkPropertyTubeProperty
vtkSphereSourceSliderSource
vtkPolyDataMapperSliderMapper
vtkActorSliderActor
vtkPropertySliderProperty
vtkPropertySelectedProperty
vtkPolyDataMapperLeftCapMapper
vtkActorLeftCapActor
vtkPropertyCapProperty
vtkPolyDataMapperRightCapMapper
vtkActorRightCapActor
vtkVectorTextLabelText
vtkPolyDataMapperLabelMapper
vtkActorLabelActor
vtkVectorTextTitleText
vtkPolyDataMapperTitleMapper
vtkActorTitleActor
vtkMatrix4x4Matrix
vtkTransformTransform

Member Typedef Documentation

Standard methods for the class.

Reimplemented from vtkSliderRepresentation.

Definition at line 58 of file vtkSliderRepresentation3D.h.


Member Enumeration Documentation

Enumerator:
SphereShape 
CylinderShape 

Definition at line 217 of file vtkSliderRepresentation3D.h.


Constructor & Destructor Documentation

vtkSliderRepresentation3D::vtkSliderRepresentation3D (  )  [protected]

vtkSliderRepresentation3D::~vtkSliderRepresentation3D (  )  [protected]


Member Function Documentation

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

Instantiate the class.

Reimplemented from vtkObject.

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

Standard methods for the class.

Reimplemented from vtkSliderRepresentation.

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

Standard methods for the class.

Reimplemented from vtkSliderRepresentation.

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

Standard methods for the class.

Reimplemented from vtkSliderRepresentation.

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

Standard methods for the class.

Reimplemented from vtkSliderRepresentation.

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

Standard methods for the class.

Reimplemented from vtkSliderRepresentation.

vtkCoordinate* vtkSliderRepresentation3D::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.

void vtkSliderRepresentation3D::SetPoint1InWorldCoordinates ( double  x,
double  y,
double  z 
)

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* vtkSliderRepresentation3D::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.

void vtkSliderRepresentation3D::SetPoint2InWorldCoordinates ( double  x,
double  y,
double  z 
)

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 vtkSliderRepresentation3D::SetTitleText ( const char *   )  [virtual]

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

Reimplemented from vtkSliderRepresentation.

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

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

Reimplemented from vtkSliderRepresentation.

virtual void vtkSliderRepresentation3D::SetSliderShape ( int   )  [virtual]

Specify whether to use a sphere or cylinder slider shape. By default, a sphere shape is used.

virtual int vtkSliderRepresentation3D::GetSliderShape (  )  [virtual]

Specify whether to use a sphere or cylinder slider shape. By default, a sphere shape is used.

void vtkSliderRepresentation3D::SetSliderShapeToSphere (  )  [inline]

Specify whether to use a sphere or cylinder slider shape. By default, a sphere shape is used.

Definition at line 96 of file vtkSliderRepresentation3D.h.

void vtkSliderRepresentation3D::SetSliderShapeToCylinder (  )  [inline]

Specify whether to use a sphere or cylinder slider shape. By default, a sphere shape is used.

Definition at line 97 of file vtkSliderRepresentation3D.h.

virtual void vtkSliderRepresentation3D::SetRotation ( double   )  [virtual]

Set the rotation of the slider widget around the axis of the widget. This is used to control which way the widget is initially oriented. (This is especially important for the label and title.)

virtual double vtkSliderRepresentation3D::GetRotation (  )  [virtual]

Set the rotation of the slider widget around the axis of the widget. This is used to control which way the widget is initially oriented. (This is especially important for the label and title.)

virtual vtkProperty* vtkSliderRepresentation3D::GetSliderProperty (  )  [virtual]

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

virtual vtkProperty* vtkSliderRepresentation3D::GetTubeProperty (  )  [virtual]

Get the properties for the tube and end caps.

virtual vtkProperty* vtkSliderRepresentation3D::GetCapProperty (  )  [virtual]

Get the properties for the tube and end caps.

virtual vtkProperty* vtkSliderRepresentation3D::GetSelectedProperty (  )  [virtual]

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

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

Methods to interface with the vtkSliderWidget.

virtual void vtkSliderRepresentation3D::BuildRepresentation (  )  [virtual]

Methods to interface with the vtkSliderWidget.

Implements vtkWidgetRepresentation.

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

Methods to interface with the vtkSliderWidget.

Reimplemented from vtkWidgetRepresentation.

virtual void vtkSliderRepresentation3D::WidgetInteraction ( double  newEventPos[2]  )  [virtual]

Methods to interface with the vtkSliderWidget.

Reimplemented from vtkWidgetRepresentation.

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

Methods to interface with the vtkSliderWidget.

virtual double* vtkSliderRepresentation3D::GetBounds (  )  [virtual]

Methods supporting the rendering process.

Reimplemented from vtkWidgetRepresentation.

virtual void vtkSliderRepresentation3D::GetActors ( vtkPropCollection  )  [virtual]

Methods supporting the rendering process.

Reimplemented from vtkWidgetRepresentation.

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

Methods supporting the rendering process.

Reimplemented from vtkWidgetRepresentation.

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

Methods supporting the rendering process.

Reimplemented from vtkProp.

virtual int vtkSliderRepresentation3D::RenderTranslucentPolygonalGeometry ( vtkViewport  )  [virtual]

Methods supporting the rendering process.

Reimplemented from vtkProp.

virtual int vtkSliderRepresentation3D::HasTranslucentPolygonalGeometry (  )  [virtual]

Methods supporting the rendering process.

Reimplemented from vtkWidgetRepresentation.

virtual unsigned long vtkSliderRepresentation3D::GetMTime (  )  [virtual]

Override GetMTime to include point coordinates

Reimplemented from vtkObject.

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


Member Data Documentation

Definition at line 153 of file vtkSliderRepresentation3D.h.

Definition at line 154 of file vtkSliderRepresentation3D.h.

Definition at line 155 of file vtkSliderRepresentation3D.h.

double vtkSliderRepresentation3D::SP1[3] [protected]

Definition at line 159 of file vtkSliderRepresentation3D.h.

double vtkSliderRepresentation3D::SP2[3] [protected]

Definition at line 160 of file vtkSliderRepresentation3D.h.

Definition at line 163 of file vtkSliderRepresentation3D.h.

Definition at line 164 of file vtkSliderRepresentation3D.h.

Definition at line 167 of file vtkSliderRepresentation3D.h.

Definition at line 175 of file vtkSliderRepresentation3D.h.

Definition at line 178 of file vtkSliderRepresentation3D.h.

Definition at line 179 of file vtkSliderRepresentation3D.h.

Definition at line 182 of file vtkSliderRepresentation3D.h.

Definition at line 183 of file vtkSliderRepresentation3D.h.

Definition at line 184 of file vtkSliderRepresentation3D.h.

Definition at line 187 of file vtkSliderRepresentation3D.h.

Definition at line 188 of file vtkSliderRepresentation3D.h.

Definition at line 189 of file vtkSliderRepresentation3D.h.

Definition at line 190 of file vtkSliderRepresentation3D.h.

Definition at line 191 of file vtkSliderRepresentation3D.h.

Definition at line 194 of file vtkSliderRepresentation3D.h.

Definition at line 195 of file vtkSliderRepresentation3D.h.

Definition at line 196 of file vtkSliderRepresentation3D.h.

Definition at line 199 of file vtkSliderRepresentation3D.h.

Definition at line 200 of file vtkSliderRepresentation3D.h.

Definition at line 204 of file vtkSliderRepresentation3D.h.

Definition at line 205 of file vtkSliderRepresentation3D.h.

Definition at line 206 of file vtkSliderRepresentation3D.h.

Definition at line 208 of file vtkSliderRepresentation3D.h.

Definition at line 209 of file vtkSliderRepresentation3D.h.

Definition at line 210 of file vtkSliderRepresentation3D.h.

Definition at line 213 of file vtkSliderRepresentation3D.h.

Definition at line 214 of file vtkSliderRepresentation3D.h.


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

Generated on Sat Dec 27 13:49:59 2008 for VTK by  doxygen 1.5.6