Lagrange
Loading...
Searching...
No Matches
SemanticLabel.h
1/*
2 * Copyright 2025 Adobe. All rights reserved.
3 * This file is licensed to you under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License. You may obtain a copy
5 * of the License at http://www.apache.org/licenses/LICENSE-2.0
6 *
7 * Unless required by applicable law or agreed to in writing, software distributed under
8 * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
9 * OF ANY KIND, either express or implied. See the License for the specific language
10 * governing permissions and limitations under the License.
11 */
12#pragma once
13
14namespace lagrange::primitive {
15
18
22enum class SemanticLabel : uint8_t {
24 Side = 0,
25
27 Top = 1,
28
30 Bottom = 2,
31
33 Bevel = 3,
34
37
40};
41
43
44} // namespace lagrange::primitive
SemanticLabel
Semantic labels are used to classify different parts of a primitive mesh.
Definition SemanticLabel.h:22
@ CrossSection
Cross section of the primitive, typically a slice through the middle.
Definition SemanticLabel.h:36
@ Bevel
Bevel of the primitive, typically the rounded edges.
Definition SemanticLabel.h:33
@ Bottom
Bottom of the primitive, typically the lower cap.
Definition SemanticLabel.h:30
@ Unknown
Unknown or unclassified part of the primitive.
Definition SemanticLabel.h:39
@ Top
Top of the primitive, typically the upper cap.
Definition SemanticLabel.h:27
@ Side
Side of the primitive, typically the lateral surface.
Definition SemanticLabel.h:24