23#ifndef VCL_CONCEPTS_MESH_COMPONENTS_WEDGE_TEX_COORDS_H
24#define VCL_CONCEPTS_MESH_COMPONENTS_WEDGE_TEX_COORDS_H
28#include <vclib/concepts/const_correctness.h>
29#include <vclib/concepts/iterators.h>
30#include <vclib/concepts/ranges/range.h>
31#include <vclib/concepts/space/tex_coord.h>
54 typename RemoveRef<T>::WedgeTexCoordType t,
55 std::vector<typename RemoveRef<T>::WedgeTexCoordType> vec) {
56 RemoveRef<T>::WEDGE_TEX_COORD_NUMBER;
57 typename RemoveRef<T>::WedgeTexCoordType;
58 typename RemoveRef<T>::WedgeTexCoordsIterator;
59 typename RemoveRef<T>::ConstWedgeTexCoordsIterator;
64 { obj.textureIndex() } -> std::convertible_to<ushort>;
69 { obj.wedgeTexCoords() } ->
InputRange<
decltype(t)>;
73 { obj.setWedgeTexCoord(uint(), t) } -> std::same_as<void>;
74 { obj.setWedgeTexCoords(vec) } -> std::same_as<void>;
76 { obj.textureIndex() } -> std::same_as<ushort&>;
81 { obj.wedgeTexCoords() } ->
OutputRange<
decltype(t)>;
109 RemoveRef<T>::VERTEX_NUMBER == RemoveRef<T>::WEDGE_TEX_COORD_NUMBER;
The IsConst concept is satisfied if T satisfies one of the following conditions:
Definition const_correctness.h:43
The OutputIterator concept is satisfied if T is an output iterator that implements the operator* retu...
Definition iterators.h:60
Utility concept that is evaluated true the Range R is an Output Range and has a value_type that is T.
Definition range.h:113
A concept representing a Texture Coordinate.
Definition tex_coord.h:37
HasOptionalWedgeTexCoords concept is satisfied only if a class satisfied the vcl::comp::HasWedgeTexCo...
Definition wedge_tex_coords.h:93
HasRightNumberOfWedgeTexCoords concept.
Definition wedge_tex_coords.h:108
HasWedgeTexCoords concept is satisfied only if a Element class provides the types and member function...
Definition wedge_tex_coords.h:52
Evaluates to true if the type T is a component that is stored vertically in its element container,...
Definition component.h:72
SanityCheckWedgeTexCoords concept.
Definition wedge_tex_coords.h:124