Visual Computing Library
Loading...
Searching...
No Matches
mesh_render_info_macros.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_RENDER_DRAWABLE_MESH_MESH_RENDER_INFO_MACROS_H
24#define VCL_RENDER_DRAWABLE_MESH_MESH_RENDER_INFO_MACROS_H
25
30// points
31#define VCL_MRS_DRAW_POINTS 0 // point visibility
32#define VCL_MRS_POINTS_PIXEL 1 // draw points as pixels
33#define VCL_MRS_POINTS_CIRCLE 2 // draw points as circles
34#define VCL_MRS_POINTS_SHADING_NONE 3 // no shading
35#define VCL_MRS_POINTS_SHADING_VERT 4 // vertex normal shading
36#define VCL_MRS_POINTS_COLOR_VERTEX 5 // vert colors for points
37#define VCL_MRS_POINTS_COLOR_MESH 6 // mesh color for points
38#define VCL_MRS_POINTS_COLOR_USER 7 // user color for points
39
40// surface
41#define VCL_MRS_DRAW_SURF 0 // surface visibility
42#define VCL_MRS_SURF_SHADING_NONE 1 // no shading
43#define VCL_MRS_SURF_SHADING_FLAT 2 // flat shading
44#define VCL_MRS_SURF_SHADING_SMOOTH 3 // smooth shading
45#define VCL_MRS_SURF_COLOR_VERTEX 4 // vert color for surface
46#define VCL_MRS_SURF_COLOR_FACE 5 // face color for surface
47#define VCL_MRS_SURF_TEX_VERTEX 6 // per vertex texcoords
48#define VCL_MRS_SURF_TEX_WEDGE 7 // per wedge texcoords
49#define VCL_MRS_SURF_COLOR_MESH 8 // mesh color for surface
50#define VCL_MRS_SURF_COLOR_USER 9 // user color for surface
51
52// wireframe
53#define VCL_MRS_DRAW_WIREFRAME 0 // draw wireframe
54#define VCL_MRS_WIREFRAME_SHADING_NONE 1 // no shading
55#define VCL_MRS_WIREFRAME_SHADING_VERT 2 // vertex normal shading
56#define VCL_MRS_WIREFRAME_COLOR_VERT 3 // vert color for wireframe
57#define VCL_MRS_WIREFRAME_COLOR_MESH 4 // mesh color for wireframe
58#define VCL_MRS_WIREFRAME_COLOR_USER 5 // user color for wireframe
59
60// edges
61#define VCL_MRS_DRAW_EDGES 0 // draw edges
62#define VCL_MRS_EDGES_SHADING_NONE 1 // no shading
63#define VCL_MRS_EDGES_SHADING_FLAT 2 // edge normal shading
64#define VCL_MRS_EDGES_SHADING_SMOOTH 3 // vertex normal shading
65#define VCL_MRS_EDGES_COLOR_VERTEX 4 // vert color for edges
66#define VCL_MRS_EDGES_COLOR_EDGE 5 // edge color for edges
67#define VCL_MRS_EDGES_COLOR_MESH 6 // mesh color for edges
68#define VCL_MRS_EDGES_COLOR_USER 7 // user color for edges
69
70#endif // VCL_RENDER_DRAWABLE_MESH_MESH_RENDER_INFO_MACROS_H