Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes

vtkKWEBoundingBoxRepresentation2D Class Reference

#include <vtkKWEBoundingBoxRepresentation2D.h>

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

List of all members.

Public Types

enum  _InteractionState {
  Outside = 0, Inside, RequestResizeBox, Resizing,
  BeginDefining, Defining, EndDefining
}

Public Member Functions

vtkPolyDataGetPolyData ()
vtkPropertyGetOutlineProperty ()

 vtkTypeRevisionMacro (vtkKWEBoundingBoxRepresentation2D, vtkWidgetRepresentation)
void PrintSelf (ostream &os, vtkIndent indent)

virtual void SetImageActor (vtkImageActor *)
vtkImageActorGetImageActor ()

void SetHandleRepresentation (vtkHandleRepresentation *handle)
vtkHandleRepresentationGetHandleRepresentation (int handleIndex)

virtual vtkPropertyGetLineProperty ()
virtual vtkPropertyGetSelectedLineProperty ()
virtual void SetSelectedHandleProperty (vtkProperty *)
virtual void SetHoveredHandleProperty (vtkProperty *)
virtual void SetHandleProperty (vtkProperty *)

int GetExtent (int extents[6])
void SetExtent (int extents[6])

virtual void BuildRepresentation ()
virtual int ComputeInteractionState (int X, int Y, int modify=0)
virtual void GetActors2D (vtkPropCollection *pc)
virtual void GetActors (vtkPropCollection *pc)
virtual void PlaceWidget (double bounds[6])

virtual void ReleaseGraphicsResources (vtkWindow *w)
virtual int RenderOverlay (vtkViewport *viewport)
virtual int RenderOpaqueGeometry (vtkViewport *viewport)

virtual void SetInteractionState (int)

virtual void SetLabelFormat (const char *)
virtual char * GetLabelFormat ()

virtual void SetImageData (vtkImageData *)
virtual vtkImageDataGetImageData ()

virtual void SetID (int)
virtual int GetID ()

vtkTextPropertyGetWidthTextProperty ()
vtkTextPropertyGetHeightTextProperty ()
vtkTextPropertyGetIDTextProperty ()

virtual void SetFade (int)
virtual int GetFade ()

virtual void SetShowSliceScaleBar (int)

virtual int GetUnplaced ()

Static Public Member Functions

static
vtkKWEBoundingBoxRepresentation2D
New ()

Protected Member Functions

 vtkKWEBoundingBoxRepresentation2D ()
 ~vtkKWEBoundingBoxRepresentation2D ()
void SetVisibilityInternal (int)
void Translate (const double translation[3], const double cursorMotionVector[3])
void PositionHandles ()
void SetHandleHighlight (int handleIdx, vtkProperty *property)
void PlaceWidget ()
int PlaceWidgetInternal (double bounds[6])
int Cut ()
int Annotate ()
int AnnotateScaleBar ()

Protected Attributes

vtkImageActorPointPlacerPointPlacer
vtkPolyDataPolyData
vtkCollectionTextMappers
vtkActor2DCollectionTextActors
vtkPolyDataBoxPolyData
vtkPolyDataMapperBoxMapper
vtkActorBoxActor
vtkPointsBoxPoints
vtkPropertyHandleProperty
vtkPropertySelectedHandleProperty
vtkPropertyHoveredHandleProperty
vtkPropertyLineProperty
vtkPropertySelectedLineProperty
vtkHandleRepresentationHandleRepresentation
vtkHandleRepresentation ** HandleRepresentations
int CurrentHandleIdx
double MinimumThickness [3]
double PlaceFactor
double LastEventPosition [2]
char * LabelFormat
vtkActorScaleBarActor
vtkActorScaleBarActor2
vtkPolyDataScaleBar
vtkPolyDataScaleBar2
int ShowSliceScaleBar
int Unplaced
vtkImageDataImageData
int Fade
int ID

Detailed Description

