Public Types | |
enum | representationType { rtNone, rtWireframe, rtSurface, rtSurfaceWithEdges, rtGlyph } |
![]() | |
enum | renderModeType { rmFlat, rmGouraud, rmPhong } |
Public Member Functions | |
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... | |
virtual void | updateActors (const scalar position) |
Update the actors. 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... | |
virtual void | addGeometryToScene (const scalar position, vtkRenderer *renderer)=0 |
Add geometry to scene. More... | |
Static Public Member Functions | |
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 Public Attributes | |
static const NamedEnum< representationType, 5 > | representationTypeNames |
![]() | |
static const NamedEnum< renderModeType, 3 > | renderModeTypeNames |
Protected Member Functions | |
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 | |
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 | |
surface (const surface &) | |
Disallow default bitwise copy construct. More... | |
void | operator= (const surface &) |
Disallow default bitwise assignment. More... | |
enum representationType |
Disallow default bitwise copy construct.
Referenced by meshOctreeCreator::createOctreeWithRefinedBoundary(), meshOctreeAutomaticRefinement::refineBasedOnContainedCorners(), and meshOctreeModifier::refineSelectedBoxes().
surface | ( | const runTimePostProcessing & | parent, |
const dictionary & | dict, | ||
const HashPtrTable< DataEntry< vector >, word > & | colours | ||
) |
Construct from dictionary.
Definition at line 135 of file surface.C.
References dict, dictionary::found(), dictionary::lookup(), and Foam::compressible::New().
|
private |
Disallow default bitwise assignment.
|
protected |
Set the representation.
Definition at line 63 of file surface.C.
References geometryBase::initialiseActor(), surface::representation_, surface::rtGlyph, surface::rtNone, surface::rtSurface, surface::rtSurfaceWithEdges, and surface::rtWireframe.
|
protected |
Add feature edges to scene.
Definition at line 97 of file surface.C.
References Foam::compressible::New().
TypeName | ( | "surface" | ) |
Run-time type information.
declareRunTimeSelectionTable | ( | autoPtr | , |
surface | , | ||
dictionary | , | ||
(const runTimePostProcessing &parent, const dictionary &dict, const HashPtrTable< DataEntry< vector >, word > &colours) | , | ||
(parent, dict, colours) | |||
) |
|
static |
Return a reference to the selected RAS model.
Definition at line 191 of file surface.C.
References dict, Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::Info, and Foam::nl.
|
virtual |
Update the actors.
Implements geometryBase.
Reimplemented in geometrySurface.
Definition at line 228 of file surface.C.
Referenced by geometrySurface::updateActors().
|
static |
|
protected |
Representation type.
Definition at line 91 of file surface.H.
Referenced by surface::setRepresentation().
|
protected |
|
protected |
|
protected |
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.