![]() |
NuTo
Numerics Tool
|
class for storing visualization cells More...
#include <Cell.h>
Public Member Functions | |
| Cell (std::vector< int > pointIds, eCellTypes cellType) | |
| constructor More... | |
| int | GetNumPoints () const |
| return number of cell points More... | |
| const std::vector< int > & | GetPointIds () const |
| return point id's More... | |
| void | SetPointIds (std::vector< int > pointIds) |
| setter for mPointIds More... | |
| eCellTypes | GetCellType () const |
| returns the corresponding cell type More... | |
| void | SetData (int dataIndex, Eigen::VectorXd data) |
| set tensor data More... | |
| const Eigen::VectorXd & | GetData (int dataIndex) const |
Protected Attributes | |
| std::vector< Eigen::VectorXd > | mData |
| std::vector< int > | mPointIds |
| eCellTypes | mCellType |
class for storing visualization cells
| Cell::Cell | ( | std::vector< int > | pointIds, |
| eCellTypes | cellType | ||
| ) |
constructor
| pointIds | point ids |
| cellType | cell type enum |
| NuTo::eCellTypes Cell::GetCellType | ( | ) | const |
returns the corresponding cell type
| const Eigen::VectorXd & Cell::GetData | ( | int | dataIndex | ) | const |
| dataIndex | data index |
| int Cell::GetNumPoints | ( | ) | const |
return number of cell points
| const std::vector< int > & Cell::GetPointIds | ( | ) | const |
return point id's
| void Cell::SetData | ( | int | dataIndex, |
| Eigen::VectorXd | data | ||
| ) |
set tensor data
| data | data |
| void Cell::SetPointIds | ( | std::vector< int > | pointIds | ) |
setter for mPointIds
|
protected |
|
protected |
|
protected |
1.8.11