Public Member Functions | |
TypeName ("functionObject") | |
Run-time type information. More... | |
functionObjectSurface (const runTimePostProcessing &parent, const dictionary &dict, const HashPtrTable< DataEntry< vector >, word > &colours) | |
Construct from dictionary. More... | |
virtual | ~functionObjectSurface () |
Destructor. More... | |
virtual void | addGeometryToScene (const scalar position, vtkRenderer *renderer) |
Add surface(s) to scene. More... | |
![]() | |
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 | 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... | |
![]() | |
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 word & | fieldName () const |
Return the field name. More... | |
Protected Attributes | |
word | functionObject_ |
Name of function object result to render. More... | |
![]() | |
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... | |
![]() | |
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 | |
functionObjectSurface (const functionObjectSurface &) | |
Disallow default bitwise copy construct. More... | |
void | operator= (const functionObjectSurface &) |
Disallow default bitwise assignment. More... | |
Additional Inherited Members | |
![]() | |
enum | representationType { rtNone, rtWireframe, rtSurface, rtSurfaceWithEdges, rtGlyph } |
![]() | |
enum | renderModeType { rmFlat, rmGouraud, rmPhong } |
![]() | |
enum | colourByType { cbColour, cbField } |
enum | colourMapType { cmRainbow, cmBlueWhiteRed, cmFire, cmGreyscale } |
![]() | |
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 |
![]() | |
static const NamedEnum< colourByType, 2 > | colourByTypeNames |
static const NamedEnum< colourMapType, 4 > | colourMapTypeNames |
![]() | |
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... | |
![]() | |
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... | |
Definition at line 48 of file functionObjectSurface.H.
|
private |
Disallow default bitwise copy construct.
functionObjectSurface | ( | const runTimePostProcessing & | parent, |
const dictionary & | dict, | ||
const HashPtrTable< DataEntry< vector >, word > & | colours | ||
) |
|
virtual |
Destructor.
Definition at line 70 of file functionObjectSurface.C.
|
private |
Disallow default bitwise assignment.
TypeName | ( | "functionObject" | ) |
Run-time type information.
|
virtual |
Add surface(s) to scene.
Reimplemented from geometrySurface.
Definition at line 77 of file functionObjectSurface.C.
References geometrySurface::addGeometryToScene(), dict, Foam::endl(), fileName::ext(), functionObjectState::getObjectProperty(), Foam::compressible::New(), dictionary::null, geometryBase::parent_, dictionary::readIfPresent(), setField(), and WarningInFunction.
|
protected |
Name of function object result to render.
Definition at line 71 of file functionObjectSurface.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.