Definition at line 49 of file vtkKWEBoundingBoxRepresentation2D.h.


Member Enumeration Documentation

Enumerator:
Outside 
Inside 
RequestResizeBox 
Resizing 
BeginDefining 
Defining 
EndDefining 

Definition at line 120 of file vtkKWEBoundingBoxRepresentation2D.h.


Constructor & Destructor Documentation

vtkKWEBoundingBoxRepresentation2D::vtkKWEBoundingBoxRepresentation2D (  )  [protected]
vtkKWEBoundingBoxRepresentation2D::~vtkKWEBoundingBoxRepresentation2D (  )  [protected]

Member Function Documentation

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

Instantiate the class.

Reimplemented from vtkObject.

vtkKWEBoundingBoxRepresentation2D::vtkTypeRevisionMacro ( vtkKWEBoundingBoxRepresentation2D  ,
vtkWidgetRepresentation   
)

Standard VTK methods.

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

Standard VTK methods.

Reimplemented from vtkWidgetRepresentation.

virtual void vtkKWEBoundingBoxRepresentation2D::SetImageActor ( vtkImageActor  )  [virtual]

Set the image actor on which this widget is placed.

vtkImageActor* vtkKWEBoundingBoxRepresentation2D::GetImageActor (  ) 

Set the image actor on which this widget is placed.

void vtkKWEBoundingBoxRepresentation2D::SetHandleRepresentation ( vtkHandleRepresentation handle  ) 

This method is used to specify the type of handle representation to use for the four internal vtkHandleRepresentations within vtkKWEBoundingBoxRepresentation2D. To use this method, create a dummy vtkHandleRepresentation (or subclass), and then invoke this method with this dummy. Then the vtkKWEBoundingBoxRepresentation2D uses this dummy to clone four vtkHandleRepresentations of the same type.

vtkHandleRepresentation* vtkKWEBoundingBoxRepresentation2D::GetHandleRepresentation ( int  handleIndex  ) 

This method is used to specify the type of handle representation to use for the four internal vtkHandleRepresentations within vtkKWEBoundingBoxRepresentation2D. To use this method, create a dummy vtkHandleRepresentation (or subclass), and then invoke this method with this dummy. Then the vtkKWEBoundingBoxRepresentation2D uses this dummy to clone four vtkHandleRepresentations of the same type.

virtual vtkProperty* vtkKWEBoundingBoxRepresentation2D::GetLineProperty (  )  [virtual]

Retrieve the property used to control the appearance of the two orthogonal lines.

virtual vtkProperty* vtkKWEBoundingBoxRepresentation2D::GetSelectedLineProperty (  )  [virtual]

Retrieve the property used to control the appearance of the two orthogonal lines.

virtual void vtkKWEBoundingBoxRepresentation2D::SetSelectedHandleProperty ( vtkProperty  )  [virtual]

Retrieve the property used to control the appearance of the two orthogonal lines.

virtual void vtkKWEBoundingBoxRepresentation2D::SetHoveredHandleProperty ( vtkProperty  )  [virtual]

Retrieve the property used to control the appearance of the two orthogonal lines.

virtual void vtkKWEBoundingBoxRepresentation2D::SetHandleProperty ( vtkProperty  )  [virtual]

Retrieve the property used to control the appearance of the two orthogonal lines.

vtkPolyData* vtkKWEBoundingBoxRepresentation2D::GetPolyData (  ) 

Get the 3D bounding-box as a polydata.

int vtkKWEBoundingBoxRepresentation2D::GetExtent ( int  extents[6]  ) 

Set/Get the extents of the bbox. Returns 0 on failure.

void vtkKWEBoundingBoxRepresentation2D::SetExtent ( int  extents[6]  ) 

Set/Get the extents of the bbox. Returns 0 on failure.

virtual void vtkKWEBoundingBoxRepresentation2D::BuildRepresentation (  )  [virtual]

These are methods that satisfy vtkWidgetRepresentation's API.

