VTK
Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
vtkSliderRepresentation3D Class Reference

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

#include <vtkSliderRepresentation3D.h>

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

List of all members.

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 doubleGetBounds ()
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 void RegisterPickers ()
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
typedef vtkSliderRepresentation Superclass
static int IsTypeOf (const char *type)
static vtkSliderRepresentation3DSafeDownCast (vtkObjectBase *o)
virtual int IsA (const char *type)
vtkSliderRepresentation3DNewInstance () 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:
vtkSliderRepresentation3D (Examples)
Tests:
vtkSliderRepresentation3D (Tests)

Definition at line 54 of file vtkSliderRepresentation3D.h.


Member Typedef Documentation

Standard methods for the class.

Reimplemented from vtkSliderRepresentation.

Definition at line 62 of file vtkSliderRepresentation3D.h.


Member Enumeration Documentation

Enumerator:
SphereShape 
CylinderShape 

Definition at line 224 of file vtkSliderRepresentation3D.h.


Constructor & Destructor Documentation


Member Function Documentation

Instantiate the class.

Reimplemented from vtkObject.

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.

Standard methods for the class.

Reimplemented from vtkSliderRepresentation.

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

Standard methods for the class.

Reimplemented from vtkSliderRepresentation.

Standard methods for the class.

Reimplemented from vtkSliderRepresentation.

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

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.

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

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

Definition at line 100 of file vtkSliderRepresentation3D.h.

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

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

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.)

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).

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

Methods to interface with the vtkSliderWidget.

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.

Methods supporting the rendering process.

Reimplemented from vtkWidgetRepresentation.

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.

Methods supporting the rendering process.

Reimplemented from vtkWidgetRepresentation.

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

Override GetMTime to include point coordinates

Reimplemented from vtkObject.

virtual void vtkSliderRepresentation3D::RegisterPickers ( ) [protected, virtual]

Register internal Pickers in the Picking Manager. Must be reimplemented by concrete widget representations to register their pickers.

Reimplemented from vtkWidgetRepresentation.

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

Member Data Documentation

Definition at line 157 of file vtkSliderRepresentation3D.h.

Definition at line 158 of file vtkSliderRepresentation3D.h.

Definition at line 159 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 168 of file vtkSliderRepresentation3D.h.

Definition at line 171 of file vtkSliderRepresentation3D.h.

Definition at line 182 of file vtkSliderRepresentation3D.h.

Definition at line 185 of file vtkSliderRepresentation3D.h.

Definition at line 186 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 197 of file vtkSliderRepresentation3D.h.

Definition at line 198 of file vtkSliderRepresentation3D.h.

Definition at line 201 of file vtkSliderRepresentation3D.h.

Definition at line 202 of file vtkSliderRepresentation3D.h.

Definition at line 203 of file vtkSliderRepresentation3D.h.

Definition at line 206 of file vtkSliderRepresentation3D.h.

Definition at line 207 of file vtkSliderRepresentation3D.h.

Definition at line 211 of file vtkSliderRepresentation3D.h.

Definition at line 212 of file vtkSliderRepresentation3D.h.

Definition at line 213 of file vtkSliderRepresentation3D.h.

Definition at line 215 of file vtkSliderRepresentation3D.h.

Definition at line 216 of file vtkSliderRepresentation3D.h.

Definition at line 217 of file vtkSliderRepresentation3D.h.

Definition at line 220 of file vtkSliderRepresentation3D.h.

Definition at line 221 of file vtkSliderRepresentation3D.h.


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