23#ifndef VCL_MESH_REQUIREMENTS_FACE_REQUIREMENTS_H
24#define VCL_MESH_REQUIREMENTS_FACE_REQUIREMENTS_H
26#include "../containers/face_container.h"
27#include "element_requirements.h"
29#include <vclib/concepts/mesh.h>
30#include <vclib/exceptions/mesh.h>
57template<FaceMeshConcept MeshType>
91template<FaceMeshConcept MeshType>
116template<FaceMeshConcept MeshType>
121 CompId::ADJACENT_EDGES>(
m);
152template<FaceMeshConcept MeshType>
177template<FaceMeshConcept MeshType>
182 CompId::ADJACENT_FACES>(
m);
213template<FaceMeshConcept MeshType>
237template<FaceMeshConcept MeshType>
271template<FaceMeshConcept MeshType>
295template<FaceMeshConcept MeshType>
329template<FaceMeshConcept MeshType>
353template<FaceMeshConcept MeshType>
388template<FaceMeshConcept MeshType>
393 CompId::PRINCIPAL_CURVATURE>(
m);
414template<FaceMeshConcept MeshType>
419 CompId::PRINCIPAL_CURVATURE>(
m);
450template<FaceMeshConcept MeshType>
474template<FaceMeshConcept MeshType>
509template<FaceMeshConcept MeshType>
534template<FaceMeshConcept MeshType>
539 CompId::WEDGE_COLORS>(
m);
570template<FaceMeshConcept MeshType>
575 CompId::WEDGE_TEX_COORDS>(
m);
596template<FaceMeshConcept MeshType>
601 CompId::WEDGE_TEX_COORDS>(
m);
626template<FaceMeshConcept MeshType>
661template<FaceMeshConcept MeshType>
697template<FaceMeshConcept MeshType>
733template<FaceMeshConcept MeshType>
768template<FaceMeshConcept MeshType>
803template<FaceMeshConcept MeshType>
838template<FaceMeshConcept MeshType>
874template<FaceMeshConcept MeshType>
910template<FaceMeshConcept MeshType>
946template<FaceMeshConcept MeshType>
A class representing a line segment in n-dimensional space. The class is parameterized by a PointConc...
Definition segment.h:43
Concept that checks if a Mesh has the per Face AdjacentEdges component.
Definition per_face.h:63
Concept that checks if a Mesh has the per Face AdjacentFaces component.
Definition per_face.h:79
Concept that checks if a Mesh has the per Face Color component.
Definition per_face.h:111
Concept that checks if a Mesh has the per Face Mark component.
Definition per_face.h:143
Concept that checks if a Mesh has the per Face Normal component.
Definition per_face.h:158
Concept that checks if a Mesh has the per Face PrincipalCurvature component.
Definition per_face.h:190
Concept that checks if a Mesh has the per Face Quality component.
Definition per_face.h:206
Concept that checks if a Mesh has the per Face WedgeColors component.
Definition per_face.h:254
Concept that checks if a Mesh has the per Face WedgeTexCoords component.
Definition per_face.h:270
bool enableIfPerFaceQualityOptional(MeshType &m)
If the input mesh has a FaceContainer, and the Face Element has a Quality Component,...
Definition face_requirements.h:475
bool enableIfPerFaceMarkOptional(MeshType &m)
If the input mesh has a FaceContainer, and the Face Element has a Mark Component, this function enabl...
Definition face_requirements.h:296
bool isPerFaceAdjacentEdgesAvailable(const MeshType &m)
Returns true if the AdjacentEdges component is available (enabled) in the Face element of the input m...
Definition face_requirements.h:92
bool isPerFaceAdjacentFacesAvailable(const MeshType &m)
Returns true if the AdjacentFaces component is available (enabled) in the Face element of the input m...
Definition face_requirements.h:153
bool enableIfPerFaceWedgeTexCoordsOptional(MeshType &m)
If the input mesh has a FaceContainer, and the Face Element has a WedgeTexCoords Component,...
Definition face_requirements.h:597
bool isPerFaceWedgeTexCoordsAvailable(const MeshType &m)
Returns true if the WedgeTexCoords component is available (enabled) in the Face element of the input ...
Definition face_requirements.h:571
bool isPerFaceNormalAvailable(const MeshType &m)
Returns true if the Normal component is available (enabled) in the Face element of the input mesh m.
Definition face_requirements.h:330
bool isPerFaceQualityAvailable(const MeshType &m)
Returns true if the Quality component is available (enabled) in the Face element of the input mesh m.
Definition face_requirements.h:451
void requirePerFaceQuality(const MeshType &m)
This function asserts that a Mesh has a FaceContainer, the Face has a Quality Component,...
Definition face_requirements.h:875
bool enableIfPerFacePrincipalCurvatureOptional(MeshType &m)
If the input mesh has a FaceContainer, and the Face Element has a PrincipalCurvature Component,...
Definition face_requirements.h:415
void requirePerFaceWedgeTexCoords(const MeshType &m)
This function asserts that a Mesh has a FaceContainer, the Face has a WedgeTexCoords Component,...
Definition face_requirements.h:947
void requirePerFaceAdjacentEdges(const MeshType &m)
This function asserts that a Mesh has a FaceContainer, the Face has a AdjacentEdges Component,...
Definition face_requirements.h:662
bool isPerFaceWedgeColorsAvailable(const MeshType &m)
Returns true if the WedgeColors component is available (enabled) in the Face element of the input mes...
Definition face_requirements.h:510
void requirePerFacePrincipalCurvature(const MeshType &m)
This function asserts that a Mesh has a FaceContainer, the Face has a PrincipalCurvature Component,...
Definition face_requirements.h:839
bool isPerFaceMarkAvailable(const MeshType &m)
Returns true if the Mark component is available (enabled) in the Face element of the input mesh m.
Definition face_requirements.h:272
void requireFaceContainerCompactness(const MeshType &m)
This function asserts that a Mesh has the FaceContainer compact (no elements flagged as deleted).
Definition face_requirements.h:627
bool enableIfPerFaceAdjacentEdgesOptional(MeshType &m)
If the input mesh has a FaceContainer, and the Face Element has a AdjacentEdges Component,...
Definition face_requirements.h:117
bool isPerFaceColorAvailable(const MeshType &m)
Returns true if the Color component is available (enabled) in the Face element of the input mesh m.
Definition face_requirements.h:214
void requirePerFaceNormal(const MeshType &m)
This function asserts that a Mesh has a FaceContainer, the Face has a Normal Component,...
Definition face_requirements.h:804
void requirePerFaceMark(const MeshType &m)
This function asserts that a Mesh has a FaceContainer, the Face has a Mark Component,...
Definition face_requirements.h:769
bool isFaceContainerCompact(const MeshType &m)
Returns true if the given mesh has its FaceContainer compact.
Definition face_requirements.h:58
bool enableIfPerFaceAdjacentFacesOptional(MeshType &m)
If the input mesh has a FaceContainer, and the Face Element has a AdjacentFaces Component,...
Definition face_requirements.h:178
void requirePerFaceColor(const MeshType &m)
This function asserts that a Mesh has a FaceContainer, the Face has a Color Component,...
Definition face_requirements.h:734
void requirePerFaceWedgeColors(const MeshType &m)
This function asserts that a Mesh has a FaceContainer, the Face has a WedgeColors Component,...
Definition face_requirements.h:911
bool enableIfPerFaceNormalOptional(MeshType &m)
If the input mesh has a FaceContainer, and the Face Element has a Normal Component,...
Definition face_requirements.h:354
bool enableIfPerFaceWedgeColorsOptional(MeshType &m)
If the input mesh has a FaceContainer, and the Face Element has a WedgeColors Component,...
Definition face_requirements.h:535
bool enableIfPerFaceColorOptional(MeshType &m)
If the input mesh has a FaceContainer, and the Face Element has a Color Component,...
Definition face_requirements.h:238
bool isPerFacePrincipalCurvatureAvailable(const MeshType &m)
Returns true if the PrincipalCurvature component is available (enabled) in the Face element of the in...
Definition face_requirements.h:389
void requirePerFaceAdjacentFaces(const MeshType &m)
This function asserts that a Mesh has a FaceContainer, the Face has a AdjacentFaces Component,...
Definition face_requirements.h:698
bool isPerElementComponentAvailable(const MeshType &m)
Returns true if the given component is available in the given element of the input mesh m.
Definition element_requirements.h:82
bool enableIfPerElementComponentOptional(MeshType &m)
Makes available the given Component in the given Element of the input mesh m, and returns true if it ...
Definition element_requirements.h:120