Implements vtkWidgetRepresentation.

virtual int vtkKWEBoundingBoxRepresentation2D::ComputeInteractionState ( int  X,
int  Y,
int  modify = 0 
) [virtual]

These are methods that satisfy vtkWidgetRepresentation's API.

Reimplemented from vtkWidgetRepresentation.

virtual void vtkKWEBoundingBoxRepresentation2D::GetActors2D ( vtkPropCollection pc  )  [virtual]

These are methods that satisfy vtkWidgetRepresentation's API.

Reimplemented from vtkWidgetRepresentation.

virtual void vtkKWEBoundingBoxRepresentation2D::GetActors ( vtkPropCollection pc  )  [virtual]

These are methods that satisfy vtkWidgetRepresentation's API.

Reimplemented from vtkWidgetRepresentation.

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

These are methods that satisfy vtkWidgetRepresentation's API.

virtual void vtkKWEBoundingBoxRepresentation2D::ReleaseGraphicsResources ( vtkWindow w  )  [virtual]

Methods required by vtkProp superclass.

Reimplemented from vtkWidgetRepresentation.

virtual int vtkKWEBoundingBoxRepresentation2D::RenderOverlay ( vtkViewport viewport  )  [virtual]

Methods required by vtkProp superclass.

Reimplemented from vtkProp.

virtual int vtkKWEBoundingBoxRepresentation2D::RenderOpaqueGeometry ( vtkViewport viewport  )  [virtual]

Methods required by vtkProp superclass.

Reimplemented from vtkProp.

virtual void vtkKWEBoundingBoxRepresentation2D::SetInteractionState ( int   )  [virtual]

INTERNAL. Do not use. This is set from vtkKWEBoundingBoxWidget.

virtual void vtkKWEBoundingBoxRepresentation2D::SetLabelFormat ( const char *   )  [virtual]

Specify the format to use for labelling the distance. Note that an empty string results in no label, or a format string without a "%" character will not print the distance value.

virtual char* vtkKWEBoundingBoxRepresentation2D::GetLabelFormat (  )  [virtual]

Specify the format to use for labelling the distance. Note that an empty string results in no label, or a format string without a "%" character will not print the distance value.

virtual void vtkKWEBoundingBoxRepresentation2D::SetImageData ( vtkImageData  )  [virtual]

Set the image data on which the widget is placed.

virtual vtkImageData* vtkKWEBoundingBoxRepresentation2D::GetImageData (  )  [virtual]

Set the image data on which the widget is placed.

virtual void vtkKWEBoundingBoxRepresentation2D::SetID ( int   )  [virtual]

Optionally an ID field may be displayed next to the box

virtual int vtkKWEBoundingBoxRepresentation2D::GetID (  )  [virtual]

Optionally an ID field may be displayed next to the box

vtkProperty* vtkKWEBoundingBoxRepresentation2D::GetOutlineProperty (  ) 

Get the outline property.

vtkTextProperty* vtkKWEBoundingBoxRepresentation2D::GetWidthTextProperty (  ) 

Get the property of the text annotations

vtkTextProperty* vtkKWEBoundingBoxRepresentation2D::GetHeightTextProperty (  ) 

Get the property of the text annotations

vtkTextProperty* vtkKWEBoundingBoxRepresentation2D::GetIDTextProperty (  ) 

Get the property of the text annotations

virtual void vtkKWEBoundingBoxRepresentation2D::SetFade ( int   )  [virtual]

INTERNAL: Do not use.. Must be set by the widget alone. This serves to fade the representation into the background. When on, the representation will but also show up only with the rectangular bounding box. The handles and the slice actors don't show up anymore.

virtual int vtkKWEBoundingBoxRepresentation2D::GetFade (  )  [virtual]

INTERNAL: Do not use.. Must be set by the widget alone. This serves to fade the representation into the background. When on, the representation will but also show up only with the rectangular bounding box. The handles and the slice actors don't show up anymore.

