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

represent scalar bar for vtkScalarBarWidget More...

#include <vtkScalarBarRepresentation.h>

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

List of all members.

Public Types

typedef vtkBorderRepresentation Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkScalarBarRepresentationNewInstance () const
virtual void PrintSelf (ostream &os, vtkIndent indent)
virtual vtkScalarBarActorGetScalarBarActor ()
virtual void SetScalarBarActor (vtkScalarBarActor *)
virtual void BuildRepresentation ()
virtual void WidgetInteraction (double eventPos[2])
virtual void GetSize (double size[2])
virtual int GetVisibility ()
virtual void SetVisibility (int)
virtual void GetActors2D (vtkPropCollection *collection)
virtual void ReleaseGraphicsResources (vtkWindow *window)
virtual int RenderOverlay (vtkViewport *)
virtual int RenderOpaqueGeometry (vtkViewport *)
virtual int RenderTranslucentPolygonalGeometry (vtkViewport *)
virtual int HasTranslucentPolygonalGeometry ()
void SetOrientation (int orient)
int GetOrientation ()

Static Public Member Functions

static int IsTypeOf (const char *type)
static vtkScalarBarRepresentationSafeDownCast (vtkObjectBase *o)
static vtkScalarBarRepresentationNew ()

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkScalarBarRepresentation ()
 ~vtkScalarBarRepresentation ()

Protected Attributes

vtkScalarBarActorScalarBarActor

Detailed Description

represent scalar bar for vtkScalarBarWidget

This class represents a scalar bar for a vtkScalarBarWidget. This class provides support for interactively placing a scalar bar on the 2D overlay plane. The scalar bar is defined by an instance of vtkScalarBarActor.

One specialty of this class is that if the scalar bar is moved near enough to an edge, it's orientation is flipped to match that edge.

See also:
vtkScalarBarWidget vtkWidgetRepresentation vtkScalarBarActor
Tests:
vtkScalarBarRepresentation (Tests)

Definition at line 53 of file vtkScalarBarRepresentation.h.


Member Typedef Documentation

Define standard methods.

Reimplemented from vtkBorderRepresentation.

Definition at line 56 of file vtkScalarBarRepresentation.h.


Constructor & Destructor Documentation


Member Function Documentation

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

Define standard methods.

Reimplemented from vtkBorderRepresentation.

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

Define standard methods.

Reimplemented from vtkBorderRepresentation.

Define standard methods.

Reimplemented from vtkBorderRepresentation.

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

Define standard methods.

Reimplemented from vtkBorderRepresentation.

Define standard methods.

Reimplemented from vtkBorderRepresentation.

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

Define standard methods.

Reimplemented from vtkBorderRepresentation.

Instantiate this class.

Reimplemented from vtkBorderRepresentation.

The prop that is placed in the renderer.

The prop that is placed in the renderer.

Satisfy the superclass' API.

Reimplemented from vtkBorderRepresentation.

virtual void vtkScalarBarRepresentation::WidgetInteraction ( double  eventPos[2]) [virtual]

Satisfy the superclass' API.

Reimplemented from vtkBorderRepresentation.

virtual void vtkScalarBarRepresentation::GetSize ( double  size[2]) [inline, virtual]

Satisfy the superclass' API.

Reimplemented from vtkBorderRepresentation.

Definition at line 70 of file vtkScalarBarRepresentation.h.

These methods are necessary to make this representation behave as a vtkProp.

Reimplemented from vtkProp.

virtual void vtkScalarBarRepresentation::SetVisibility ( int  ) [virtual]

These methods are necessary to make this representation behave as a vtkProp.

Reimplemented from vtkProp.

virtual void vtkScalarBarRepresentation::GetActors2D ( vtkPropCollection collection) [virtual]

These methods are necessary to make this representation behave as a vtkProp.

Reimplemented from vtkBorderRepresentation.

These methods are necessary to make this representation behave as a vtkProp.

Reimplemented from vtkBorderRepresentation.

These methods are necessary to make this representation behave as a vtkProp.

Reimplemented from vtkBorderRepresentation.

These methods are necessary to make this representation behave as a vtkProp.

Reimplemented from vtkBorderRepresentation.

These methods are necessary to make this representation behave as a vtkProp.

Reimplemented from vtkBorderRepresentation.

These methods are necessary to make this representation behave as a vtkProp.

Reimplemented from vtkBorderRepresentation.

Get/Set the orientation.

Get/Set the orientation.


Member Data Documentation

Definition at line 97 of file vtkScalarBarRepresentation.h.


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