Visual Computing Library
|
List functions that allows to check, enable and assert the availability of components in the Face Elements of a Mesh. More...
Functions | |
template<FaceMeshConcept MeshType> | |
bool | vcl::isFaceContainerCompact (const MeshType &m) |
Returns true if the given mesh has its FaceContainer compact. | |
template<FaceMeshConcept MeshType> | |
bool | vcl::isPerFaceAdjacentEdgesAvailable (const MeshType &m) |
Returns true if the AdjacentEdges component is available (enabled) in the Face element of the input mesh m. | |
template<FaceMeshConcept MeshType> | |
bool | vcl::enableIfPerFaceAdjacentEdgesOptional (MeshType &m) |
If the input mesh has a FaceContainer, and the Face Element has a AdjacentEdges Component, this function enables the Component in the Element if the component needs to be enabled (meaning that it is optional). Returns true if, after the call of this function, the AdjacentEdges component will be available in the Face Element of the mesh. | |
template<FaceMeshConcept MeshType> | |
bool | vcl::isPerFaceAdjacentFacesAvailable (const MeshType &m) |
Returns true if the AdjacentFaces component is available (enabled) in the Face element of the input mesh m. | |
template<FaceMeshConcept MeshType> | |
bool | vcl::enableIfPerFaceAdjacentFacesOptional (MeshType &m) |
If the input mesh has a FaceContainer, and the Face Element has a AdjacentFaces Component, this function enables the Component in the Element if the component needs to be enabled (meaning that it is optional). Returns true if, after the call of this function, the AdjacentFaces component will be available in the Face Element of the mesh. | |
template<FaceMeshConcept MeshType> | |
bool | vcl::isPerFaceColorAvailable (const MeshType &m) |
Returns true if the Color component is available (enabled) in the Face element of the input mesh m. | |
template<FaceMeshConcept MeshType> | |
bool | vcl::enableIfPerFaceColorOptional (MeshType &m) |
If the input mesh has a FaceContainer, and the Face Element has a Color Component, this function enables the Component in the Element if the component needs to be enabled (meaning that it is optional). Returns true if, after the call of this function, the Color component will be available in the Face Element of the mesh. | |
template<FaceMeshConcept MeshType> | |
bool | vcl::isPerFaceMarkAvailable (const MeshType &m) |
Returns true if the Mark component is available (enabled) in the Face element of the input mesh m. | |
template<FaceMeshConcept MeshType> | |
bool | vcl::enableIfPerFaceMarkOptional (MeshType &m) |
If the input mesh has a FaceContainer, and the Face Element has a Mark Component, this function enables the Component in the Element if the component needs to be enabled (meaning that it is optional). Returns true if, after the call of this function, the Mark component will be available in the Face Element of the mesh. | |
template<FaceMeshConcept MeshType> | |
bool | vcl::isPerFaceNormalAvailable (const MeshType &m) |
Returns true if the Normal component is available (enabled) in the Face element of the input mesh m. | |
template<FaceMeshConcept MeshType> | |
bool | vcl::enableIfPerFaceNormalOptional (MeshType &m) |
If the input mesh has a FaceContainer, and the Face Element has a Normal Component, this function enables the Component in the Element if the component needs to be enabled (meaning that it is optional). Returns true if, after the call of this function, the Normal component will be available in the Face Element of the mesh. | |
template<FaceMeshConcept MeshType> | |
bool | vcl::isPerFacePrincipalCurvatureAvailable (const MeshType &m) |
Returns true if the PrincipalCurvature component is available (enabled) in the Face element of the input mesh m. | |
template<FaceMeshConcept MeshType> | |
bool | vcl::enableIfPerFacePrincipalCurvatureOptional (MeshType &m) |
If the input mesh has a FaceContainer, and the Face Element has a PrincipalCurvature Component, this function enables the Component in the Element if the component needs to be enabled (meaning that it is optional). Returns true if, after the call of this function, the PrincipalCurvature component will be available in the Face Element of the mesh. | |
template<FaceMeshConcept MeshType> | |
bool | vcl::isPerFaceQualityAvailable (const MeshType &m) |
Returns true if the Quality component is available (enabled) in the Face element of the input mesh m. | |
template<FaceMeshConcept MeshType> | |
bool | vcl::enableIfPerFaceQualityOptional (MeshType &m) |
If the input mesh has a FaceContainer, and the Face Element has a Quality Component, this function enables the Component in the Element if the component needs to be enabled (meaning that it is optional). Returns true if, after the call of this function, the Quality component will be available in the Face Element of the mesh. | |
template<FaceMeshConcept MeshType> | |
bool | vcl::isPerFaceWedgeColorsAvailable (const MeshType &m) |
Returns true if the WedgeColors component is available (enabled) in the Face element of the input mesh m. | |
template<FaceMeshConcept MeshType> | |
bool | vcl::enableIfPerFaceWedgeColorsOptional (MeshType &m) |
If the input mesh has a FaceContainer, and the Face Element has a WedgeColors Component, this function enables the Component in the Element if the component needs to be enabled (meaning that it is optional). Returns true if, after the call of this function, the WedgeColors component will be available in the Face Element of the mesh. | |
template<FaceMeshConcept MeshType> | |
bool | vcl::isPerFaceWedgeTexCoordsAvailable (const MeshType &m) |
Returns true if the WedgeTexCoords component is available (enabled) in the Face element of the input mesh m. | |
template<FaceMeshConcept MeshType> | |
bool | vcl::enableIfPerFaceWedgeTexCoordsOptional (MeshType &m) |
If the input mesh has a FaceContainer, and the Face Element has a WedgeTexCoords Component, this function enables the Component in the Element if the component needs to be enabled (meaning that it is optional). Returns true if, after the call of this function, the WedgeTexCoords component will be available in the Face Element of the mesh. | |
template<FaceMeshConcept MeshType> | |
void | vcl::requireFaceContainerCompactness (const MeshType &m) |
This function asserts that a Mesh has the FaceContainer compact (no elements flagged as deleted). | |
template<FaceMeshConcept MeshType> requires HasPerFaceAdjacentEdges<MeshType> | |
void | vcl::requirePerFaceAdjacentEdges (const MeshType &m) |
This function asserts that a Mesh has a FaceContainer, the Face has a AdjacentEdges Component, and that the AdjacentEdges Component is enabled and available at runtime. | |
template<FaceMeshConcept MeshType> requires HasPerFaceAdjacentFaces<MeshType> | |
void | vcl::requirePerFaceAdjacentFaces (const MeshType &m) |
This function asserts that a Mesh has a FaceContainer, the Face has a AdjacentFaces Component, and that the AdjacentFaces Component is enabled and available at runtime. | |
template<FaceMeshConcept MeshType> requires HasPerFaceColor<MeshType> | |
void | vcl::requirePerFaceColor (const MeshType &m) |
This function asserts that a Mesh has a FaceContainer, the Face has a Color Component, and that the Color Component is enabled and available at runtime. | |
template<FaceMeshConcept MeshType> requires HasPerFaceMark<MeshType> | |
void | vcl::requirePerFaceMark (const MeshType &m) |
This function asserts that a Mesh has a FaceContainer, the Face has a Mark Component, and that the Mark Component is enabled and available at runtime. | |
template<FaceMeshConcept MeshType> requires HasPerFaceNormal<MeshType> | |
void | vcl::requirePerFaceNormal (const MeshType &m) |
This function asserts that a Mesh has a FaceContainer, the Face has a Normal Component, and that the Normal Component is enabled and available at runtime. | |
template<FaceMeshConcept MeshType> requires HasPerFacePrincipalCurvature<MeshType> | |
void | vcl::requirePerFacePrincipalCurvature (const MeshType &m) |
This function asserts that a Mesh has a FaceContainer, the Face has a PrincipalCurvature Component, and that the PrincipalCurvature Component is enabled and available at runtime. | |
template<FaceMeshConcept MeshType> requires HasPerFaceQuality<MeshType> | |
void | vcl::requirePerFaceQuality (const MeshType &m) |
This function asserts that a Mesh has a FaceContainer, the Face has a Quality Component, and that the Quality Component is enabled and available at runtime. | |
template<FaceMeshConcept MeshType> requires HasPerFaceWedgeColors<MeshType> | |
void | vcl::requirePerFaceWedgeColors (const MeshType &m) |
This function asserts that a Mesh has a FaceContainer, the Face has a WedgeColors Component, and that the WedgeColors Component is enabled and available at runtime. | |
template<FaceMeshConcept MeshType> requires HasPerFaceWedgeTexCoords<MeshType> | |
void | vcl::requirePerFaceWedgeTexCoords (const MeshType &m) |
This function asserts that a Mesh has a FaceContainer, the Face has a WedgeTexCoords Component, and that the WedgeTexCoords Component is enabled and available at runtime. | |
List functions that allows to check, enable and assert the availability of components in the Face Elements of a Mesh.
bool vcl::enableIfPerFaceAdjacentEdgesOptional | ( | MeshType & | m | ) |
If the input mesh has a FaceContainer, and the Face Element has a AdjacentEdges Component, this function enables the Component in the Element if the component needs to be enabled (meaning that it is optional). Returns true
if, after the call of this function, the AdjacentEdges component will be available in the Face Element of the mesh.
MeshType | the type of the Mesh to check, it must satisfy the FaceMeshConcept. |
true
if the AdjacentEdges Component is available in the FaceElement after the call of this funciton. bool vcl::enableIfPerFaceAdjacentFacesOptional | ( | MeshType & | m | ) |
If the input mesh has a FaceContainer, and the Face Element has a AdjacentFaces Component, this function enables the Component in the Element if the component needs to be enabled (meaning that it is optional). Returns true
if, after the call of this function, the AdjacentFaces component will be available in the Face Element of the mesh.
MeshType | the type of the Mesh to check, it must satisfy the FaceMeshConcept. |
true
if the AdjacentFaces Component is available in the FaceElement after the call of this funciton. bool vcl::enableIfPerFaceColorOptional | ( | MeshType & | m | ) |
If the input mesh has a FaceContainer, and the Face Element has a Color Component, this function enables the Component in the Element if the component needs to be enabled (meaning that it is optional). Returns true
if, after the call of this function, the Color component will be available in the Face Element of the mesh.
MeshType | the type of the Mesh to check, it must satisfy the FaceMeshConcept. |
true
if the Color Component is available in the FaceElement after the call of this funciton. bool vcl::enableIfPerFaceMarkOptional | ( | MeshType & | m | ) |
If the input mesh has a FaceContainer, and the Face Element has a Mark Component, this function enables the Component in the Element if the component needs to be enabled (meaning that it is optional). Returns true
if, after the call of this function, the Mark component will be available in the Face Element of the mesh.
MeshType | the type of the Mesh to check, it must satisfy the FaceMeshConcept. |
true
if the Mark Component is available in the FaceElement after the call of this funciton. bool vcl::enableIfPerFaceNormalOptional | ( | MeshType & | m | ) |
If the input mesh has a FaceContainer, and the Face Element has a Normal Component, this function enables the Component in the Element if the component needs to be enabled (meaning that it is optional). Returns true
if, after the call of this function, the Normal component will be available in the Face Element of the mesh.
MeshType | the type of the Mesh to check, it must satisfy the FaceMeshConcept. |
true
if the Normal Component is available in the FaceElement after the call of this funciton. bool vcl::enableIfPerFacePrincipalCurvatureOptional | ( | MeshType & | m | ) |
If the input mesh has a FaceContainer, and the Face Element has a PrincipalCurvature Component, this function enables the Component in the Element if the component needs to be enabled (meaning that it is optional). Returns true
if, after the call of this function, the PrincipalCurvature component will be available in the Face Element of the mesh.
MeshType | the type of the Mesh to check, it must satisfy the FaceMeshConcept. |
[in] | m | the mesh on which enable the PrincipalCurvature component in the Face Element. |
true
if the PrincipalCurvature Component is available in the FaceElement after the call of this funciton. bool vcl::enableIfPerFaceQualityOptional | ( | MeshType & | m | ) |
If the input mesh has a FaceContainer, and the Face Element has a Quality Component, this function enables the Component in the Element if the component needs to be enabled (meaning that it is optional). Returns true
if, after the call of this function, the Quality component will be available in the Face Element of the mesh.
MeshType | the type of the Mesh to check, it must satisfy the FaceMeshConcept. |
true
if the Quality Component is available in the FaceElement after the call of this funciton. bool vcl::enableIfPerFaceWedgeColorsOptional | ( | MeshType & | m | ) |
If the input mesh has a FaceContainer, and the Face Element has a WedgeColors Component, this function enables the Component in the Element if the component needs to be enabled (meaning that it is optional). Returns true
if, after the call of this function, the WedgeColors component will be available in the Face Element of the mesh.
MeshType | the type of the Mesh to check, it must satisfy the FaceMeshConcept. |
true
if the WedgeColors Component is available in the FaceElement after the call of this funciton. bool vcl::enableIfPerFaceWedgeTexCoordsOptional | ( | MeshType & | m | ) |
If the input mesh has a FaceContainer, and the Face Element has a WedgeTexCoords Component, this function enables the Component in the Element if the component needs to be enabled (meaning that it is optional). Returns true
if, after the call of this function, the WedgeTexCoords component will be available in the Face Element of the mesh.
MeshType | the type of the Mesh to check, it must satisfy the FaceMeshConcept. |
true
if the WedgeTexCoords Component is available in the FaceElement after the call of this funciton. Returns true
if the given mesh has its FaceContainer compact.
MeshType | the type of the Mesh to check, it must satisfy the FaceMeshConcept. |
m | the mesh on which check the compactness of the FaceContainer. |
true
if the FaceContainer is compact. Returns true if the AdjacentEdges component is available (enabled) in the Face element of the input mesh m.
This function returns true
when the AdjacentEdges component can be used on the element, whether the component is horizontal, vertical or optional.
These are the following cases:
false
;true
;true
if the AdjacentEdges component is enabled, false otherwise (this check is the only one that is made at runtime);MeshType | the type of the Mesh to check, it must satisfy the FaceMeshConcept. |
Returns true if the AdjacentFaces component is available (enabled) in the Face element of the input mesh m.
This function returns true
when the AdjacentFaces component can be used on the element, whether the component is horizontal, vertical or optional.
These are the following cases:
false
;true
;true
if the AdjacentFaces component is enabled, false otherwise (this check is the only one that is made at runtime);MeshType | the type of the Mesh to check, it must satisfy the FaceMeshConcept. |
Returns true if the Color component is available (enabled) in the Face element of the input mesh m.
This function returns true
when the Color component can be used on the element, whether the component is horizontal, vertical or optional.
These are the following cases:
false
;true
;true
if the Color component is enabled, false otherwise (this check is the only one that is made at runtime);MeshType | the type of the Mesh to check, it must satisfy the FaceMeshConcept. |
Returns true if the Mark component is available (enabled) in the Face element of the input mesh m.
This function returns true
when the Mark component can be used on the element, whether the component is horizontal, vertical or optional.
These are the following cases:
false
;true
;true
if the Mark component is enabled, false otherwise (this check is the only one that is made at runtime);MeshType | the type of the Mesh to check, it must satisfy the FaceMeshConcept. |
Returns true if the Normal component is available (enabled) in the Face element of the input mesh m.
This function returns true
when the Normal component can be used on the element, whether the component is horizontal, vertical or optional.
These are the following cases:
false
;true
;true
if the Normal component is enabled, false otherwise (this check is the only one that is made at runtime);MeshType | the type of the Mesh to check, it must satisfy the FaceMeshConcept. |
bool vcl::isPerFacePrincipalCurvatureAvailable | ( | const MeshType & | m | ) |
Returns true if the PrincipalCurvature component is available (enabled) in the Face element of the input mesh m.
This function returns true
when the PrincipalCurvature component can be used on the element, whether the component is horizontal, vertical or optional.
These are the following cases:
false
;true
;true
if the PrincipalCurvature component is enabled, false otherwise (this check is the only one that is made at runtime);MeshType | the type of the Mesh to check, it must satisfy the FaceMeshConcept. |
[in] | m | the mesh on which check the availability of the PrincipalCurvature Component in the Face Element. |
true
if the PrincipalCurvature Component is available in the Face Element of the given Mesh. Returns true if the Quality component is available (enabled) in the Face element of the input mesh m.
This function returns true
when the Quality component can be used on the element, whether the component is horizontal, vertical or optional.
These are the following cases:
false
;true
;true
if the Quality component is enabled, false otherwise (this check is the only one that is made at runtime);MeshType | the type of the Mesh to check, it must satisfy the FaceMeshConcept. |
Returns true if the WedgeColors component is available (enabled) in the Face element of the input mesh m.
This function returns true
when the WedgeColors component can be used on the element, whether the component is horizontal, vertical or optional.
These are the following cases:
false
;true
;true
if the WedgeColors component is enabled, false otherwise (this check is the only one that is made at runtime);MeshType | the type of the Mesh to check, it must satisfy the FaceMeshConcept. |
Returns true if the WedgeTexCoords component is available (enabled) in the Face element of the input mesh m.
This function returns true
when the WedgeTexCoords component can be used on the element, whether the component is horizontal, vertical or optional.
These are the following cases:
false
;true
;true
if the WedgeTexCoords component is enabled, false otherwise (this check is the only one that is made at runtime);MeshType | the type of the Mesh to check, it must satisfy the FaceMeshConcept. |
This function asserts that a Mesh has the FaceContainer compact (no elements flagged as deleted).
If the FaceContainer is not compact, a vcl::MissingCompactnessException will be thrown.
MeshType | the type of the Mesh to check, it must satisfy the FaceMeshConcept. |
vcl::MissingCompactnessException | if the FaceContainer is not compact. |
[in] | m | the mesh on which check the compactness of the FaceContainer. |
void vcl::requirePerFaceAdjacentEdges | ( | const MeshType & | m | ) |
This function asserts that a Mesh has a FaceContainer, the Face has a AdjacentEdges Component, and that the AdjacentEdges Component is enabled and available at runtime.
If the Mesh:
If the Mesh:
MeshType | the type of the Mesh to check, it must satisfy the FaceMeshConcept. |
vcl::MissingComponentException | if the AdjacentEdges Component is not enabled in the FaceContainer of the Mesh. |
[in] | m | the mesh on which check the availability of the AdjacentEdges Component in the Face. |
void vcl::requirePerFaceAdjacentFaces | ( | const MeshType & | m | ) |
This function asserts that a Mesh has a FaceContainer, the Face has a AdjacentFaces Component, and that the AdjacentFaces Component is enabled and available at runtime.
If the Mesh:
If the Mesh:
MeshType | the type of the Mesh to check, it must satisfy the FaceMeshConcept. |
vcl::MissingComponentException | if the AdjacentFaces Component is not enabled in the FaceContainer of the Mesh. |
[in] | m | the mesh on which check the availability of the AdjacentFaces Component in the Face. |
void vcl::requirePerFaceColor | ( | const MeshType & | m | ) |
This function asserts that a Mesh has a FaceContainer, the Face has a Color Component, and that the Color Component is enabled and available at runtime.
If the Mesh:
If the Mesh:
MeshType | the type of the Mesh to check, it must satisfy the FaceMeshConcept. |
vcl::MissingComponentException | if the Color Component is not enabled in the FaceContainer of the Mesh. |
void vcl::requirePerFaceMark | ( | const MeshType & | m | ) |
This function asserts that a Mesh has a FaceContainer, the Face has a Mark Component, and that the Mark Component is enabled and available at runtime.
If the Mesh:
If the Mesh:
MeshType | the type of the Mesh to check, it must satisfy the FaceMeshConcept. |
vcl::MissingComponentException | if the Mark Component is not enabled in the FaceContainer of the Mesh. |
[in] | m | the mesh on which check the availability of the Mark Component in the Face. |
void vcl::requirePerFaceNormal | ( | const MeshType & | m | ) |
This function asserts that a Mesh has a FaceContainer, the Face has a Normal Component, and that the Normal Component is enabled and available at runtime.
If the Mesh:
If the Mesh:
MeshType | the type of the Mesh to check, it must satisfy the FaceMeshConcept. |
vcl::MissingComponentException | if the Normal Component is not enabled in the FaceContainer of the Mesh. |
[in] | m | the mesh on which check the availability of the Normal Component in the Face. |
void vcl::requirePerFacePrincipalCurvature | ( | const MeshType & | m | ) |
This function asserts that a Mesh has a FaceContainer, the Face has a PrincipalCurvature Component, and that the PrincipalCurvature Component is enabled and available at runtime.
If the Mesh:
If the Mesh:
MeshType | the type of the Mesh to check, it must satisfy the FaceMeshConcept. |
vcl::MissingComponentException | if the PrincipalCurvature Component is not enabled in the FaceContainer of the Mesh. |
[in] | m | the mesh on which check the availability of the PrincipalCurvature Component in the Face. |
void vcl::requirePerFaceQuality | ( | const MeshType & | m | ) |
This function asserts that a Mesh has a FaceContainer, the Face has a Quality Component, and that the Quality Component is enabled and available at runtime.
If the Mesh:
If the Mesh:
MeshType | the type of the Mesh to check, it must satisfy the FaceMeshConcept. |
vcl::MissingComponentException | if the Quality Component is not enabled in the FaceContainer of the Mesh. |
[in] | m | the mesh on which check the availability of the Quality Component in the Face. |
void vcl::requirePerFaceWedgeColors | ( | const MeshType & | m | ) |
This function asserts that a Mesh has a FaceContainer, the Face has a WedgeColors Component, and that the WedgeColors Component is enabled and available at runtime.
If the Mesh:
If the Mesh:
MeshType | the type of the Mesh to check, it must satisfy the FaceMeshConcept. |
vcl::MissingComponentException | if the WedgeColors Component is not enabled in the FaceContainer of the Mesh. |
[in] | m | the mesh on which check the availability of the WedgeColors Component in the Face. |
void vcl::requirePerFaceWedgeTexCoords | ( | const MeshType & | m | ) |
This function asserts that a Mesh has a FaceContainer, the Face has a WedgeTexCoords Component, and that the WedgeTexCoords Component is enabled and available at runtime.
If the Mesh:
If the Mesh:
MeshType | the type of the Mesh to check, it must satisfy the FaceMeshConcept. |
vcl::MissingComponentException | if the WedgeTexCoords Component is not enabled in the FaceContainer of the Mesh. |
[in] | m | the mesh on which check the availability of the WedgeTexCoords Component in the Face. |