Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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

 vtkTypeMacro (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 *vport, double 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 double theWorldPoint[4])
 
const double * GetWorldPoint () const
 
void SetDistance (const double theDistance)
 
double GetDistance () const
 
void SetMoveFrameFlag (const int flag)
 
int GetMoveFrameFlag () const
 
void SetForegroundColor (const double r, const double g, const double b)
 
void GetForegroundColor (double &r, double &g, double &b)
 
void SetBackgroundColor (const double r, const double g, const double b)
 
void GetBackgroundColor (double &r, double &g, double &b)
 
void SetTransparency (const double theTransparency)
 
double GetTransparency () const
 
void SetTextMargin (const int theMargin)
 
int GetTextMargin () const
 
void SetOffset (const double 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
 
vtkTextActor * myTextActor
 
vtkTimeStamp myBuildTime
 
int myModePosition
 
int myLayoutType
 
int myMoveFrameFlag
 
double myWorldPoint [4]
 
double myDistance
 
double myTransparency
 
int myTextMargin
 
int myHorizontalOffset
 
int myVerticalOffset
 

Private Member Functions

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

Member Enumeration Documentation

Enumerator
Vertical 
Horizontal 
Enumerator
BelowPoint 
TopLeft 
TopRight 
BottomLeft 
BottomRight 

Constructor & Destructor Documentation

VTKViewer_FramedTextActor::~VTKViewer_FramedTextActor ( )
protected
VTKViewer_FramedTextActor::VTKViewer_FramedTextActor ( const VTKViewer_FramedTextActor )
private

Member Function Documentation

void VTKViewer_FramedTextActor::GetBackgroundColor ( double &  r,
double &  g,
double &  b 
)

References myBarActor.

double VTKViewer_FramedTextActor::GetDistance ( ) const

References myDistance.

void VTKViewer_FramedTextActor::GetForegroundColor ( double &  r,
double &  g,
double &  b 
)

References myTextProperty.

int VTKViewer_FramedTextActor::GetLayoutType ( ) const

References myLayoutType.

int VTKViewer_FramedTextActor::GetModePosition ( ) const

References myModePosition.

int VTKViewer_FramedTextActor::GetMoveFrameFlag ( ) const

References myMoveFrameFlag.

int VTKViewer_FramedTextActor::GetPickable ( )
virtual

References myBarActor.

void VTKViewer_FramedTextActor::GetSize ( vtkRenderer *  vport,
double  theSize[2] 
) const
virtual
char * VTKViewer_FramedTextActor::GetText ( )

References myTextActor.

int VTKViewer_FramedTextActor::GetTextMargin ( ) const

References myTextMargin.

double VTKViewer_FramedTextActor::GetTransparency ( ) const

References myTransparency.

int VTKViewer_FramedTextActor::GetVisibility ( )
virtual

References myBarActor.

const double * VTKViewer_FramedTextActor::GetWorldPoint ( ) const

References myWorldPoint.

static VTKViewer_FramedTextActor* VTKViewer_FramedTextActor::New ( )
static
void VTKViewer_FramedTextActor::operator= ( const VTKViewer_FramedTextActor )
private
void VTKViewer_FramedTextActor::ReleaseGraphicsResources ( vtkWindow *  win)
virtual

References myBarActor, and myTextActor.

int VTKViewer_FramedTextActor::RenderOpaqueGeometry ( vtkViewport *  theViewport)
virtual

References Horizontal, OFFSET_SPACING, and Vertical.

int VTKViewer_FramedTextActor::RenderOverlay ( vtkViewport *  viewport)
virtual

References myBarActor, and myTextActor.

virtual int VTKViewer_FramedTextActor::RenderTranslucentGeometry ( vtkViewport *  )
inlinevirtual
void VTKViewer_FramedTextActor::SetBackgroundColor ( const double  r,
const double  g,
const double  b 
)

References myBarActor.

void VTKViewer_FramedTextActor::SetDistance ( const double  theDistance)

References myDistance.

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

References myTextActor, and myTextProperty.

void VTKViewer_FramedTextActor::SetLayoutType ( const int  theType)

References myLayoutType.

void VTKViewer_FramedTextActor::SetModePosition ( const int  theMode)

References myModePosition.

void VTKViewer_FramedTextActor::SetMoveFrameFlag ( const int  flag)

References myMoveFrameFlag.

void VTKViewer_FramedTextActor::SetOffset ( const double  theOffset[2])
void VTKViewer_FramedTextActor::SetPickable ( int  thePickability)
virtual

References myBarActor, and myTextActor.

void VTKViewer_FramedTextActor::SetText ( const char *  theText)

References myTextActor.

void VTKViewer_FramedTextActor::SetTextMargin ( const int  theMargin)

References myTextMargin.

void VTKViewer_FramedTextActor::SetTransparency ( const double  theTransparency)

References myBarActor, and myTransparency.

void VTKViewer_FramedTextActor::SetVisibility ( int  theVisibility)
virtual

References myBarActor, and myTextActor.

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

References myWorldPoint.

VTKViewer_FramedTextActor::vtkTypeMacro ( VTKViewer_FramedTextActor  ,
vtkActor2D   
)

Member Data Documentation

vtkPolyData* VTKViewer_FramedTextActor::myBar
protected
vtkActor2D* VTKViewer_FramedTextActor::myBarActor
protected
vtkPolyDataMapper2D* VTKViewer_FramedTextActor::myBarMapper
protected
vtkTimeStamp VTKViewer_FramedTextActor::myBuildTime
protected
double VTKViewer_FramedTextActor::myDistance
protected
int VTKViewer_FramedTextActor::myHorizontalOffset
protected
int VTKViewer_FramedTextActor::myLayoutType
protected
int VTKViewer_FramedTextActor::myModePosition
protected
int VTKViewer_FramedTextActor::myMoveFrameFlag
protected
vtkTextActor* VTKViewer_FramedTextActor::myTextActor
protected
int VTKViewer_FramedTextActor::myTextMargin
protected
vtkTextProperty* VTKViewer_FramedTextActor::myTextProperty
protected
double VTKViewer_FramedTextActor::myTransparency
protected
int VTKViewer_FramedTextActor::myVerticalOffset
protected
double VTKViewer_FramedTextActor::myWorldPoint[4]
protected

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