functionObjectSurface.H
Go to the documentation of this file.
1 /*---------------------------------------------------------------------------*\
2  ========= |
3  \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4  \\ / O peration |
5  \\ / A nd | Copyright (C) 2015 OpenFOAM Foundation
6  \\/ M anipulation |
7 -------------------------------------------------------------------------------
8 License
9  This file is part of OpenFOAM.
10 
11  OpenFOAM is free software: you can redistribute it and/or modify it
12  under the terms of the GNU General Public License as published by
13  the Free Software Foundation, either version 3 of the License, or
14  (at your option) any later version.
15 
16  OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
17  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
19  for more details.
20 
21  You should have received a copy of the GNU General Public License
22  along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
23 
24 Class
25  Foam::functionObjectSurface
26 
27 Description
28 
29 SourceFiles
30  functionObjectSurface.C
31 
32 \*---------------------------------------------------------------------------*/
33 
34 #ifndef functionObjectSurface_H
35 #define functionObjectSurface_H
36 
37 #include "geometrySurface.H"
38 #include "fieldVisualisationBase.H"
39 
40 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
41 
42 namespace Foam
43 {
44 
45 /*---------------------------------------------------------------------------*\
46  Class functionObjectSurface Declaration
47 \*---------------------------------------------------------------------------*/
48 
50 :
51  public geometrySurface,
53 {
54 
55 
56 private:
57 
58  // Private Member Functions
59 
60  //- Disallow default bitwise copy construct
62 
63  //- Disallow default bitwise assignment
64  void operator=(const functionObjectSurface&);
65 
66 
67 protected:
68 
69  // Protected data
70 
71  //- Name of function object result to render
73 
74 
75 public:
76 
77  //- Run-time type information
78  TypeName("functionObject");
79 
80 
81  // Constructors
82 
83  //- Construct from dictionary
85  (
87  const dictionary& dict,
89  );
90 
91 
92  //- Destructor
93  virtual ~functionObjectSurface();
94 
95 
96  // Member Functions
97 
98  //- Add surface(s) to scene
99  virtual void addGeometryToScene
100  (
101  const scalar position,
102  vtkRenderer* renderer
103  );
104 };
105 
106 
107 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
108 
109 } // End namespace Foam
110 
111 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
112 
113 #endif
114 
115 // ************************************************************************* //
Foam::word
A class for handling words, derived from string.
Definition: word.H:59
Foam::functionObjectSurface::functionObject_
word functionObject_
Name of function object result to render.
Definition: functionObjectSurface.H:71
Foam::functionObjectSurface::TypeName
TypeName("functionObject")
Run-time type information.
Foam::runTimePostProcessing
Function object to generate images during run-time.
Definition: runTimePostProcessing.H:83
Foam::geometrySurface
Definition: geometrySurface.H:49
Foam::fieldVisualisationBase::colours
const HashPtrTable< DataEntry< vector >, word > & colours() const
Return the colours.
Definition: fieldVisualisationBase.C:493
Foam::functionObjectSurface::functionObjectSurface
functionObjectSurface(const functionObjectSurface &)
Disallow default bitwise copy construct.
Foam::functionObjectSurface
Definition: functionObjectSurface.H:48
Foam::fieldVisualisationBase
Definition: fieldVisualisationBase.H:65
dict
dictionary dict
Definition: searchingEngine.H:14
Foam::dictionary
A list of keyword definitions, which are a keyword followed by any number of values (e....
Definition: dictionary.H:137
Foam
Namespace for OpenFOAM.
Definition: combustionModel.C:30
Foam::geometryBase::parent
const runTimePostProcessing & parent() const
Return the reference to the parent function object.
Definition: geometryBase.C:118
Foam::functionObjectSurface::operator=
void operator=(const functionObjectSurface &)
Disallow default bitwise assignment.
fieldVisualisationBase.H
Foam::HashPtrTable
A HashTable specialization for hashing pointers.
Definition: HashPtrTable.H:50
Foam::functionObjectSurface::~functionObjectSurface
virtual ~functionObjectSurface()
Destructor.
Definition: functionObjectSurface.C:70
Foam::functionObjectSurface::addGeometryToScene
virtual void addGeometryToScene(const scalar position, vtkRenderer *renderer)
Add surface(s) to scene.
Definition: functionObjectSurface.C:77
Foam::DataEntry
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
Definition: DataEntry.H:52
geometrySurface.H