Visual Computing Library
devel
Version:
Loading versions...
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_SPHERE 3
// draw points as spheres
35
#define VCL_MRS_POINTS_SHADING_NONE 4
// no shading
36
#define VCL_MRS_POINTS_SHADING_VERT 5
// vertex normal shading
37
#define VCL_MRS_POINTS_COLOR_VERTEX 6
// vert colors for points
38
#define VCL_MRS_POINTS_COLOR_MESH 7
// mesh color for points
39
#define VCL_MRS_POINTS_COLOR_USER 8
// user color for points
40
41
// surface
42
#define VCL_MRS_DRAW_SURF 0
// surface visibility
43
#define VCL_MRS_SURF_SHADING_NONE 1
// no shading
44
#define VCL_MRS_SURF_SHADING_FLAT 2
// flat shading
45
#define VCL_MRS_SURF_SHADING_SMOOTH 3
// smooth shading
46
#define VCL_MRS_SURF_COLOR_VERTEX 4
// vert color for surface
47
#define VCL_MRS_SURF_COLOR_FACE 5
// face color for surface
48
#define VCL_MRS_SURF_TEX_VERTEX 6
// per vertex texcoords
49
#define VCL_MRS_SURF_TEX_WEDGE 7
// per wedge texcoords
50
#define VCL_MRS_SURF_COLOR_MESH 8
// mesh color for surface
51
#define VCL_MRS_SURF_COLOR_USER 9
// user color for surface
52
53
// wireframe
54
#define VCL_MRS_DRAW_WIREFRAME 0
// draw wireframe
55
#define VCL_MRS_WIREFRAME_SHADING_NONE 1
// no shading
56
#define VCL_MRS_WIREFRAME_SHADING_VERT 2
// vertex normal shading
57
#define VCL_MRS_WIREFRAME_COLOR_VERT 3
// vert color for wireframe
58
#define VCL_MRS_WIREFRAME_COLOR_MESH 4
// mesh color for wireframe
59
#define VCL_MRS_WIREFRAME_COLOR_USER 5
// user color for wireframe
60
61
// edges
62
#define VCL_MRS_DRAW_EDGES 0
// draw edges
63
#define VCL_MRS_EDGES_SHADING_NONE 1
// no shading
64
#define VCL_MRS_EDGES_SHADING_FLAT 2
// edge normal shading
65
#define VCL_MRS_EDGES_SHADING_SMOOTH 3
// vertex normal shading
66
#define VCL_MRS_EDGES_COLOR_VERTEX 4
// vert color for edges
67
#define VCL_MRS_EDGES_COLOR_EDGE 5
// edge color for edges
68
#define VCL_MRS_EDGES_COLOR_MESH 6
// mesh color for edges
69
#define VCL_MRS_EDGES_COLOR_USER 7
// user color for edges
70
71
#endif
// VCL_RENDER_DRAWABLE_MESH_MESH_RENDER_INFO_MACROS_H
vclib
render
include
vclib
render
drawable
mesh
mesh_render_info_macros.h
Generated by
1.9.8