Cumulia Illustrator Rendering Engine v1.0.0
A Rendering engine for industrial CAD/CAE model and optimized for greatest performance
 
Loading...
Searching...
No Matches
settings.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-05-01
15// Version V1.0.0
16//##################################################################################################
17
18#pragma once
19
20#include <map>
21#include <memory>
22#include <string>
23
24#include <cilcore.h>
25
26namespace cil
27{
28 class Solution;
29 class ScalarData;
30 class VectorData;
31
33 {
34 public:
36
37 void initialize(const std::shared_ptr<Solution>& solution);
38 void update(const std::shared_ptr<Solution>& solution);
39
40 std::map<std::string, std::shared_ptr<ScalarData>> scalarDataSet;
41 std::map<std::string, std::shared_ptr<VectorData>> vectorDataSet;
42 std::shared_ptr<BoundingBox> boundingBox;
43 std::shared_ptr<Color3f> lineColor;
44 std::shared_ptr<Color3f> grilleColor;
45 std::shared_ptr<Real> grilleWidth;
48 std::shared_ptr<Real> sphereSize;
49 std::shared_ptr<Real> cloudSphereRadius;
50 std::shared_ptr<Real> tracerRibbonWidth;
51 std::shared_ptr<Real> ribbonWidth;
52 std::shared_ptr<Real> blockWidth;
53 std::shared_ptr<Real> tracerLineWidth;
56 std::string defaultScalar;
57 std::string defaultVector;
58 std::shared_ptr<Real> opacity;
59 std::shared_ptr<Real> currentTime;
60 std::shared_ptr<Real> ribbonLength;
61 std::shared_ptr<Integer> strips;
62 std::shared_ptr<Real> blockDensity;
63 std::shared_ptr<Real> blockGap;
64 };
65}
Definition settings.h:33
std::shared_ptr< Real > tracerRibbonWidth
Definition settings.h:50
std::shared_ptr< Real > cloudSphereRadius
Definition settings.h:49
std::shared_ptr< Real > blockWidth
Definition settings.h:52
std::shared_ptr< Real > ribbonWidth
Definition settings.h:51
std::shared_ptr< Real > tracerLineWidth
Definition settings.h:53
bool fixedVectorLength
Definition settings.h:55
std::shared_ptr< Real > blockGap
Definition settings.h:63
std::shared_ptr< Real > opacity
Definition settings.h:58
std::shared_ptr< BoundingBox > boundingBox
Definition settings.h:42
std::shared_ptr< Integer > strips
Definition settings.h:61
std::shared_ptr< Real > ribbonLength
Definition settings.h:60
void initialize(const std::shared_ptr< Solution > &solution)
std::string defaultScalar
Definition settings.h:56
std::string defaultVector
Definition settings.h:57
std::shared_ptr< Color3f > grilleColor
Definition settings.h:44
bool fixedSphereSize
Definition settings.h:54
std::map< std::string, std::shared_ptr< ScalarData > > scalarDataSet
Definition settings.h:40
std::shared_ptr< Real > sphereSize
Definition settings.h:48
float maximiumOffsetLength
Definition settings.h:46
std::shared_ptr< Real > blockDensity
Definition settings.h:62
float maximiumVectorLength
Definition settings.h:47
std::shared_ptr< Color3f > lineColor
Definition settings.h:43
std::map< std::string, std::shared_ptr< VectorData > > vectorDataSet
Definition settings.h:41
void update(const std::shared_ptr< Solution > &solution)
std::shared_ptr< Real > currentTime
Definition settings.h:59
std::shared_ptr< Real > grilleWidth
Definition settings.h:45
Definition decal.h:23