visualization of unstructured grids
More...
#include <UnstructuredGrid.h>
|
void | ExportVtuDataFile (const std::string &filename, bool asBinary=true) const |
| export to Vtu datafile More...
|
|
int | AddPoint (Eigen::VectorXd coordinates) |
| add Point to unstructured grid More...
|
|
int | AddCell (std::vector< int > pointIds, eCellTypes cellType) |
| add cell More...
|
|
void | DefinePointData (std::string name) |
| define point data More...
|
|
void | DefineCellData (std::string name) |
| define cell data More...
|
|
void | SetPointData (int pointIndex, const std::string &name, double data) |
| set scalar point data More...
|
|
void | SetPointData (int pointIndex, const std::string &name, Eigen::VectorXd data) |
| set point data More...
|
|
void | SetCellData (int cellIndex, const std::string &name, double data) |
| set scalar cell data More...
|
|
void | SetCellData (int cellIndex, const std::string &name, Eigen::VectorXd data) |
| set cell data More...
|
|
visualization of unstructured grids
int UnstructuredGrid::AddCell |
( |
std::vector< int > |
pointIds, |
|
|
eCellTypes |
cellType |
|
) |
| |
add cell
- Parameters
-
pointIds | point id's (zero based indexing) |
- Returns
- cell identifier (zero based indexing)
int UnstructuredGrid::AddPoint |
( |
Eigen::VectorXd |
coordinates | ) |
|
add Point to unstructured grid
- Parameters
-
coordinates | point coordinates |
- Returns
- point id
void UnstructuredGrid::DefineCellData |
( |
std::string |
name | ) |
|
define cell data
- Parameters
-
name | name of the data field |
void UnstructuredGrid::DefinePointData |
( |
std::string |
name | ) |
|
define point data
- Parameters
-
name | name of the data field |
void UnstructuredGrid::ExportVtuDataFile |
( |
const std::string & |
filename, |
|
|
bool |
asBinary = true |
|
) |
| const |
export to Vtu datafile
- Parameters
-
filename | filename including ".vtu" |
asBinary | true for output as binary vtu file |
void UnstructuredGrid::SetCellData |
( |
int |
cellIndex, |
|
|
const std::string & |
name, |
|
|
double |
data |
|
) |
| |
set scalar cell data
- Parameters
-
cellIndex | cell index |
name | name of the data field |
data | scalar data |
void UnstructuredGrid::SetCellData |
( |
int |
cellIndex, |
|
|
const std::string & |
name, |
|
|
Eigen::VectorXd |
data |
|
) |
| |
set cell data
- Parameters
-
cellIndex | cell index |
name | name of the data field |
data | data |
void UnstructuredGrid::SetPointData |
( |
int |
pointIndex, |
|
|
const std::string & |
name, |
|
|
double |
data |
|
) |
| |
set scalar point data
- Parameters
-
pointIndex | point index |
name | name of the data field |
data | scalar data |
void UnstructuredGrid::SetPointData |
( |
int |
pointIndex, |
|
|
const std::string & |
name, |
|
|
Eigen::VectorXd |
data |
|
) |
| |
set point data
- Parameters
-
pointIndex | point index |
name | name of the data field |
data | data |
The documentation for this class was generated from the following files: