Public Member Functions | Protected Attributes | Private Member Functions
functionObjectCloud Class Reference
Inheritance diagram for functionObjectCloud:
Inheritance graph
[legend]
Collaboration diagram for functionObjectCloud:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("functionObjectCloud")
 Run-time type information. More...
 
 functionObjectCloud (const runTimePostProcessing &parent, const dictionary &dict, const HashPtrTable< DataEntry< vector >, word > &colours)
 Construct from dictionary. More...
 
virtual ~functionObjectCloud ()
 Destructor. More...
 
virtual void addGeometryToScene (const scalar position, vtkRenderer *renderer)
 Add tube(s) to scene. More...
 
virtual void updateActors (const scalar position)
 Update actors. More...
 
- Public Member Functions inherited from pointData
 pointData ()
 Construct null. More...
 
 pointData (const point &origin, const scalar distSqr, const scalar s, const vector &v)
 Construct from origin, distance. More...
 
 pointData (const pointData &)
 Construct as copy. More...
 
scalar s () const
 
const vectorv () const
 
template<class TrackingData >
void transform (const tensor &rotTensor, TrackingData &td)
 Apply rotation matrix to origin. More...
 
template<class TrackingData >
bool updatePoint (const polyMesh &mesh, const label pointI, const label edgeI, const pointData &edgeInfo, const scalar tol, TrackingData &td)
 Influence of edge on point. More...
 
template<class TrackingData >
bool updatePoint (const polyMesh &mesh, const label pointI, const pointData &newPointInfo, const scalar tol, TrackingData &td)
 Influence of different value on same point. More...
 
template<class TrackingData >
bool updatePoint (const pointData &newPointInfo, const scalar tol, TrackingData &td)
 Influence of different value on same point. More...
 
template<class TrackingData >
bool updateEdge (const polyMesh &mesh, const label edgeI, const label pointI, const pointData &pointInfo, const scalar tol, TrackingData &td)
 Influence of point on edge. More...
 
bool operator== (const pointData &) const
 
bool operator!= (const pointData &) const
 
 TypeName ("pointData")
 Run-time type information. More...
 
 declareRunTimeSelectionTable (autoPtr, pointData, dictionary,(const runTimePostProcessing &parent, const dictionary &dict, const HashPtrTable< DataEntry< vector >, word > &colours),(parent, dict, colours))
 
 pointData (const runTimePostProcessing &parent, const dictionary &dict, const HashPtrTable< DataEntry< vector >, word > &colours)
 Construct from dictionary. More...
 
virtual ~pointData ()
 Destructor. More...
 
- Public Member Functions inherited from pointEdgePoint
 pointEdgePoint ()
 Construct null. More...
 
 pointEdgePoint (const point &, const scalar)
 Construct from origin, distance. More...
 
 pointEdgePoint (const pointEdgePoint &)
 Construct as copy. More...
 
const pointorigin () const
 
scalar distSqr () const
 
template<class TrackingData >
bool valid (TrackingData &td) const
 Check whether origin has been changed at all or. More...
 
template<class TrackingData >
bool sameGeometry (const pointEdgePoint &, const scalar tol, TrackingData &td) const
 Check for identical geometrical data. Used for cyclics checking. More...
 
template<class TrackingData >
void leaveDomain (const polyPatch &patch, const label patchPointI, const point &pos, TrackingData &td)
 Convert origin to relative vector to leaving point. More...
 
template<class TrackingData >
void enterDomain (const polyPatch &patch, const label patchPointI, const point &pos, TrackingData &td)
 Convert relative origin to absolute by adding entering point. More...
 
template<class TrackingData >
void transform (const tensor &rotTensor, TrackingData &td)
 Apply rotation matrix to origin. More...
 
template<class TrackingData >
bool updatePoint (const polyMesh &mesh, const label pointI, const label edgeI, const pointEdgePoint &edgeInfo, const scalar tol, TrackingData &td)
 Influence of edge on point. More...
 
template<class TrackingData >
bool updatePoint (const polyMesh &mesh, const label pointI, const pointEdgePoint &newPointInfo, const scalar tol, TrackingData &td)
 Influence of different value on same point. More...
 
template<class TrackingData >
bool updatePoint (const pointEdgePoint &newPointInfo, const scalar tol, TrackingData &td)
 Influence of different value on same point. More...
 
