Visual Computing Library  devel
Loading...
Searching...
No Matches
mesh_components.h
1/*****************************************************************************
2 * VCLib *
3 * Visual Computing Library *
4 * *
5 * Copyright(C) 2021-2025 *
6 * Visual Computing Lab *
7 * ISTI - Italian National Research Council *
8 * *
9 * All rights reserved. *
10 * *
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the Mozilla Public License Version 2.0 as published *
13 * by the Mozilla Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
15 * *
16 * This program is distributed in the hope that it will be useful, *
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
19 * Mozilla Public License Version 2.0 *
20 * (https://www.mozilla.org/en-US/MPL/2.0/) for more details. *
21 ****************************************************************************/
22
23#ifndef VCL_MESH_MESH_COMPONENTS_H
24#define VCL_MESH_MESH_COMPONENTS_H
25
26#include "components/bounding_box.h"
27#include "components/color.h"
28#include "components/custom_components.h"
29#include "components/mark.h"
30#include "components/materials.h"
31#include "components/name.h"
32#include "components/transform_matrix.h"
33
43namespace vcl::mesh {
44
45/* Port concepts into the mesh namespace */
46template<typename T>
48template<typename T>
50template<typename T>
52template<typename T>
54template<typename T>
56template<typename T>
58template<typename T>
60
67template<typename P>
69
70template<typename S>
72
75
78
81
84
87
90
92template<typename Scalar>
94
97
// end of mesh_components group
99
100} // namespace vcl::mesh
101
102#endif // VCL_MESH_MESH_COMPONENTS_H
A class representing a box in N-dimensional space.
Definition box.h:46
The BoundingBox component class represents an axis aligned bounding box. This class is usually used a...
Definition bounding_box.h:72
The Color class represents a RGBA color that will be part of an Element (e.g. Vertex,...
Definition color.h:66
The CustomComponents Component is a container of additional components associated to an Element (e....
Definition custom_components.h:93
The Mark class is an utility class useful to un-mark components in constant time.
Definition mark.h:90
A component that manages materials and textures for a mesh.
Definition materials.h:69
The Name component class represents a simple name stored as string. This class is usually used as a c...
Definition name.h:67
The TransformMatrix class represents a component that stores a 4x4 matrix that can be used for a tran...
Definition transform_matrix.h:70
A concept that checks whether a type T (that should be a Mesh) has the BoundingBox component (inherit...
Definition bounding_box.h:132
A concept that checks whether a type T (that should be a Element or a Mesh) has the Color component (...
Definition color.h:132
A concept that checks whether a type T (that should be an Element or a Mesh) has the CustomComponents...
Definition custom_components.h:316
A concept that checks whether a type T (that should be a Element or a Mesh) has the Mark component (i...
Definition mark.h:198
A concept that checks whether a type T (that should be a Mesh) has the Materials component (inherits ...
Definition materials.h:398
A concept that checks whether a type T (that should be a Mesh) has the Name component (inherits from ...
Definition name.h:122
A concept that checks whether a type T (that should be a Mesh) has the TransformMatrix component (inh...
Definition transform_matrix.h:147
Definition mesh_components.h:47
Definition mesh_components.h:49
Definition mesh_components.h:51
Definition mesh_components.h:53
Definition mesh_components.h:55
Definition mesh_components.h:57
Definition mesh_components.h:59