Cumulia Illustrator Rendering Engine v1.0.0
A Rendering engine for industrial CAD/CAE model and optimized for greatest performance
 
Loading...
Searching...
No Matches
part.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 <vector>
21#include <memory>
22
23#include <cilcore.h>
24
25namespace cil
26{
27 class ResultGroup;
28 class DataSet;
29
30 class Part
31 {
32 private:
33 std::string m_strName;
34 int m_nId;
35
36 std::shared_ptr<BoundingBox> m_boundingBox;
37 std::shared_ptr<ResultGroup> m_scalars;
38 std::shared_ptr<ResultGroup> m_vectors;
39 std::shared_ptr<DataSet> m_dataSet;
40
41 void parse();
42 void parseBoundingBox();
43
44 public:
46
47 int id() const;
48 void setId(int nId);
49 const std::string& name() const;
50 void setName(const std::string& strName);
51 const int type() const;
52 const std::shared_ptr<DataSet>& dataSet() const;
53 void setDataSet(const std::shared_ptr<DataSet>& dataSet);
54
55 const int pointSize() const;
56 const int cellSize() const;
57 const std::shared_ptr<ResultGroup>& scalars() const;
58 const std::shared_ptr<ResultGroup>& vectors() const;
59 const std::shared_ptr<BoundingBox>& boundingBox() const;
60 };
61}
Definition part.h:31
const std::shared_ptr< ResultGroup > & scalars() const
const int type() const
const int cellSize() const
const int pointSize() const
const std::shared_ptr< ResultGroup > & vectors() const
int id() const
const std::string & name() const
const std::shared_ptr< DataSet > & dataSet() const
void setId(int nId)
void setDataSet(const std::shared_ptr< DataSet > &dataSet)
const std::shared_ptr< BoundingBox > & boundingBox() const
void setName(const std::string &strName)
Definition decal.h:23