Version: 9.12.0
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) static VTKViewer_FramedTextActor *New()
 
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])
 

Protected Member Functions

 VTKViewer_FramedTextActor ()
 
 ~VTKViewer_FramedTextActor ()
 

Protected Attributes

vtkPolyData * myBar
 
vtkPolyDataMapper2D * myBarMapper
 
vtkActor2DmyBarActor
 
vtkTextProperty * myTextProperty
 
vtkTextActormyTextActor
 
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

◆ LayoutType

Enumerator
Vertical 
Horizontal 

◆ ModePosition

Enumerator
BelowPoint 
TopLeft 
TopRight 
BottomLeft 
BottomRight 

Constructor & Destructor Documentation

◆ VTKViewer_FramedTextActor() [1/2]

VTKViewer_FramedTextActor::VTKViewer_FramedTextActor ( )
protected

◆ ~VTKViewer_FramedTextActor()

VTKViewer_FramedTextActor::~VTKViewer_FramedTextActor ( )
protected

◆ VTKViewer_FramedTextActor() [2/2]

VTKViewer_FramedTextActor::VTKViewer_FramedTextActor ( const VTKViewer_FramedTextActor )
private

Member Function Documentation

◆ GetBackgroundColor()

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

References myBarActor.

◆ GetDistance()

double VTKViewer_FramedTextActor::GetDistance ( ) const

References myDistance.

◆ GetForegroundColor()

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

References myTextProperty.

◆ GetLayoutType()

int VTKViewer_FramedTextActor::GetLayoutType ( ) const

References myLayoutType.

◆ GetModePosition()

int VTKViewer_FramedTextActor::GetModePosition ( ) const

References myModePosition.

◆ GetMoveFrameFlag()

int VTKViewer_FramedTextActor::GetMoveFrameFlag ( ) const

References myMoveFrameFlag.

◆ GetPickable()

int VTKViewer_FramedTextActor::GetPickable ( )
virtual

References myBarActor.

◆ GetSize()

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

◆ GetText()

char * VTKViewer_FramedTextActor::GetText ( )

References myTextActor.

◆ GetTextMargin()

int VTKViewer_FramedTextActor::GetTextMargin ( ) const

References myTextMargin.

◆ GetTransparency()

double VTKViewer_FramedTextActor::GetTransparency ( ) const

References myTransparency.

◆ GetVisibility()

int VTKViewer_FramedTextActor::GetVisibility ( )
virtual

References myBarActor.

◆ GetWorldPoint()

const double * VTKViewer_FramedTextActor::GetWorldPoint ( ) const

References myWorldPoint.

◆ operator=()

void VTKViewer_FramedTextActor::operator= ( const VTKViewer_FramedTextActor )
private

◆ ReleaseGraphicsResources()

void VTKViewer_FramedTextActor::ReleaseGraphicsResources ( vtkWindow *  win)
virtual

References myBarActor, and myTextActor.

◆ RenderOpaqueGeometry()

int VTKViewer_FramedTextActor::RenderOpaqueGeometry ( vtkViewport *  theViewport)
virtual

References Horizontal, OFFSET_SPACING, and Vertical.

◆ RenderOverlay()

int VTKViewer_FramedTextActor::RenderOverlay ( vtkViewport *  viewport)
virtual

References myBarActor, and myTextActor.

◆ RenderTranslucentGeometry()

virtual int VTKViewer_FramedTextActor::RenderTranslucentGeometry ( vtkViewport *  )
inlinevirtual

◆ SetBackgroundColor()

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

References myBarActor.

◆ SetDistance()

void VTKViewer_FramedTextActor::SetDistance ( const double  theDistance)

References myDistance.

◆ SetForegroundColor()

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

References myTextActor, and myTextProperty.

◆ SetLayoutType()

void VTKViewer_FramedTextActor::SetLayoutType ( const int  theType)

References myLayoutType.

◆ SetModePosition()

void VTKViewer_FramedTextActor::SetModePosition ( const int  theMode)

References myModePosition.

◆ SetMoveFrameFlag()

void VTKViewer_FramedTextActor::SetMoveFrameFlag ( const int  flag)

References myMoveFrameFlag.

◆ SetOffset()

void VTKViewer_FramedTextActor::SetOffset ( const double  theOffset[2])

◆ SetPickable()

void VTKViewer_FramedTextActor::SetPickable ( int  thePickability)
virtual

References myBarActor, and myTextActor.

◆ SetText()

void VTKViewer_FramedTextActor::SetText ( const char *  theText)

References myTextActor.

◆ SetTextMargin()

void VTKViewer_FramedTextActor::SetTextMargin ( const int  theMargin)

References myTextMargin.

◆ SetTransparency()

void VTKViewer_FramedTextActor::SetTransparency ( const double  theTransparency)

References myBarActor, and myTransparency.

◆ SetVisibility()

void VTKViewer_FramedTextActor::SetVisibility ( int  theVisibility)
virtual

References myBarActor, and myTextActor.

◆ SetWorldPoint()

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

References myWorldPoint.

◆ vtkTypeMacro()

VTKViewer_FramedTextActor::vtkTypeMacro ( VTKViewer_FramedTextActor  ,
vtkActor2D   
)

Member Data Documentation

◆ myBar

vtkPolyData* VTKViewer_FramedTextActor::myBar
protected

◆ myBarActor

vtkActor2D* VTKViewer_FramedTextActor::myBarActor
protected

◆ myBarMapper

vtkPolyDataMapper2D* VTKViewer_FramedTextActor::myBarMapper
protected

◆ myBuildTime

vtkTimeStamp VTKViewer_FramedTextActor::myBuildTime
protected

◆ myDistance

double VTKViewer_FramedTextActor::myDistance
protected

◆ myHorizontalOffset

int VTKViewer_FramedTextActor::myHorizontalOffset
protected

◆ myLayoutType

int VTKViewer_FramedTextActor::myLayoutType
protected

◆ myModePosition

int VTKViewer_FramedTextActor::myModePosition
protected

◆ myMoveFrameFlag

int VTKViewer_FramedTextActor::myMoveFrameFlag
protected

◆ myTextActor

vtkTextActor* VTKViewer_FramedTextActor::myTextActor
protected

◆ myTextMargin

int VTKViewer_FramedTextActor::myTextMargin
protected

◆ myTextProperty

vtkTextProperty* VTKViewer_FramedTextActor::myTextProperty
protected

◆ myTransparency

double VTKViewer_FramedTextActor::myTransparency
protected

◆ myVerticalOffset

int VTKViewer_FramedTextActor::myVerticalOffset
protected

◆ myWorldPoint

double VTKViewer_FramedTextActor::myWorldPoint[4]
protected

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