|
void | insertNextScalarData (const ScalarDataType &scalars, std::string label="Scalars") |
| insert new scalar data array
|
|
void | insertNextScalarData (ScalarDataType &&scalars, std::string label="Scalars") |
| insert new scalar data array
|
|
void | insertNextVectorData (const VectorDataType &vectors, std::string label="Vectors") |
| insert new vector data array
|
|
void | insertNextVectorData (VectorDataType &&vectors, std::string label="Vectors") |
| insert new vector data array
|
|
unsigned | getScalarDataSize () const |
| get the number of different scalar data arrays saved
|
|
unsigned | getVectorDataSize () const |
| get the number of different vector data arrays saved
|
|
ScalarDataType * | getScalarData (int index) |
|
const ScalarDataType * | getScalarData (int index) const |
|
ScalarDataType * | getScalarData (std::string searchLabel, bool noWarning=false) |
|
const ScalarDataType * | getScalarData (std::string searchLabel, bool noWarning=false) const |
|
int | getScalarDataIndex (std::string searchLabel) const |
|
std::string | getScalarDataLabel (int index) const |
|
void | setScalarDataLabel (int index, std::string newLabel) |
|
void | eraseScalarData (int index) |
| Delete the scalar data at index.
|
|
VectorDataType * | getVectorData (int index) |
|
const VectorDataType * | getVectorData (int index) const |
|
VectorDataType * | getVectorData (std::string searchLabel, bool noWarning=false) |
|
const VectorDataType * | getVectorData (std::string searchLabel, bool noWarning=false) const |
|
int | getVectorDataIndex (std::string searchLabel) const |
|
std::string | getVectorDataLabel (int index) const |
|
void | setVectorDataLabel (int index, std::string newLabel) |
|
void | eraseVectorData (int index) |
| Delete the vector data at index.
|
|
void | append (const PointData &passedData) |
| Append the passed PointData to this one.
|
|
void | translateFromData (const PointData &source, const std::vector< unsigned > &indices) |
| Add data in the passed source pointData into this data according to the indices passed. The index of the indices vector corresponds to the index of this data, while the values of indices correspond to the index in source.
|
|
void | translateFromMultiData (const PointData &source, const std::vector< std::vector< unsigned > > &indicesVector) |
| Same as translateFromData, but the indices are given as a vector, as is the case when collecting indices during parallel algorithms.
|
|
void | clear () |
| Delete all data stored in this object.
|
|
bool | empty () |
| Return whether this object is empty.
|
|
std::ostream & | serialize (std::ostream &stream) |
| Serialize PointData into a binary stream.
|
|
std::istream & | deserialize (std::istream &stream) |
| Deserialize PointData from a binary stream.
|
|
This class holds data associated with points in space.