template<class TrackingData >
bool updateEdge (const polyMesh &mesh, const label edgeI, const label pointI, const pointEdgePoint &pointInfo, const scalar tol, TrackingData &td)
 Influence of point on edge. More...
 
template<class TrackingData >
bool equal (const pointEdgePoint &, TrackingData &td) const
 Same (like operator==) More...
 
bool operator== (const pointEdgePoint &) const
 
bool operator!= (const pointEdgePoint &) const
 
- Public Member Functions inherited from fieldVisualisationBase
 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 wordfieldName () const
 Return the field name. More...
 

Protected Attributes

word cloudName_
 Name of cloud. More...
 
word functionObject_
 Name of cloud function object result to render. More...
 
word colourFieldName_
 Name of field to colour by. More...
 
vtkSmartPointer< vtkActor > actor_
 Actor. More...
 
- Protected Attributes inherited from pointData
representationType representation_
 Representation type. More...
 
scalar maxGlyphLength_
 Max glyph length. More...
 
autoPtr< DataEntry< vector > > pointColour_
 Point colour. More...
 
- Protected Attributes inherited from fieldVisualisationBase
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

 functionObjectCloud (const functionObjectCloud &)
 Disallow default bitwise copy construct. More...
 
void operator= (const functionObjectCloud &)
 Disallow default bitwise assignment. More...
 

Additional Inherited Members

- Public Types inherited from pointData
enum  representationType { rtSphere, rtVector }
 
- Public Types inherited from fieldVisualisationBase
enum  colourByType { cbColour, cbField }
 
enum  colourMapType { cmRainbow, cmBlueWhiteRed, cmFire, cmGreyscale }
 
- Static Public Member Functions inherited from pointData
static autoPtr< pointDataNew (const runTimePostProcessing &parent, const dictionary &dict, const HashPtrTable< DataEntry< vector >, word > &colours, const word &pointDataName)
 Return a reference to the selected RAS model. More...
 
- Static Public Attributes inherited from pointData
static const NamedEnum< representationType, 2 > representationTypeNames
 
- Static Public Attributes inherited from fieldVisualisationBase
static const NamedEnum< colourByType, 2 > colourByTypeNames
 
static const NamedEnum< colourMapType, 4 > colourMapTypeNames
 
- Protected Member Functions inherited from pointData
void addPoints (const label frameI, vtkActor *actor, vtkPolyDataMapper *mapper, vtkPolyData *data) const
 Add the point data to the renderer. More...
 
- Protected Member Functions inherited from fieldVisualisationBase
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...
 

Detailed Description

Source files

Definition at line 48 of file functionObjectCloud.H.

Constructor & Destructor Documentation

◆ functionObjectCloud() [1/2]

Disallow default bitwise copy construct.

◆ functionObjectCloud() [2/2]

functionObjectCloud ( const runTimePostProcessing parent,
const dictionary dict,
const HashPtrTable< DataEntry< vector >, word > &  colours 
)

Construct from dictionary.

Definition at line 51 of file functionObjectCloud.C.

References Foam::compressible::New().

Here is the call graph for this function:

◆ ~functionObjectCloud()

~functionObjectCloud ( )
virtual

Destructor.

Definition at line 70 of file functionObjectCloud.C.

Member Function Documentation

◆ operator=()

void operator= ( const functionObjectCloud )
private

Disallow default bitwise assignment.

◆ TypeName()

TypeName ( "functionObjectCloud"  )

Run-time type information.

◆ addGeometryToScene()

void addGeometryToScene ( const scalar  position,
vtkRenderer *  renderer 
)
virtual

◆ updateActors()

void updateActors ( const scalar  position)
virtual

Update actors.

Definition at line 141 of file functionObjectCloud.C.

Field Documentation

◆ cloudName_

word cloudName_
protected

Name of cloud.

Definition at line 69 of file functionObjectCloud.H.

◆ functionObject_

word functionObject_
protected

Name of cloud function object result to render.

Definition at line 72 of file functionObjectCloud.H.

◆ colourFieldName_

word colourFieldName_
protected

Name of field to colour by.

Definition at line 75 of file functionObjectCloud.H.

◆ actor_

vtkSmartPointer<vtkActor> actor_
protected

Actor.

Definition at line 78 of file functionObjectCloud.H.


The documentation for this class was generated from the following files: