Visual Computing Library
|
List functions that allows to check, enable and assert the availability of components in the Edge Elements of a Mesh. More...
Functions | |
template<EdgeMeshConcept MeshType> | |
bool | vcl::isEdgeContainerCompact (const MeshType &m) |
Returns true if the given mesh has its EdgeContainer compact. | |
template<EdgeMeshConcept MeshType> | |
bool | vcl::isPerEdgeAdjacentEdgesAvailable (const MeshType &m) |
Returns true if the AdjacentEdges component is available (enabled) in the Edge element of the input mesh m. | |
template<EdgeMeshConcept MeshType> | |
bool | vcl::enableIfPerEdgeAdjacentEdgesOptional (MeshType &m) |
If the input mesh has a EdgeContainer, and the Edge 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 Edge Element of the mesh. | |
template<EdgeMeshConcept MeshType> | |
bool | vcl::isPerEdgeAdjacentFacesAvailable (const MeshType &m) |
Returns true if the AdjacentFaces component is available (enabled) in the Edge element of the input mesh m. | |
template<EdgeMeshConcept MeshType> | |
bool | vcl::enableIfPerEdgeAdjacentFacesOptional (MeshType &m) |
If the input mesh has a EdgeContainer, and the Edge 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 Edge Element of the mesh. | |
template<EdgeMeshConcept MeshType> | |
bool | vcl::isPerEdgeColorAvailable (const MeshType &m) |
Returns true if the Color component is available (enabled) in the Edge element of the input mesh m. | |
template<EdgeMeshConcept MeshType> | |
bool | vcl::enableIfPerEdgeColorOptional (MeshType &m) |
If the input mesh has a EdgeContainer, and the Edge 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 Edge Element of the mesh. | |
template<EdgeMeshConcept MeshType> | |
bool | vcl::isPerEdgeMarkAvailable (const MeshType &m) |
Returns true if the Mark component is available (enabled) in the Edge element of the input mesh m. | |
template<EdgeMeshConcept MeshType> | |
bool | vcl::enableIfPerEdgeMarkOptional (MeshType &m) |
If the input mesh has a EdgeContainer, and the Edge 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 Edge Element of the mesh. | |
template<EdgeMeshConcept MeshType> | |
bool | vcl::isPerEdgeNormalAvailable (const MeshType &m) |
Returns true if the Normal component is available (enabled) in the Edge element of the input mesh m. | |
template<EdgeMeshConcept MeshType> | |
bool | vcl::enableIfPerEdgeNormalOptional (MeshType &m) |
If the input mesh has a EdgeContainer, and the Edge 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 Edge Element of the mesh. | |
template<EdgeMeshConcept MeshType> | |
bool | vcl::isPerEdgeQualityAvailable (const MeshType &m) |
Returns true if the Quality component is available (enabled) in the Edge element of the input mesh m. | |
template<EdgeMeshConcept MeshType> | |
bool | vcl::enableIfPerEdgeQualityOptional (MeshType &m) |
If the input mesh has a EdgeContainer, and the Edge 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 Edge Element of the mesh. | |
template<EdgeMeshConcept MeshType> | |
void | vcl::requireEdgeContainerCompactness (const MeshType &m) |
This function asserts that a Mesh has the EdgeContainer compact (no elements flagged as deleted). | |
template<EdgeMeshConcept MeshType> requires HasPerEdgeAdjacentEdges<MeshType> | |
void | vcl::requirePerEdgeAdjacentEdges (const MeshType &m) |
This function asserts that a Mesh has a EdgeContainer, the Edge has a AdjacentEdges Component, and that the AdjacentEdges Component is enabled and available at runtime. | |
template<EdgeMeshConcept MeshType> requires HasPerEdgeAdjacentFaces<MeshType> | |
void | vcl::requirePerEdgeAdjacentFaces (const MeshType &m) |
This function asserts that a Mesh has a EdgeContainer, the Edge has a AdjacentFaces Component, and that the AdjacentFaces Component is enabled and available at runtime. | |
template<EdgeMeshConcept MeshType> requires HasPerEdgeColor<MeshType> | |
void | vcl::requirePerEdgeColor (const MeshType &m) |
This function asserts that a Mesh has a EdgeContainer, the Edge has a Color Component, and that the Color Component is enabled and available at runtime. | |
template<EdgeMeshConcept MeshType> requires HasPerEdgeMark<MeshType> | |
void | vcl::requirePerEdgeMark (const MeshType &m) |
This function asserts that a Mesh has a EdgeContainer, the Edge has a Mark Component, and that the Mark Component is enabled and available at runtime. | |
template<EdgeMeshConcept MeshType> requires HasPerEdgeNormal<MeshType> | |
void | vcl::requirePerEdgeNormal (const MeshType &m) |
This function asserts that a Mesh has a EdgeContainer, the Edge has a Normal Component, and that the Normal Component is enabled and available at runtime. | |
template<EdgeMeshConcept MeshType> requires HasPerEdgeQuality<MeshType> | |
void | vcl::requirePerEdgeQuality (const MeshType &m) |
This function asserts that a Mesh has a EdgeContainer, the Edge has a Quality Component, and that the Quality Component is enabled and available at runtime. | |
List functions that allows to check, enable and assert the availability of components in the Edge Elements of a Mesh.
bool vcl::enableIfPerEdgeAdjacentEdgesOptional | ( | MeshType & | m | ) |
If the input mesh has a EdgeContainer, and the Edge 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 Edge Element of the mesh.
MeshType | the type of the Mesh to check, it must satisfy the EdgeMeshConcept. |
true
if the AdjacentEdges Component is available in the EdgeElement after the call of this funciton. bool vcl::enableIfPerEdgeAdjacentFacesOptional | ( | MeshType & | m | ) |
If the input mesh has a EdgeContainer, and the Edge 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 Edge Element of the mesh.
MeshType | the type of the Mesh to check, it must satisfy the EdgeMeshConcept. |
true
if the AdjacentFaces Component is available in the EdgeElement after the call of this funciton. bool vcl::enableIfPerEdgeColorOptional | ( | MeshType & | m | ) |
If the input mesh has a EdgeContainer, and the Edge 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 Edge Element of the mesh.
MeshType | the type of the Mesh to check, it must satisfy the EdgeMeshConcept. |
true
if the Color Component is available in the EdgeElement after the call of this funciton. bool vcl::enableIfPerEdgeMarkOptional | ( | MeshType & | m | ) |
If the input mesh has a EdgeContainer, and the Edge 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 Edge Element of the mesh.
MeshType | the type of the Mesh to check, it must satisfy the EdgeMeshConcept. |
true
if the Mark Component is available in the EdgeElement after the call of this funciton. bool vcl::enableIfPerEdgeNormalOptional | ( | MeshType & | m | ) |
If the input mesh has a EdgeContainer, and the Edge 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 Edge Element of the mesh.
MeshType | the type of the Mesh to check, it must satisfy the EdgeMeshConcept. |
true
if the Normal Component is available in the EdgeElement after the call of this funciton. bool vcl::enableIfPerEdgeQualityOptional | ( | MeshType & | m | ) |
If the input mesh has a EdgeContainer, and the Edge 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 Edge Element of the mesh.
MeshType | the type of the Mesh to check, it must satisfy the EdgeMeshConcept. |
true
if the Quality Component is available in the EdgeElement after the call of this funciton. Returns true
if the given mesh has its EdgeContainer compact.
MeshType | the type of the Mesh to check, it must satisfy the EdgeMeshConcept. |
m | the mesh on which check the compactness of the EdgeContainer. |
true
if the EdgeContainer is compact. Returns true if the AdjacentEdges component is available (enabled) in the Edge 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 EdgeMeshConcept. |
Returns true if the AdjacentFaces component is available (enabled) in the Edge 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 EdgeMeshConcept. |
Returns true if the Color component is available (enabled) in the Edge 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 EdgeMeshConcept. |
Returns true if the Mark component is available (enabled) in the Edge 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 EdgeMeshConcept. |
Returns true if the Normal component is available (enabled) in the Edge 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 EdgeMeshConcept. |
Returns true if the Quality component is available (enabled) in the Edge 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 EdgeMeshConcept. |
This function asserts that a Mesh has the EdgeContainer compact (no elements flagged as deleted).
If the EdgeContainer is not compact, a vcl::MissingCompactnessException will be thrown.
MeshType | the type of the Mesh to check, it must satisfy the EdgeMeshConcept. |
vcl::MissingCompactnessException | if the EdgeContainer is not compact. |
[in] | m | the mesh on which check the compactness of the EdgeContainer. |
void vcl::requirePerEdgeAdjacentEdges | ( | const MeshType & | m | ) |
This function asserts that a Mesh has a EdgeContainer, the Edge 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 EdgeMeshConcept. |
vcl::MissingComponentException | if the AdjacentEdges Component is not enabled in the EdgeContainer of the Mesh. |
[in] | m | the mesh on which check the availability of the AdjacentEdges Component in the Edge. |
void vcl::requirePerEdgeAdjacentFaces | ( | const MeshType & | m | ) |
This function asserts that a Mesh has a EdgeContainer, the Edge 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 EdgeMeshConcept. |
vcl::MissingComponentException | if the AdjacentFaces Component is not enabled in the EdgeContainer of the Mesh. |
[in] | m | the mesh on which check the availability of the AdjacentFaces Component in the Edge. |
void vcl::requirePerEdgeColor | ( | const MeshType & | m | ) |
This function asserts that a Mesh has a EdgeContainer, the Edge 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 EdgeMeshConcept. |
vcl::MissingComponentException | if the Color Component is not enabled in the EdgeContainer of the Mesh. |
void vcl::requirePerEdgeMark | ( | const MeshType & | m | ) |
This function asserts that a Mesh has a EdgeContainer, the Edge 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 EdgeMeshConcept. |
vcl::MissingComponentException | if the Mark Component is not enabled in the EdgeContainer of the Mesh. |
[in] | m | the mesh on which check the availability of the Mark Component in the Edge. |
void vcl::requirePerEdgeNormal | ( | const MeshType & | m | ) |
This function asserts that a Mesh has a EdgeContainer, the Edge 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 EdgeMeshConcept. |
vcl::MissingComponentException | if the Normal Component is not enabled in the EdgeContainer of the Mesh. |
[in] | m | the mesh on which check the availability of the Normal Component in the Edge. |
void vcl::requirePerEdgeQuality | ( | const MeshType & | m | ) |
This function asserts that a Mesh has a EdgeContainer, the Edge 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 EdgeMeshConcept. |
vcl::MissingComponentException | if the Quality Component is not enabled in the EdgeContainer of the Mesh. |
[in] | m | the mesh on which check the availability of the Quality Component in the Edge. |