Public Member Functions | Protected Attributes | Private Member Functions
text Class Reference
Inheritance diagram for text:
Inheritance graph
[legend]
Collaboration diagram for text:
Collaboration graph
[legend]

Public Member Functions

 text (const runTimePostProcessing &parent, const dictionary &dict, const HashPtrTable< DataEntry< vector >, word > &colours)
 Construct from dictionary. More...
 
virtual ~text ()
 Destructor. More...
 
virtual void addGeometryToScene (const scalar position, vtkRenderer *renderer)
 Add surface(s) to scene. More...
 
virtual void updateActors (const scalar position)
 Update actors. More...
 
- Public Member Functions inherited from geometryBase
 geometryBase (const runTimePostProcessing &parent_, const dictionary &dict, const HashPtrTable< DataEntry< vector >, word > &colours)
 Construct from dictionary. More...
 
virtual ~geometryBase ()
 Destructor. More...
 
const runTimePostProcessingparent () const
 Return the reference to the parent function object. More...
 
const wordname () const
 Return the name. More...
 
bool visible () const
 Return the visible flag. More...
 
scalar opacity (const scalar position) const
 Return the opacity. More...
 
const HashPtrTable< DataEntry< vector >, word > & colours () const
 Return reference to the colours. More...
 

Protected Attributes

string string_
 Text. More...
 
Tuple2< scalar, scalar > position_
 Position. More...
 
scalar size_
 Size. More...
 
autoPtr< DataEntry< vector > > colour_
 Colour. More...
 
bool bold_
 Bold flag. More...
 
- Protected Attributes inherited from geometryBase
const runTimePostProcessingparent_
 Reference to the parent function object. More...
 
word name_
 Name. More...
 
bool visible_
 Visible flag. More...
 
renderModeType renderMode_
 Render mode. More...
 
autoPtr< DataEntry< scalar > > opacity_
 Opacity. More...
 
const HashPtrTable< DataEntry< vector >, word > & colours_
 Reference to the colours. More...
 

Private Member Functions

 text (const text &)
 Disallow default bitwise copy construct. More...
 
void operator= (const text &)
 Disallow default bitwise assignment. More...
 

Additional Inherited Members

- Public Types inherited from geometryBase
enum  renderModeType { rmFlat, rmGouraud, rmPhong }
 
- Static Public Attributes inherited from geometryBase
static const NamedEnum< renderModeType, 3 > renderModeTypeNames
 
- Protected Member Functions inherited from geometryBase
void initialiseActor (vtkActor *actor) const
 Initialse actor. More...
 

Detailed Description

Source files

Definition at line 50 of file text.H.

Constructor & Destructor Documentation

◆ text() [1/2]

text ( const text )
private

Disallow default bitwise copy construct.

◆ text() [2/2]

text ( const runTimePostProcessing parent,
const dictionary dict,
const HashPtrTable< DataEntry< vector >, word > &  colours 
)

Construct from dictionary.

Definition at line 39 of file text.C.

References dict.

◆ ~text()

~text ( )
virtual

Destructor.

Definition at line 65 of file text.C.

Member Function Documentation

◆ operator=()

void operator= ( const text )
private

Disallow default bitwise assignment.

◆ addGeometryToScene()

void addGeometryToScene ( const scalar  position,
vtkRenderer *  renderer 
)
virtual

Add surface(s) to scene.

Implements geometryBase.

Definition at line 72 of file text.C.

References Foam::compressible::New().

Here is the call graph for this function:

◆ updateActors()

void updateActors ( const scalar  position)
virtual

Update actors.

Implements geometryBase.

Definition at line 104 of file text.C.

Field Documentation

◆ string_

string string_
protected

Text.

Definition at line 70 of file text.H.

◆ position_

Tuple2<scalar, scalar> position_
protected

Position.

Definition at line 73 of file text.H.

◆ size_

scalar size_
protected

Size.

Definition at line 76 of file text.H.

◆ colour_

autoPtr<DataEntry<vector> > colour_
protected

Colour.

Definition at line 79 of file text.H.

◆ bold_

bool bold_
protected

Bold flag.

Definition at line 82 of file text.H.


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