Base class for ensightPartCells and ensightPartFaces. More...
Classes | |
struct | localPoints |
Track the points used by the part and map global to local indices. More... | |
Public Member Functions | |
TypeName ("ensightPart") | |
Runtime type information. More... | |
ensightPart (const string &description) | |
Construct with description. More... | |
virtual | ~ensightPart ()=default |
Destructor. More... | |
virtual label | index () const =0 |
Part index (0-based) More... | |
virtual label | size () const |
Number of elements in this part. More... | |
const string & | name () const |
Return the part name or description. More... | |
void | rename (string value) |
Change the part name or description. More... | |
virtual void | writeSummary (Ostream &os) const =0 |
Write summary information about the object. More... | |
virtual void | dumpInfo (Ostream &os) const =0 |
Print various types of debugging information. More... | |
virtual void | write (ensightGeoFile &os) const =0 |
Write geometry. More... | |
virtual void | write (ensightGeoFile &os, const pointField &) const =0 |
Helper: write geometry with given pointField. More... | |
void | FOAM_DEPRECATED_FOR (2019-12, "rename() method") name(string value) |
Deprecated(2019-12) - use rename() method. More... | |
Base class for ensightPartCells and ensightPartFaces.
Definition at line 56 of file ensightPart.H.
|
explicit |
Construct with description.
Definition at line 65 of file ensightPart.C.
|
virtualdefault |
Destructor.
TypeName | ( | "ensightPart" | ) |
Runtime type information.
|
pure virtual |
Part index (0-based)
Implemented in ensightPartFaces, and ensightPartCells.
Referenced by ensightParts::write().
|
inlinevirtual |
Number of elements in this part.
Reimplemented in ensightPartFaces, and ensightPartCells.
Definition at line 123 of file ensightPart.H.
|
inline |
Return the part name or description.
Definition at line 129 of file ensightPart.H.
|
inline |
Change the part name or description.
Definition at line 135 of file ensightPart.H.
|
pure virtual |
Write summary information about the object.
Implemented in ensightPartFaces, and ensightPartCells.
Referenced by ensightParts::writeSummary().
|
pure virtual |
Print various types of debugging information.
Implemented in ensightPartFaces, and ensightPartCells.
Referenced by ensightParts::dumpInfo().
|
pure virtual |
Write geometry.
Implemented in ensightPartFaces, and ensightPartCells.
Referenced by ensightParts::write().
|
pure virtual |
Helper: write geometry with given pointField.
Implemented in ensightPartFaces, and ensightPartCells.
|
inline |
Deprecated(2019-12) - use rename() method.
Definition at line 160 of file ensightPart.H.