Cumulia Illustrator Rendering Engine v1.0.0
A Rendering engine for industrial CAD/CAE model and optimized for greatest performance
 
Loading...
Searching...
No Matches
model.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 <memory>
21
22#include <cilcore.h>
23
24namespace cil
25{
26 class ResultGroup;
27 class Part;
28 class DataObject;
29
30 class Model : public std::vector<std::shared_ptr<Part>>
31 {
32 private:
33 int m_nPointSize;
34 int m_nCellSize;
35 std::shared_ptr<BoundingBox> m_boundingBox;
36 std::shared_ptr<ResultGroup> m_scalars;
37 std::shared_ptr<ResultGroup> m_vectors;
38 std::shared_ptr<DataObject> m_dataObject;
39 double m_time;
40
41 void parse();
42
43 public:
45
46 const std::shared_ptr<DataObject>& dataObject() const;
47 void setDataObject(const std::shared_ptr<DataObject>& dataObject);
48
49 double time() const;
50 void setTime(double time);
51
52 const int pointSize() const;
53 const int cellSize() const;
54 const std::shared_ptr<ResultGroup>& scalars() const;
55 const std::shared_ptr<ResultGroup>& vectors() const;
56 const std::shared_ptr<BoundingBox>& boundingBox() const;
57 };
58}
Definition model.h:31
void setTime(double time)
const std::shared_ptr< BoundingBox > & boundingBox() const
const int cellSize() const
const std::shared_ptr< ResultGroup > & scalars() const
const std::shared_ptr< DataObject > & dataObject() const
double time() const
void setDataObject(const std::shared_ptr< DataObject > &dataObject)
const int pointSize() const
const std::shared_ptr< ResultGroup > & vectors() const
Definition decal.h:23