VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkContinuousValueWidgetRepresentation Class Referenceabstract

provide the representation for a continuous value More...

#include <vtkContinuousValueWidgetRepresentation.h>

Inheritance diagram for vtkContinuousValueWidgetRepresentation:
[legend]
Collaboration diagram for vtkContinuousValueWidgetRepresentation:
[legend]

Public Types

enum  _InteractionState { Outside =0, Inside, Adjusting }
 
- Public Types inherited from vtkWidgetRepresentation
typedef vtkProp Superclass
 

Public Member Functions

virtual void SetValue (double value)
 
virtual double GetValue ()
 
virtual void PlaceWidget (double bounds[6])
 
virtual void BuildRepresentation ()
 
virtual void StartWidgetInteraction (double eventPos[2])=0
 
virtual void WidgetInteraction (double eventPos[2])=0
 
- Public Member Functions inherited from vtkWidgetRepresentation
virtual void PickingManagedOn ()
 
virtual void PickingManagedOff ()
 
virtual void SetPickingManaged (bool)
 
virtual bool GetPickingManaged ()
 
virtual void SetRenderer (vtkRenderer *ren)
 
virtual vtkRenderer * GetRenderer ()
 
virtual void PlaceWidget (double *vtkNotUsed(bounds[6]))
 
virtual void EndWidgetInteraction (double newEventPos[2])
 
virtual int ComputeInteractionState (int X, int Y, int modify=0)
 
virtual int GetInteractionState ()
 
virtual void Highlight (int vtkNotUsed(highlightOn))
 
virtual void SetPlaceFactor (double)
 
virtual double GetPlaceFactor ()
 
virtual void SetHandleSize (double)
 
virtual double GetHandleSize ()
 
virtual int GetNeedToRender ()
 
virtual void SetNeedToRender (int)
 
virtual void NeedToRenderOn ()
 
virtual void NeedToRenderOff ()
 
virtual double * GetBounds ()
 
virtual void ShallowCopy (vtkProp *prop)
 
virtual void GetActors (vtkPropCollection *)
 
virtual void GetActors2D (vtkPropCollection *)
 
virtual void GetVolumes (vtkPropCollection *)
 
virtual void ReleaseGraphicsResources (vtkWindow *)
 
virtual int RenderOverlay (vtkViewport *vtkNotUsed(viewport))
 
virtual int RenderOpaqueGeometry (vtkViewport *vtkNotUsed(viewport))
 
virtual int RenderTranslucentPolygonalGeometry (vtkViewport *vtkNotUsed(viewport))
 
virtual int RenderVolumetricGeometry (vtkViewport *vtkNotUsed(viewport))
 
virtual int HasTranslucentPolygonalGeometry ()
 
vtkWidgetRepresentationNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 

Protected Member Functions

 vtkContinuousValueWidgetRepresentation ()
 
 ~vtkContinuousValueWidgetRepresentation ()
 
- Protected Member Functions inherited from vtkWidgetRepresentation
 vtkWidgetRepresentation ()
 
 ~vtkWidgetRepresentation ()
 
void AdjustBounds (double bounds[6], double newBounds[6], double center[3])
 
virtual void RegisterPickers ()
 
virtual void UnRegisterPickers ()
 
virtual void PickersModified ()
 
vtkPickingManager * GetPickingManager ()
 
double SizeHandlesRelativeToViewport (double factor, double pos[3])
 
double SizeHandlesInPixels (double factor, double pos[3])
 
vtkAssemblyPath * GetAssemblyPath (double X, double Y, double Z, vtkAbstractPropPicker *picker)
 

Protected Attributes

double Value
 
- Protected Attributes inherited from vtkWidgetRepresentation
vtkWeakPointer< vtkRenderer > Renderer
 
int InteractionState
 
double StartEventPosition [3]
 
double PlaceFactor
 
int Placed
 
double InitialBounds [6]
 
double InitialLength
 
int ValidPick
 
bool PickingManaged
 
double HandleSize
 
int NeedToRender
 
vtkTimeStamp BuildTime
 
typedef vtkWidgetRepresentation Superclass
 
static int IsTypeOf (const char *type)
 
static
vtkContinuousValueWidgetRepresentation
SafeDownCast (vtkObjectBase *o)
 
virtual int IsA (const char *type)
 
vtkContinuousValueWidgetRepresentationNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual vtkObjectBase * NewInstanceInternal () const
 

Detailed Description

provide the representation for a continuous value

This class is used mainly as a superclass for continuous value widgets

Definition at line 35 of file vtkContinuousValueWidgetRepresentation.h.

Member Typedef Documentation

Standard methods for the class.

Definition at line 42 of file vtkContinuousValueWidgetRepresentation.h.

Member Enumeration Documentation

Enumerator
Outside 
Inside 
Adjusting 

Definition at line 59 of file vtkContinuousValueWidgetRepresentation.h.

Constructor & Destructor Documentation

vtkContinuousValueWidgetRepresentation::vtkContinuousValueWidgetRepresentation ( )
protected
vtkContinuousValueWidgetRepresentation::~vtkContinuousValueWidgetRepresentation ( )
protected

Member Function Documentation

static int vtkContinuousValueWidgetRepresentation::IsTypeOf ( const char *  type)
static

Standard methods for the class.

virtual int vtkContinuousValueWidgetRepresentation::IsA ( const char *  type)
virtual

Standard methods for the class.

Reimplemented from vtkWidgetRepresentation.

Reimplemented in vtkCompassRepresentation.

static vtkContinuousValueWidgetRepresentation* vtkContinuousValueWidgetRepresentation::SafeDownCast ( vtkObjectBase *  o)
static

Standard methods for the class.

virtual vtkObjectBase* vtkContinuousValueWidgetRepresentation::NewInstanceInternal ( ) const
protectedvirtual

Standard methods for the class.

Reimplemented from vtkWidgetRepresentation.

Reimplemented in vtkCompassRepresentation.

vtkContinuousValueWidgetRepresentation* vtkContinuousValueWidgetRepresentation::NewInstance ( ) const

Standard methods for the class.

void vtkContinuousValueWidgetRepresentation::PrintSelf ( ostream &  os,
vtkIndent  indent 
)

Standard methods for the class.

virtual void vtkContinuousValueWidgetRepresentation::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.

Reimplemented in vtkCompassRepresentation.

virtual void vtkContinuousValueWidgetRepresentation::BuildRepresentation ( )
inlinevirtual

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.

Reimplemented in vtkCompassRepresentation.

Definition at line 51 of file vtkContinuousValueWidgetRepresentation.h.

virtual void vtkContinuousValueWidgetRepresentation::StartWidgetInteraction ( double  eventPos[2])
pure 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.

Implemented in vtkCompassRepresentation.

virtual void vtkContinuousValueWidgetRepresentation::WidgetInteraction ( double  eventPos[2])
pure 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.

Implemented in vtkCompassRepresentation.

virtual void vtkContinuousValueWidgetRepresentation::SetValue ( double  value)
virtual
virtual double vtkContinuousValueWidgetRepresentation::GetValue ( )
inlinevirtual

Definition at line 69 of file vtkContinuousValueWidgetRepresentation.h.

Member Data Documentation

double vtkContinuousValueWidgetRepresentation::Value
protected

Definition at line 75 of file vtkContinuousValueWidgetRepresentation.h.


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