|
neurolots
0.3.5
NeuroLOTs
|
Collaboration diagram for nlgeometry::Facet:Public Types | |
| enum | TFacetType { TRIANGLES = 0, PATCHES } |
Public Member Functions | |
| NLGEOMETRY_API | Facet (VertexPtr vertex0_=nullptr, VertexPtr vertex1_=nullptr, VertexPtr vertex2_=nullptr, VertexPtr vertex3_=nullptr) |
| Constructor. More... | |
| NLGEOMETRY_API | ~Facet (void) |
| Default destructor. | |
| NLGEOMETRY_API VertexPtr & | vertex0 (void) |
| Method to get the first triangle/quad vertex pointer. More... | |
| NLGEOMETRY_API const VertexPtr & | vertex0 (void) const |
| NLGEOMETRY_API VertexPtr & | vertex1 (void) |
| Method to get the second triangle/quad vertex pointer. More... | |
| NLGEOMETRY_API const VertexPtr & | vertex1 (void) const |
| NLGEOMETRY_API VertexPtr & | vertex2 (void) |
| Method to get the third triangle/quad vertex pointer. More... | |
| NLGEOMETRY_API const VertexPtr & | vertex2 (void) const |
| NLGEOMETRY_API VertexPtr & | vertex3 (void) |
| Method to get the fourth triangle/quad vertex pointer. More... | |
| NLGEOMETRY_API const VertexPtr & | vertex3 (void) const |
| NLGEOMETRY_API void | store (Attribs &attribs_, const AttribsFormat format_) |
| Method that store the facet vertices attribs and assigns the vertices ids. More... | |
| NLGEOMETRY_API std::vector< unsigned int > | getIndicesAs (TFacetType facetType_) const |
| Method that returns the facet indices stored in a vector. More... | |
| NLGEOMETRY_API void | addIndicesAs (TFacetType facetType_, std::vector< unsigned int > &indices_) const |
| Method that add the facet indices to the referenced vector. More... | |
| NLGEOMETRY_API nlgeometry::Facet::Facet | ( | VertexPtr | vertex0_ = nullptr, |
| VertexPtr | vertex1_ = nullptr, |
||
| VertexPtr | vertex2_ = nullptr, |
||
| VertexPtr | vertex3_ = nullptr |
||
| ) |
Constructor.
| vertex0_ | pointer to the first triangle/quad vertex |
| vertex1_ | pointer to the second triangle/quad vertex |
| vertex2_ | pointer to the third triangle/quad vertex |
| vertex3_ | pointer to the fourth quad vertex |
| NLGEOMETRY_API void nlgeometry::Facet::addIndicesAs | ( | TFacetType | facetType_, |
| std::vector< unsigned int > & | indices_ | ||
| ) | const |
Method that add the facet indices to the referenced vector.
| facetType_ | format to the added indices |
| indices_ | indices vector where indices are added |
Referenced by ~Facet().
Here is the caller graph for this function:| NLGEOMETRY_API std::vector< unsigned int > nlgeometry::Facet::getIndicesAs | ( | TFacetType | facetType_ | ) | const |
Method that returns the facet indices stored in a vector.
| facetType_ | format to the returns indices |
Referenced by ~Facet().
Here is the caller graph for this function:| NLGEOMETRY_API void nlgeometry::Facet::store | ( | Attribs & | attribs_, |
| const AttribsFormat | format_ | ||
| ) |
Method that store the facet vertices attribs and assigns the vertices ids.
| attribs_ | reference to the vertex attribs to return |
Referenced by ~Facet().
Here is the caller graph for this function:| NLGEOMETRY_API VertexPtr& nlgeometry::Facet::vertex0 | ( | void | ) |
Method to get the first triangle/quad vertex pointer.
Referenced by ~Facet().
Here is the caller graph for this function:| NLGEOMETRY_API VertexPtr& nlgeometry::Facet::vertex1 | ( | void | ) |
Method to get the second triangle/quad vertex pointer.
Referenced by ~Facet().
Here is the caller graph for this function:| NLGEOMETRY_API VertexPtr& nlgeometry::Facet::vertex2 | ( | void | ) |
Method to get the third triangle/quad vertex pointer.
Referenced by ~Facet().
Here is the caller graph for this function:| NLGEOMETRY_API VertexPtr& nlgeometry::Facet::vertex3 | ( | void | ) |
Method to get the fourth triangle/quad vertex pointer.
Referenced by ~Facet().
Here is the caller graph for this function: