Cumulia Illustrator Rendering Engine v2.1.0
A Rendering engine for industrial CAD/CAE model and optimized for greatest performance
 
Loading...
Searching...
No Matches
datamodel.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 <memory>
21
22#include <cilcore.h>
23
24#include "datascalar.h"
25#include "datavector.h"
26#include "types.h"
27
28namespace cil
29{
30 class DataObject;
31
33 {
34 private:
35 void load(const std::shared_ptr<DataObject>& dataObject);
36 void free();
37
38 bool m_loaded;
39
40 public:
42 DataModel(const std::shared_ptr<DataObject>& dataObject);
43
44 const bool loaded() const;
45
46 double time;
47 //double access;
48
51 unsigned long memorySize;
54 std::shared_ptr<BoundingBox> boundingBox;
55
56 friend class DataSolution;
57 };
58}
Definition datamodel.h:33
unsigned long memorySize
Definition datamodel.h:51
int cellSize
Definition datamodel.h:50
DataScalarMap dataScalars
Definition datamodel.h:52
int pointSize
Definition datamodel.h:49
DataModel(const std::shared_ptr< DataObject > &dataObject)
std::shared_ptr< BoundingBox > boundingBox
Definition datamodel.h:54
DataVectorMap dataVectors
Definition datamodel.h:53
double time
Definition datamodel.h:46
const bool loaded() const
Definition datascalar.h:28
Definition datasolution.h:35
Definition datavector.h:28
Definition decal.h:23
std::vector< DataPartPtr > DataPartPtrArray
Definition types.h:35