|
void | insertNextScalarData (const ScalarDataType &scalars, const std::string &label="Scalars") |
| insert new scalar data array
|
|
void | insertNextScalarData (ScalarDataType &&scalars, const std::string &label="Scalars") |
| insert new scalar data array
|
|
void | insertNextVectorData (const VectorDataType &vectors, const std::string &label="Vectors") |
| insert new vector data array
|
|
void | insertNextVectorData (VectorDataType &&vectors, const std::string &label="Vectors") |
| insert new vector data array
|
|
void | insertReplaceScalarData (const ScalarDataType &scalars, const std::string &label="Scalars") |
| insert or replace scalar data array
|
|
void | insertReplaceScalarData (ScalarDataType &&scalars, const std::string &label="Scalars") |
| insert or replace scalar data array
|
|
void | insertReplaceVectorData (const VectorDataType &vectors, const std::string &label="Vectors") |
| insert or replace vector data array
|
|
void | insertReplaceVectorData (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 (const std::string &searchLabel, bool noWarning=false) |
|
const ScalarDataType * | getScalarData (const std::string &searchLabel, bool noWarning=false) const |
|
int | getScalarDataIndex (const 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 (const std::string &searchLabel, bool noWarning=false) |
|
const VectorDataType * | getVectorData (const std::string &searchLabel, bool noWarning=false) const |
|
int | getVectorDataIndex (const 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.