Variant of pointEdgePoint with some transported additional data. WIP - should be templated on data like wallDistData. Passive vector v_ is not a coordinate (so no enterDomain/leaveDomain transformation needed) More...
Public Types | |
enum | representationType { rtSphere, rtVector } |
Public Member Functions | |
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 vector & | v () 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... | |
![]() | |
pointEdgePoint () | |
Construct null. More... | |
pointEdgePoint (const point &, const scalar) | |
Construct from origin, distance. More... | |
pointEdgePoint (const pointEdgePoint &) | |
Construct as copy. More... | |
const point & | origin () 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 |
Static Public Member Functions | |
static autoPtr< pointData > | New (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 | |
static const NamedEnum< representationType, 2 > | representationTypeNames |
Protected Member Functions | |
void | addPoints (const label frameI, vtkActor *actor, vtkPolyDataMapper *mapper, vtkPolyData *data) const |
Add the point data to the renderer. More... | |
Protected Attributes | |
representationType | representation_ |
Representation type. More... | |
scalar | maxGlyphLength_ |
Max glyph length. More... | |
autoPtr< DataEntry< vector > > | pointColour_ |
Point colour. More... | |
Private Member Functions | |
pointData (const pointData &) | |
Disallow default bitwise copy construct. More... | |
void | operator= (const pointData &) |
Disallow default bitwise assignment. More... | |
Private Attributes | |
scalar | s_ |
Additional information. More... | |
vector | v_ |
Additional information. More... | |
Friends | |
Ostream & | operator<< (Ostream &, const pointData &) |
Istream & | operator>> (Istream &, pointData &) |
Variant of pointEdgePoint with some transported additional data. WIP - should be templated on data like wallDistData. Passive vector v_ is not a coordinate (so no enterDomain/leaveDomain transformation needed)
Definition at line 53 of file pointData.H.
enum representationType |
Enumerator | |
---|---|
rtSphere | |
rtVector |
Definition at line 61 of file pointData.H.
|
inline |
Construct null.
Definition at line 32 of file pointDataI.H.
Construct from origin, distance.
Definition at line 42 of file pointDataI.H.
Construct as copy.
Definition at line 56 of file pointDataI.H.
pointData | ( | const runTimePostProcessing & | parent, |
const dictionary & | dict, | ||
const HashPtrTable< DataEntry< vector >, word > & | colours | ||
) |
|
virtual |
Destructor.
Definition at line 159 of file pointData.C.
|
inline |
Definition at line 66 of file pointDataI.H.
Referenced by pointData::operator==().
|
inline |
Definition at line 72 of file pointDataI.H.
Referenced by pointData::operator==().
|
inline |
Apply rotation matrix to origin.
Definition at line 80 of file pointDataI.H.
References Foam::transform(), and pointEdgePoint::transform().
|
inline |
Influence of edge on point.
Definition at line 93 of file pointDataI.H.
References mesh, pointData::s_, pointEdgePoint::updatePoint(), and pointData::v_.
|
inline |
Influence of different value on same point.
Merge new and old info.
Definition at line 128 of file pointDataI.H.
References mesh, pointData::s_, pointEdgePoint::updatePoint(), and pointData::v_.
|
inline |
Influence of different value on same point.
No information about current position whatsoever.
Definition at line 162 of file pointDataI.H.
References pointData::s_, pointEdgePoint::updatePoint(), and pointData::v_.
|
inline |
Influence of point on edge.
Definition at line 184 of file pointDataI.H.
References mesh, pointData::s_, pointEdgePoint::updateEdge(), and pointData::v_.
|
inline |
Definition at line 220 of file pointDataI.H.
References pointEdgePoint::operator==(), s(), pointData::s(), and pointData::v().
|
inline |
Definition at line 230 of file pointDataI.H.
|
private |
Disallow default bitwise assignment.
|
protected |
Add the point data to the renderer.
Definition at line 61 of file pointData.C.
TypeName | ( | "pointData" | ) |
Run-time type information.
declareRunTimeSelectionTable | ( | autoPtr | , |
pointData | , | ||
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 128 of file pointData.C.
References dict, Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::Info, and Foam::nl.
|
private |
Additional information.
Definition at line 60 of file pointData.H.
Referenced by pointData::updateEdge(), and pointData::updatePoint().
|
private |
Additional information.
Definition at line 63 of file pointData.H.
Referenced by pointData::updateEdge(), and pointData::updatePoint().
|
static |
Definition at line 67 of file pointData.H.
|
protected |
Representation type.
Definition at line 86 of file pointData.H.
|
protected |
Max glyph length.
Definition at line 89 of file pointData.H.
Point colour.
Definition at line 92 of file pointData.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.