Version: 6.3.1
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions

VTKViewer_FramedTextActor Class Reference

#include <VTKViewer_FramedTextActor.h>

Inheritance diagram for VTKViewer_FramedTextActor:
Inheritance graph

Public Types

enum  ModePosition {
  BelowPoint = 0, TopLeft, TopRight, BottomLeft,
  BottomRight
}
enum  LayoutType { Vertical = 0, Horizontal }

Public Member Functions

 vtkTypeRevisionMacro (VTKViewer_FramedTextActor, vtkActor2D)
virtual int RenderOpaqueGeometry (vtkViewport *)
virtual int RenderTranslucentGeometry (vtkViewport *)
virtual int RenderOverlay (vtkViewport *)
virtual void ReleaseGraphicsResources (vtkWindow *)
virtual void SetVisibility (int)
virtual int GetVisibility ()
virtual void SetPickable (int)
virtual int GetPickable ()
virtual void GetSize (vtkRenderer *theRenderer, int theSize[2]) const
void SetText (const char *theText)
char * GetText ()
void SetModePosition (const int theMode)
int GetModePosition () const
void SetLayoutType (const int theType)
int GetLayoutType () const
void SetWorldPoint (const vtkFloatingPointType theWorldPoint[4])
const vtkFloatingPointTypeGetWorldPoint () const
void SetDistance (const vtkFloatingPointType theDistance)
vtkFloatingPointType GetDistance () const
void SetMoveFrameFlag (const int flag)
int GetMoveFrameFlag () const
void SetForegroundColor (const vtkFloatingPointType r, const vtkFloatingPointType g, const vtkFloatingPointType b)
void GetForegroundColor (vtkFloatingPointType &r, vtkFloatingPointType &g, vtkFloatingPointType &b)
void SetBackgroundColor (const vtkFloatingPointType r, const vtkFloatingPointType g, const vtkFloatingPointType b)
void GetBackgroundColor (vtkFloatingPointType &r, vtkFloatingPointType &g, vtkFloatingPointType &b)
void SetTransparency (const vtkFloatingPointType theTransparency)
vtkFloatingPointType GetTransparency () const
void SetTextMargin (const int theMargin)
int GetTextMargin () const
void SetOffset (const int theOffset[2])

Static Public Member Functions

static VTKViewer_FramedTextActorNew ()

Protected Member Functions

 VTKViewer_FramedTextActor ()
 ~VTKViewer_FramedTextActor ()

Protected Attributes

vtkPolyData * myBar
vtkPolyDataMapper2D * myBarMapper
vtkActor2DmyBarActor
vtkTextProperty * myTextProperty
vtkTextMapper * myTextMapper
vtkActor2DmyTextActor
vtkTimeStamp myBuildTime
int myModePosition
int myLayoutType
int myMoveFrameFlag
vtkFloatingPointType myWorldPoint [4]
vtkFloatingPointType myDistance
vtkFloatingPointType myTransparency
int myTextMargin
int myHorizontalOffset
int myVerticalOffset

Private Member Functions

 VTKViewer_FramedTextActor (const VTKViewer_FramedTextActor &)
void operator= (const VTKViewer_FramedTextActor &)

Member Enumeration Documentation

Enumerator:
BelowPoint 
TopLeft 
TopRight 
BottomLeft 
BottomRight 
Enumerator:
Vertical 
Horizontal 

Constructor & Destructor Documentation

VTKViewer_FramedTextActor::VTKViewer_FramedTextActor ( ) [protected]
VTKViewer_FramedTextActor::~VTKViewer_FramedTextActor ( ) [protected]
VTKViewer_FramedTextActor.VTKViewer_FramedTextActor ( const VTKViewer_FramedTextActor ) [private]

Member Function Documentation

VTKViewer_FramedTextActor.vtkTypeRevisionMacro ( VTKViewer_FramedTextActor  ,
vtkActor2D   
)
static VTKViewer_FramedTextActor* VTKViewer_FramedTextActor.New ( ) [static]
int VTKViewer_FramedTextActor::RenderOpaqueGeometry ( vtkViewport *  theViewport) [virtual]

References Horizontal, OFFSET_SPACING, and Vertical.

virtual int VTKViewer_FramedTextActor.RenderTranslucentGeometry ( vtkViewport *  ) [virtual]
int VTKViewer_FramedTextActor::RenderOverlay ( vtkViewport *  viewport) [virtual]

References myBarActor, and myTextActor.

void VTKViewer_FramedTextActor::ReleaseGraphicsResources ( vtkWindow *  win) [virtual]

References myBarActor, and myTextActor.

void VTKViewer_FramedTextActor::SetVisibility ( int  theVisibility) [virtual]

References myBarActor, and myTextActor.

int VTKViewer_FramedTextActor::GetVisibility ( ) [virtual]

References myBarActor.

void VTKViewer_FramedTextActor::SetPickable ( int  thePickability) [virtual]

References myBarActor, and myTextActor.

int VTKViewer_FramedTextActor::GetPickable ( ) [virtual]

References myBarActor.

void VTKViewer_FramedTextActor::GetSize ( vtkRenderer *  theRenderer,
int  theSize[2] 
) const [virtual]
void VTKViewer_FramedTextActor::SetText ( const char *  theText)

References myTextMapper.

char * VTKViewer_FramedTextActor::GetText ( )

References myTextMapper.

void VTKViewer_FramedTextActor::SetModePosition ( const int  theMode)

References myModePosition.

int VTKViewer_FramedTextActor::GetModePosition ( ) const

References myModePosition.

void VTKViewer_FramedTextActor::SetLayoutType ( const int  theType)

References myLayoutType.

int VTKViewer_FramedTextActor::GetLayoutType ( ) const

References myLayoutType.

void VTKViewer_FramedTextActor::SetWorldPoint ( const vtkFloatingPointType  theWorldPoint[4])

References myWorldPoint.

const vtkFloatingPointType * VTKViewer_FramedTextActor::GetWorldPoint ( ) const

References myWorldPoint.

void VTKViewer_FramedTextActor::SetDistance ( const vtkFloatingPointType  theDistance)

References myDistance.

vtkFloatingPointType VTKViewer_FramedTextActor::GetDistance ( ) const

References myDistance.

void VTKViewer_FramedTextActor::SetMoveFrameFlag ( const int  flag)

References myMoveFrameFlag.

int VTKViewer_FramedTextActor::GetMoveFrameFlag ( ) const

References myMoveFrameFlag.

void VTKViewer_FramedTextActor::SetForegroundColor ( const vtkFloatingPointType  r,
const vtkFloatingPointType  g,
const vtkFloatingPointType  b 
)

References myTextMapper, and myTextProperty.

void VTKViewer_FramedTextActor::GetForegroundColor ( vtkFloatingPointType r,
vtkFloatingPointType g,
vtkFloatingPointType b 
)

References myTextProperty.

void VTKViewer_FramedTextActor::SetBackgroundColor ( const vtkFloatingPointType  r,
const vtkFloatingPointType  g,
const vtkFloatingPointType  b 
)

References myBarActor.

void VTKViewer_FramedTextActor::GetBackgroundColor ( vtkFloatingPointType r,
vtkFloatingPointType g,
vtkFloatingPointType b 
)

References myBarActor.

void VTKViewer_FramedTextActor::SetTransparency ( const vtkFloatingPointType  theTransparency)

References myBarActor, and myTransparency.

vtkFloatingPointType VTKViewer_FramedTextActor::GetTransparency ( ) const

References myTransparency.

void VTKViewer_FramedTextActor::SetTextMargin ( const int  theMargin)

References myTextMargin.

int VTKViewer_FramedTextActor::GetTextMargin ( ) const

References myTextMargin.

void VTKViewer_FramedTextActor::SetOffset ( const int  theOffset[2])
void VTKViewer_FramedTextActor.operator= ( const VTKViewer_FramedTextActor ) [private]

Field Documentation

vtkPolyData* VTKViewer_FramedTextActor.myBar [protected]
vtkPolyDataMapper2D* VTKViewer_FramedTextActor.myBarMapper [protected]
vtkTextProperty* VTKViewer_FramedTextActor.myTextProperty [protected]
vtkTextMapper* VTKViewer_FramedTextActor.myTextMapper [protected]
vtkTimeStamp VTKViewer_FramedTextActor.myBuildTime [protected]
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS