MeshLib C Docs
Loading...
Searching...
No Matches
MRSceneColors.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMisc/exports.h>
4
5#include <stddef.h>
6
7#ifdef __cplusplus
8extern "C" {
9#endif
10
11typedef struct MR_Color MR_Color; // Defined in `#include <MRCMesh/MRColor.h>`.
12
13
17
48
52
56
59
62
65
66#ifdef __cplusplus
67} // extern "C"
68#endif
MRC_API MR_SceneColors * MR_SceneColors_OffsetMutablePtr(MR_SceneColors *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
struct MR_SceneColors MR_SceneColors
Definition MRSceneColors.h:16
MRC_API void MR_SceneColors_set(MR_SceneColors_Type type, const MR_Color *color)
MRC_API const MR_Color * MR_SceneColors_get(MR_SceneColors_Type type)
MR_SceneColors_Type
Definition MRSceneColors.h:19
@ MR_SceneColors_Type_SelectedPoints
Definition MRSceneColors.h:36
@ MR_SceneColors_Type_Labels
Definition MRSceneColors.h:31
@ MR_SceneColors_Type_FeatureBackFaces
Definition MRSceneColors.h:39
@ MR_SceneColors_Type_SelectedObjectDistanceMap
Definition MRSceneColors.h:28
@ MR_SceneColors_Type_SelectedEdges
Definition MRSceneColors.h:35
@ MR_SceneColors_Type_UnselectedFeatureDecorations
Definition MRSceneColors.h:41
@ MR_SceneColors_Type_UnselectedMeasurements
Definition MRSceneColors.h:43
@ MR_SceneColors_Type_UnselectedFeatures
Definition MRSceneColors.h:38
@ MR_SceneColors_Type_SelectedObjectPoints
Definition MRSceneColors.h:22
@ MR_SceneColors_Type_BackFaces
Definition MRSceneColors.h:30
@ MR_SceneColors_Type_SelectedFeatures
Definition MRSceneColors.h:37
@ MR_SceneColors_Type_SelectedMeasurements
Definition MRSceneColors.h:42
@ MR_SceneColors_Type_SelectedTemporaryMeasurements
Definition MRSceneColors.h:44
@ MR_SceneColors_Type_Points
Definition MRSceneColors.h:33
@ MR_SceneColors_Type_SelectedObjectVoxels
Definition MRSceneColors.h:26
@ MR_SceneColors_Type_UnselectedTemporaryMeasurements
Definition MRSceneColors.h:45
@ MR_SceneColors_Type_UnselectedObjectLines
Definition MRSceneColors.h:25
@ MR_SceneColors_Type_Edges
Definition MRSceneColors.h:32
@ MR_SceneColors_Type_UnselectedObjectDistanceMap
Definition MRSceneColors.h:29
@ MR_SceneColors_Type_SelectedFaces
Definition MRSceneColors.h:34
@ MR_SceneColors_Type_SelectedFeatureDecorations
Definition MRSceneColors.h:40
@ MR_SceneColors_Type_SelectedObjectLines
Definition MRSceneColors.h:24
@ MR_SceneColors_Type_UnselectedObjectPoints
Definition MRSceneColors.h:23
@ MR_SceneColors_Type_Count
Definition MRSceneColors.h:46
@ MR_SceneColors_Type_UnselectedObjectVoxels
Definition MRSceneColors.h:27
@ MR_SceneColors_Type_UnselectedObjectMesh
Definition MRSceneColors.h:21
@ MR_SceneColors_Type_SelectedObjectMesh
Definition MRSceneColors.h:20
MRC_API const char * MR_SceneColors_getName(MR_SceneColors_Type type)
Generated from a method of class MR::SceneColors named getName.
MRC_API const MR_SceneColors * MR_SceneColors_OffsetPtr(const MR_SceneColors *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
#define MRC_API
Definition exports.h:11
Generated from class MR::Color.
Definition MRColor.h:19