Cumulia Illustrator Rendering Engine v2.1.0
A Rendering engine for industrial CAD/CAE model and optimized for greatest performance
 
Loading...
Searching...
No Matches
geometry.h
1//##################################################################################################
2//
3// Copyright (c) 2024 Beijing Qiongqi Tech Co.,Ltd. All rights reserved.
4
5// This source code is confidential and proprietary to Beijing Qiongqi Tech Co.,Ltd(The Holder).
6// Any unauthorized use, copying, modification, or distribution of the code is strictly prohibited.
7// Any user shall obtain authorizaition from the Holder before modifying the source code. And the user shall not
8// sublicense, sell, distribute, or transfer the source code, whether in original or modified form, to any third party
9// without the prior written consent of the Holder.
10
11// This copyright notice and permission grant shall be included in all copies or substantial portions of the source code.
12
13// Author Cumulia Illustrator
14// Date 2025-08-05
15// Version V2.1.0
16//##################################################################################################
17
18#pragma once
19
20#include "../object/object.h"
21#include "../variant/types.h"
22#include "types.h"
23
24#include <vector>
25#include <string>
26#include <map>
27
28namespace cil
29{
31 class Geometry : public Object
32 {
33 public:
34 std::shared_ptr<std::map<std::string, VerticesPtr>> vertices;
37 };
38
39 BoundingBoxPtr getBoundingBox(const GeometryPtr& geometry, const std::string& attribName = "positions");
40}
The Geometry class is a collection of geometric data.
Definition geometry.h:32
BoundingBoxPtr boundingBox
Definition geometry.h:36
IndicesPtr indices
This member is a shared pointer to a Indices object that represents the index data specifying how the...
Definition geometry.h:35
std::shared_ptr< std::map< std::string, VerticesPtr > > vertices
This member is a shared pointer to a map object using a string as the key and a Vertices as the vaule...
Definition geometry.h:34
Definition object.h:23
Definition decal.h:23
std::shared_ptr< BoundingBox > BoundingBoxPtr
Definition types.h:36
std::shared_ptr< Indices > IndicesPtr
Definition types.h:38
BoundingBoxPtr getBoundingBox(const GeometryPtr &geometry, const std::string &attribName="positions")
std::shared_ptr< Geometry > GeometryPtr
Definition types.h:32