virtual void vtkKWEBoundingBoxRepresentation2D::SetShowSliceScaleBar ( int   )  [virtual]

INTERNAL: Do not use.. Must be set by the widget alone.

virtual int vtkKWEBoundingBoxRepresentation2D::GetUnplaced (  )  [virtual]

INTERNAL: Do not use

void vtkKWEBoundingBoxRepresentation2D::SetVisibilityInternal ( int   )  [protected]

On/Off the visibility of the widget.

void vtkKWEBoundingBoxRepresentation2D::Translate ( const double  translation[3],
const double  cursorMotionVector[3] 
) [protected]
void vtkKWEBoundingBoxRepresentation2D::PositionHandles (  )  [protected]
void vtkKWEBoundingBoxRepresentation2D::SetHandleHighlight ( int  handleIdx,
vtkProperty property 
) [protected]
void vtkKWEBoundingBoxRepresentation2D::PlaceWidget (  )  [protected]
int vtkKWEBoundingBoxRepresentation2D::PlaceWidgetInternal ( double  bounds[6]  )  [protected]
int vtkKWEBoundingBoxRepresentation2D::Cut (  )  [protected]
int vtkKWEBoundingBoxRepresentation2D::Annotate (  )  [protected]
int vtkKWEBoundingBoxRepresentation2D::AnnotateScaleBar (  )  [protected]

Member Data Documentation

Definition at line 211 of file vtkKWEBoundingBoxRepresentation2D.h.

Definition at line 212 of file vtkKWEBoundingBoxRepresentation2D.h.

Definition at line 213 of file vtkKWEBoundingBoxRepresentation2D.h.

Definition at line 214 of file vtkKWEBoundingBoxRepresentation2D.h.

Definition at line 215 of file vtkKWEBoundingBoxRepresentation2D.h.

Definition at line 216 of file vtkKWEBoundingBoxRepresentation2D.h.

Definition at line 217 of file vtkKWEBoundingBoxRepresentation2D.h.

Definition at line 218 of file vtkKWEBoundingBoxRepresentation2D.h.

Definition at line 219 of file vtkKWEBoundingBoxRepresentation2D.h.

Definition at line 220 of file vtkKWEBoundingBoxRepresentation2D.h.

Definition at line 221 of file vtkKWEBoundingBoxRepresentation2D.h.

Definition at line 222 of file vtkKWEBoundingBoxRepresentation2D.h.

Definition at line 223 of file vtkKWEBoundingBoxRepresentation2D.h.

Definition at line 224 of file vtkKWEBoundingBoxRepresentation2D.h.

Definition at line 225 of file vtkKWEBoundingBoxRepresentation2D.h.

Definition at line 226 of file vtkKWEBoundingBoxRepresentation2D.h.

Definition at line 227 of file vtkKWEBoundingBoxRepresentation2D.h.

Reimplemented from vtkWidgetRepresentation.

Definition at line 228 of file vtkKWEBoundingBoxRepresentation2D.h.

Definition at line 229 of file vtkKWEBoundingBoxRepresentation2D.h.

Definition at line 230 of file vtkKWEBoundingBoxRepresentation2D.h.

Definition at line 231 of file vtkKWEBoundingBoxRepresentation2D.h.

Definition at line 232 of file vtkKWEBoundingBoxRepresentation2D.h.

Definition at line 233 of file vtkKWEBoundingBoxRepresentation2D.h.

Definition at line 234 of file vtkKWEBoundingBoxRepresentation2D.h.

Definition at line 235 of file vtkKWEBoundingBoxRepresentation2D.h.

Definition at line 236 of file vtkKWEBoundingBoxRepresentation2D.h.

Definition at line 237 of file vtkKWEBoundingBoxRepresentation2D.h.

Definition at line 238 of file vtkKWEBoundingBoxRepresentation2D.h.

Definition at line 239 of file vtkKWEBoundingBoxRepresentation2D.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines