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

Public Member Functions

 TypeName ("geometry")
 Run-time type information. More...
 
 geometrySurface (const runTimePostProcessing &parent, const dictionary &dict, const HashPtrTable< DataEntry< vector >, word > &colours)
 Construct from dictionary. More...
 
 geometrySurface (const runTimePostProcessing &parent, const dictionary &dict, const HashPtrTable< DataEntry< vector >, word > &colours, const List< fileName > &fileNames)
 Construct from components. More...
 
virtual ~geometrySurface ()
 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 surface
 TypeName ("surface")
 Run-time type information. More...
 
 declareRunTimeSelectionTable (autoPtr, surface, dictionary,(const runTimePostProcessing &parent, const dictionary &dict, const HashPtrTable< DataEntry< vector >, word > &colours),(parent, dict, colours))
 
 surface (const runTimePostProcessing &parent, const dictionary &dict, const HashPtrTable< DataEntry< vector >, word > &colours)
 Construct from dictionary. More...
 
virtual ~surface ()
 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...
 

Protected Member Functions

void addGeometryToScene (const scalar position, vtkRenderer *renderer, const fileName &fName) const
 Add surface (file) to scene. More...
 
- Protected Member Functions inherited from surface
void setRepresentation (vtkActor *actor) const
 Set the representation. More...
 
void addFeatureEdges (vtkRenderer *renderer, vtkPolyData *data) const
 Add feature edges to scene. More...
 
- Protected Member Functions inherited from geometryBase
void initialiseActor (vtkActor *actor) const
 Initialse actor. More...
 

Protected Attributes

List< fileNamefileNames_
 File names. More...
 
- Protected Attributes inherited from surface
representationType representation_
 Representation type. More...
 
bool featureEdges_
 Activate feature edges. More...
 
autoPtr< DataEntry< vector > > surfaceColour_
 Surface colour. More...
 
autoPtr< DataEntry< vector > > edgeColour_
 Edge colour. More...
 
vtkSmartPointer< vtkActor > surfaceActor_
 Surface actor. More...
 
vtkSmartPointer< vtkActor > edgeActor_
 Edge actor. More...
 
scalar maxGlyphLength_
 Max glyph length for representation type rtGlyph. 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

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

Additional Inherited Members

- Public Types inherited from surface
enum  representationType {
  rtNone, rtWireframe, rtSurface, rtSurfaceWithEdges,
  rtGlyph
}
 
- Public Types inherited from geometryBase
enum  renderModeType { rmFlat, rmGouraud, rmPhong }
 
- Static Public Member Functions inherited from surface
static autoPtr< surfaceNew (const runTimePostProcessing &parent, const dictionary &dict, const HashPtrTable< DataEntry< vector >, word > &colours, const word &surfaceName)
 Return a reference to the selected RAS model. More...
 
- Static Public Attributes inherited from surface
static const NamedEnum< representationType, 5 > representationTypeNames
 
- Static Public Attributes inherited from geometryBase
static const NamedEnum< renderModeType, 3 > renderModeTypeNames
 

Detailed Description

Source files

Definition at line 49 of file geometrySurface.H.

Constructor & Destructor Documentation

◆ geometrySurface() [1/3]

geometrySurface ( const geometrySurface )
private

Disallow default bitwise copy construct.

◆ geometrySurface() [2/3]

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

Construct from dictionary.

Definition at line 136 of file geometrySurface.C.

◆ geometrySurface() [3/3]

geometrySurface ( const runTimePostProcessing parent,
const dictionary dict,
const HashPtrTable< DataEntry< vector >, word > &  colours,
const List< fileName > &  fileNames 
)

Construct from components.

Definition at line 148 of file geometrySurface.C.

◆ ~geometrySurface()

~geometrySurface ( )
virtual

Destructor.

Definition at line 162 of file geometrySurface.C.

Member Function Documentation

◆ operator=()

void operator= ( const geometrySurface )
private

Disallow default bitwise assignment.

◆ addGeometryToScene() [1/2]

void addGeometryToScene ( const scalar  position,
vtkRenderer *  renderer,
const fileName fName 
) const
protected

◆ TypeName()

TypeName ( "geometry"  )

Run-time type information.

◆ addGeometryToScene() [2/2]

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

Add surface(s) to scene.

Implements geometryBase.

Reimplemented in functionObjectSurface.

Definition at line 169 of file geometrySurface.C.

References string::expand(), and forAll.

Here is the call graph for this function:

◆ updateActors()

void updateActors ( const scalar  position)
virtual

Update actors.

Reimplemented from surface.

Definition at line 187 of file geometrySurface.C.

References surface::updateActors().

Here is the call graph for this function:

Field Documentation

◆ fileNames_

List<fileName> fileNames_
protected

File names.

Definition at line 69 of file geometrySurface.H.


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