Cumulia Illustrator Rendering Engine v1.1.0
A Rendering engine for industrial CAD/CAE model and optimized for greatest performance
 
Loading...
Searching...
No Matches
parameters.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 2024-10-31
15// Version V1.1.0
16//##################################################################################################
17
18#pragma once
19
20#include <cilcore.h>
21
22#include <string>
23
24namespace cil
25{
27 {
28 protected:
29 std::string m_type;
30
31 public:
33 virtual ~Parameters();
34
35 const std::string& type() const;
36 };
37
39 {
40 public:
42 };
43
45 {
46 public:
48 };
49
51 {
52 public:
54
55 std::shared_ptr<Vector3f> origin;
56 std::shared_ptr<Vector3f> normal;
57 };
58
60 {
61 public:
63
64 std::shared_ptr<Vector3f> origin;
65 std::shared_ptr<Vector3f> normal;
66 };
67
69 {
70 public:
72
73 std::shared_ptr<Vector3f> origin;
74 std::shared_ptr<Vector3f> normal;
75 };
76
78 {
79 public:
81
82 std::shared_ptr<Vector3f> origin;
83 std::shared_ptr<Vector3f> normal;
84 };
85
87 {
88 public:
90
91 std::string name;
92 float value;
93 };
94
96 {
97 public:
99
100 std::string name;
101 std::shared_ptr<MinMax> range;
102 };
103
105 {
106 public:
108
109 std::string name;
110 std::shared_ptr<MinMax> range;
111 };
112
114 {
115 public:
117
118 std::string name;
119 std::vector<std::shared_ptr<Vector3f>> seeds;
121 };
122
124 {
125 public:
127
128 std::string name;
129 std::vector<std::shared_ptr<Vector3f>> seeds;
131 };
132
134 {
135 public:
137
138 std::string name;
139 std::vector<std::shared_ptr<Vector3f>> seeds;
140 std::string varying;
141 double radius;
143 };
144
146 {
147 public:
149
150 std::string name;
151 std::vector<std::shared_ptr<Vector3f>> seeds;
152 std::string varying;
153 double width;
155 };
156
158 {
159 public:
161
162 std::vector<std::shared_ptr<Vector3f>> seeds;
163 };
164
166 {
167 public:
168 enum class SolidType {
169 None,
170 Box,
171 Sphere,
172 Cylinder,
173 Line,
174 Plane,
175 Disk,
176 };
177
179
181 std::shared_ptr<Matrix4f> transform;
182 };
183
185 {
186 public:
187 enum class SolidType {
188 None,
189 Box,
190 Sphere,
191 Cylinder,
192 Line,
193 Plane,
194 Disk,
195 };
196
198
200 std::shared_ptr<Matrix4f> transform;
201 };
202
204 {
205 public:
207 };
208}
Definition parameters.h:69
std::shared_ptr< Vector3f > normal
Definition parameters.h:74
std::shared_ptr< Vector3f > origin
Definition parameters.h:73
Definition parameters.h:87
float value
Definition parameters.h:92
std::string name
Definition parameters.h:91
Definition parameters.h:78
std::shared_ptr< Vector3f > origin
Definition parameters.h:82
std::shared_ptr< Vector3f > normal
Definition parameters.h:83
Definition parameters.h:60
std::shared_ptr< Vector3f > normal
Definition parameters.h:65
std::shared_ptr< Vector3f > origin
Definition parameters.h:64
Definition parameters.h:185
SolidType
Definition parameters.h:187
std::shared_ptr< Matrix4f > transform
Definition parameters.h:200
SolidType solidType
Definition parameters.h:199
Definition parameters.h:39
Definition parameters.h:105
std::shared_ptr< MinMax > range
Definition parameters.h:110
std::string name
Definition parameters.h:109
Definition parameters.h:27
virtual ~Parameters()
const std::string & type() const
std::string m_type
Definition parameters.h:29
Definition parameters.h:204
Definition parameters.h:158
std::vector< std::shared_ptr< Vector3f > > seeds
Definition parameters.h:162
Definition parameters.h:45
Definition parameters.h:146
std::string name
Definition parameters.h:150
std::string varying
Definition parameters.h:152
double width
Definition parameters.h:153
std::vector< std::shared_ptr< Vector3f > > seeds
Definition parameters.h:151
double lengthUnit
Definition parameters.h:154
Definition parameters.h:51
std::shared_ptr< Vector3f > normal
Definition parameters.h:56
std::shared_ptr< Vector3f > origin
Definition parameters.h:55
Definition parameters.h:166
std::shared_ptr< Matrix4f > transform
Definition parameters.h:181
SolidType solidType
Definition parameters.h:180
SolidType
Definition parameters.h:168
Definition parameters.h:124
std::string name
Definition parameters.h:128
double lengthUnit
Definition parameters.h:130
std::vector< std::shared_ptr< Vector3f > > seeds
Definition parameters.h:129
Definition parameters.h:114
std::string name
Definition parameters.h:118
double lengthUnit
Definition parameters.h:120
std::vector< std::shared_ptr< Vector3f > > seeds
Definition parameters.h:119
Definition parameters.h:96
std::shared_ptr< MinMax > range
Definition parameters.h:101
std::string name
Definition parameters.h:100
Definition parameters.h:134
double lengthUnit
Definition parameters.h:142
std::string varying
Definition parameters.h:140
double radius
Definition parameters.h:141
std::vector< std::shared_ptr< Vector3f > > seeds
Definition parameters.h:139
std::string name
Definition parameters.h:138
Definition decal.h:23