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

represents vtkCaptionWidget in the scene More...

#include <vtkCaptionRepresentation.h>

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

List of all members.

Public Member Functions

void SetAnchorPosition (double pos[3])
void GetAnchorPosition (double pos[3])
void SetCaptionActor2D (vtkCaptionActor2D *captionActor)
virtual vtkCaptionActor2DGetCaptionActor2D ()
void SetAnchorRepresentation (vtkPointHandleRepresentation3D *)
virtual
vtkPointHandleRepresentation3D
GetAnchorRepresentation ()
virtual void BuildRepresentation ()
virtual void GetSize (double size[2])
virtual void GetActors2D (vtkPropCollection *)
virtual void ReleaseGraphicsResources (vtkWindow *)
virtual int RenderOverlay (vtkViewport *)
virtual int RenderOpaqueGeometry (vtkViewport *)
virtual int RenderTranslucentPolygonalGeometry (vtkViewport *)
virtual int HasTranslucentPolygonalGeometry ()
virtual void SetFontFactor (double)
virtual double GetFontFactor ()

Static Public Member Functions

static vtkCaptionRepresentationNew ()

Protected Member Functions

 vtkCaptionRepresentation ()
 ~vtkCaptionRepresentation ()
virtual void AdjustCaptionBoundary ()

Protected Attributes

vtkCaptionActor2DCaptionActor2D
vtkConeSourceCaptionGlyph
int PointWidgetState
int DisplayAttachmentPoint [2]
double FontFactor
vtkPointHandleRepresentation3DAnchorRepresentation
typedef vtkBorderRepresentation Superclass
static int IsTypeOf (const char *type)
static vtkCaptionRepresentationSafeDownCast (vtkObjectBase *o)
virtual int IsA (const char *type)
vtkCaptionRepresentationNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual vtkObjectBaseNewInstanceInternal () const

Detailed Description

represents vtkCaptionWidget in the scene

This class represents vtkCaptionWidget. A caption is defined by some text with a leader (e.g., arrow) that points from the text to a point in the scene. The caption is defined by an instance of vtkCaptionActor2D. It uses the event bindings of its superclass (vtkBorderWidget) to control the placement of the text, and adds the ability to move the attachment point around. In addition, when the caption text is selected, the widget emits a ActivateEvent that observers can watch for. This is useful for opening GUI dialogoues to adjust font characteristics, etc. (Please see the superclass for a description of event bindings.)

Note that this widget extends the behavior of its superclass vtkBorderRepresentation.

See also:
vtkCaptionWidget vtkBorderWidget vtkBorderRepresentation vtkCaptionActor
Tests:
vtkCaptionRepresentation (Tests)

Definition at line 50 of file vtkCaptionRepresentation.h.


Member Typedef Documentation

Standard VTK class methods.

Reimplemented from vtkBorderRepresentation.

Definition at line 58 of file vtkCaptionRepresentation.h.


Constructor & Destructor Documentation


Member Function Documentation

Instantiate this class.

Reimplemented from vtkBorderRepresentation.

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

Standard VTK class methods.

Reimplemented from vtkBorderRepresentation.

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

Standard VTK class methods.

Reimplemented from vtkBorderRepresentation.

Standard VTK class methods.

Reimplemented from vtkBorderRepresentation.

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

Standard VTK class methods.

Reimplemented from vtkBorderRepresentation.

Standard VTK class methods.

Reimplemented from vtkBorderRepresentation.

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

Standard VTK class methods.

Reimplemented from vtkBorderRepresentation.

Specify the position of the anchor (i.e., the point that the caption is anchored to). Note that the position should be specified in world coordinates.

Specify the position of the anchor (i.e., the point that the caption is anchored to). Note that the position should be specified in world coordinates.

Specify the vtkCaptionActor2D to manage. If not specified, then one is automatically created.

Specify the vtkCaptionActor2D to manage. If not specified, then one is automatically created.

Set and get the instances of vtkPointHandleRepresention3D used to implement this representation. Normally default representations are created, but you can specify the ones you want to use.

Set and get the instances of vtkPointHandleRepresention3D used to implement this representation. Normally default representations are created, but you can specify the ones you want to use.

Satisfy the superclasses API.

Reimplemented from vtkBorderRepresentation.

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

Satisfy the superclasses API.

Reimplemented from vtkBorderRepresentation.

Definition at line 88 of file vtkCaptionRepresentation.h.

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.

virtual void vtkCaptionRepresentation::SetFontFactor ( double  ) [virtual]

Set/Get the factor that controls the overall size of the fonts of the caption when the text actor's ScaledText is OFF

Set/Get the factor that controls the overall size of the fonts of the caption when the text actor's ScaledText is OFF

virtual void vtkCaptionRepresentation::AdjustCaptionBoundary ( ) [protected, virtual]

Member Data Documentation

Definition at line 115 of file vtkCaptionRepresentation.h.

Definition at line 116 of file vtkCaptionRepresentation.h.

Definition at line 118 of file vtkCaptionRepresentation.h.

Definition at line 119 of file vtkCaptionRepresentation.h.

Definition at line 120 of file vtkCaptionRepresentation.h.

Definition at line 123 of file vtkCaptionRepresentation.h.


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