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... | |
![]() | |
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... | |
![]() | |
geometryBase (const runTimePostProcessing &parent_, const dictionary &dict, const HashPtrTable< DataEntry< vector >, word > &colours) | |
Construct from dictionary. More... | |
virtual | ~geometryBase () |
Destructor. More... | |
const runTimePostProcessing & | parent () const |
Return the reference to the parent function object. More... | |
const word & | name () 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... | |
![]() | |
void | setRepresentation (vtkActor *actor) const |
Set the representation. More... | |
void | addFeatureEdges (vtkRenderer *renderer, vtkPolyData *data) const |
Add feature edges to scene. More... | |
![]() | |
void | initialiseActor (vtkActor *actor) const |
Initialse actor. More... | |
Protected Attributes | |
List< fileName > | fileNames_ |
File names. More... | |
![]() | |
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... | |
![]() | |
const runTimePostProcessing & | parent_ |
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 | |
![]() | |
enum | representationType { rtNone, rtWireframe, rtSurface, rtSurfaceWithEdges, rtGlyph } |
![]() | |
enum | renderModeType { rmFlat, rmGouraud, rmPhong } |
![]() | |
static autoPtr< surface > | New (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 const NamedEnum< representationType, 5 > | representationTypeNames |
![]() | |
static const NamedEnum< renderModeType, 3 > | renderModeTypeNames |
|
private |
Disallow default bitwise copy construct.
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 | ( | 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.
|
virtual |
Destructor.
Definition at line 162 of file geometrySurface.C.
|
private |
Disallow default bitwise assignment.
|
protected |
Add surface (file) to scene.
Definition at line 59 of file geometrySurface.C.
References triSurface::clearOut(), Foam::exit(), f(), PrimitivePatch< Face, FaceList, PointField, PointType >::faceNormals(), Foam::FatalError, FatalErrorInFunction, forAll, n, Foam::compressible::New(), points, PrimitivePatch< Face, FaceList, PointField, PointType >::points(), Vector< Cmpt >::x(), Vector< Cmpt >::y(), and Vector< Cmpt >::z().
Referenced by functionObjectSurface::addGeometryToScene().
TypeName | ( | "geometry" | ) |
Run-time type information.
|
virtual |
Add surface(s) to scene.
Implements geometryBase.
Reimplemented in functionObjectSurface.
Definition at line 169 of file geometrySurface.C.
References string::expand(), and forAll.
|
virtual |
Update actors.
Reimplemented from surface.
Definition at line 187 of file geometrySurface.C.
References surface::updateActors().
File names.
Definition at line 69 of file geometrySurface.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.