Go to the documentation of this file.
46 #ifndef functionObjects_runTimePostPro_geometryBase_H
47 #define functionObjects_runTimePostPro_geometryBase_H
63 namespace functionObjects
67 class runTimePostProcessing;
69 namespace runTimePostPro
100 const runTimePostProcessing&
parent_;
178 scalar
opacity(
const scalar position)
const;
189 const scalar position,
190 vtkRenderer* renderer
197 virtual bool clear() = 0;
const HashPtrTable< Function1< vector > > & colours_
Reference to the colours.
renderModeType renderMode_
Render mode.
void initialiseActor(vtkActor *actor) const
Initialise actor.
A class for handling words, derived from Foam::string.
bool needsCollective() const
May need to gather geometry parts to render on single-processor.
autoPtr< Function1< scalar > > opacity_
Opacity.
virtual void updateActors(const scalar position)=0
Update the actors.
geometryBase(const geometryBase &)=delete
No copy construct.
virtual ~geometryBase()
Destructor.
const word & name() const
Return the name.
bool visible() const
Return the visible flag.
virtual void addGeometryToScene(const scalar position, vtkRenderer *renderer)=0
Add geometry to scene.
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
virtual bool clear()=0
Clear any files used to create the object(s)
scalar opacity(const scalar position) const
Return the opacity.
Generate images during run-time.
bool parallel_
Allow parallel rendering.
const runTimePostProcessing & parent() const
Return the reference to the parent function object.
static int debug
Debug switch.
static const Enum< renderModeType > renderModeTypeNames
Names for surface shading types.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Base class for surface, text handling etc.
bool parallel() const
Allow parallel rendering.
A HashTable of pointers to objects of type <T>.
bool visible_
Visible flag.
word name_
The surface name.
const HashPtrTable< Function1< vector > > & colours() const
Return reference to the colours.
renderModeType
Surface shading types.
const runTimePostProcessing & parent_
Reference to the parent function object.
void operator=(const geometryBase &)=delete
No copy assignment.