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

Public Member Functions

 TypeName ("line")
 Run-time type information. More...
 
 functionObjectLine (const runTimePostProcessing &parent, const dictionary &dict, const HashPtrTable< DataEntry< vector >, word > &colours)
 Construct from dictionary. More...
 
virtual ~functionObjectLine ()
 Destructor. More...
 
virtual void addGeometryToScene (const scalar position, vtkRenderer *renderer)
 Add tube(s) to scene. More...
 
virtual void updateActors (const scalar position)
 Update actors. More...
 
- Public Member Functions inherited from pathline
 TypeName ("pathline")
 Run-time type information. More...
 
 declareRunTimeSelectionTable (autoPtr, pathline, dictionary,(const runTimePostProcessing &parent, const dictionary &dict, const HashPtrTable< DataEntry< vector >, word > &colours),(parent, dict, colours))
 
 pathline (const runTimePostProcessing &parent, const dictionary &dict, const HashPtrTable< DataEntry< vector >, word > &colours)
 Construct from dictionary. More...
 
virtual ~pathline ()
 Destructor. 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...
 
- Public Member Functions inherited from fieldVisualisationBase
 fieldVisualisationBase (const runTimePostProcessing &parent, const dictionary &dict, const HashPtrTable< DataEntry< vector >, word > &colours)
 Construct from dictionary. More...
 
virtual ~fieldVisualisationBase ()
 Destructor. More...
 
const HashPtrTable< DataEntry< vector >, word > & colours () const
 Return the colours. More...
 
const wordfieldName () const
 Return the field name. More...
 

Protected Attributes

word functionObject_
 Name of function object result to render. More...
 
vtkSmartPointer< vtkActor > actor_
 Actor. More...
 
- Protected Attributes inherited from pathline
representationType representation_
 Representation type. More...
 
scalar tubeRadius_
 Radius for the tube filter. More...
 
autoPtr< DataEntry< vector > > lineColour_
 Line colour. 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...
 
- Protected Attributes inherited from fieldVisualisationBase
const HashPtrTable< DataEntry< vector >, word > & colours_
 Colours. More...
 
word fieldName_
 Field name. More...
 
colourByType colourBy_
 Colour by type. More...
 
colourMapType colourMap_
 Colour map type. More...
 
Tuple2< scalar, scalar > range_
 Range of values. More...
 
scalarBar scalarBar_
 Scalar bar. More...
 

Private Member Functions

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

Additional Inherited Members

- Public Types inherited from pathline
enum  representationType { rtNone, rtLine, rtTube, rtVector }
 
- Public Types inherited from geometryBase
enum  renderModeType { rmFlat, rmGouraud, rmPhong }
 
- Public Types inherited from fieldVisualisationBase
enum  colourByType { cbColour, cbField }
 
enum  colourMapType { cmRainbow, cmBlueWhiteRed, cmFire, cmGreyscale }
 
- Static Public Member Functions inherited from pathline
static autoPtr< pathlineNew (const runTimePostProcessing &parent, const dictionary &dict, const HashPtrTable< DataEntry< vector >, word > &colours, const word &pathlineName)
 Return a reference to the selected RAS model. More...
 
- Static Public Attributes inherited from pathline
static const NamedEnum< representationType, 4 > representationTypeNames
 
- Static Public Attributes inherited from geometryBase
static const NamedEnum< renderModeType, 3 > renderModeTypeNames
 
- Static Public Attributes inherited from fieldVisualisationBase
static const NamedEnum< colourByType, 2 > colourByTypeNames
 
static const NamedEnum< colourMapType, 4 > colourMapTypeNames
 
- Protected Member Functions inherited from pathline
void addLines (const label frameI, vtkActor *actor, vtkPolyData *data) const
 Add the pathlines to the renderer. More...
 
- Protected Member Functions inherited from geometryBase
void initialiseActor (vtkActor *actor) const
 Initialse actor. More...
 
- Protected Member Functions inherited from fieldVisualisationBase
void setColourMap (vtkLookupTable *lut) const
 Set the colour map. More...
 
void addScalarBar (const scalar position, vtkRenderer *renderer, vtkLookupTable *lut) const
 Add scalar bar to renderer. More...
 
void setField (const scalar position, const word &colourFieldName, vtkPolyDataMapper *mapper, vtkRenderer *renderer) const
 Set field/configure mapper, add scalar bar. More...
 
void addGlyphs (const scalar position, const word &scaleFieldName, const word &colourFieldName, const scalar maxGlyphLength, vtkPolyData *data, vtkActor *actor, vtkRenderer *renderer) const
 Add glyphs. More...
 

Detailed Description

Source files

Definition at line 48 of file functionObjectLine.H.

Constructor & Destructor Documentation

◆ functionObjectLine() [1/2]

functionObjectLine ( const functionObjectLine )
private

Disallow default bitwise copy construct.

◆ functionObjectLine() [2/2]

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

Construct from dictionary.

Definition at line 51 of file functionObjectLine.C.

References Foam::compressible::New().

Here is the call graph for this function:

◆ ~functionObjectLine()

~functionObjectLine ( )
virtual

Destructor.

Definition at line 68 of file functionObjectLine.C.

Member Function Documentation

◆ operator=()

void operator= ( const functionObjectLine )
private

Disallow default bitwise assignment.

◆ TypeName()

TypeName ( "line"  )

Run-time type information.

◆ addGeometryToScene()

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

◆ updateActors()

void updateActors ( const scalar  position)
virtual

Update actors.

Implements geometryBase.

Definition at line 124 of file functionObjectLine.C.

Field Documentation

◆ functionObject_

word functionObject_
protected

Name of function object result to render.

Definition at line 69 of file functionObjectLine.H.

◆ actor_

vtkSmartPointer<vtkActor> actor_
protected

Actor.

Definition at line 72 of file functionObjectLine.H.


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