Cumulia Illustrator Rendering Engine v1.0.0
A Rendering engine for industrial CAD/CAE model and optimized for greatest performance
 
Loading...
Searching...
No Matches
exploder.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 <cilcore.h>
21
22#include "transformpath.h"
23
24namespace cil
25{
27 {
28 private:
29 std::shared_ptr<TransformPath> m_path;
30 std::map<std::shared_ptr<Node>, Matrix4f> m_exploded;
31
32 public:
34
35 void add(const std::shared_ptr<Node>& node);
36 void remove(const std::shared_ptr<Node>& node);
37 void clear();
38 std::vector<std::shared_ptr<Node>> list();
39
40 void setPath(const std::shared_ptr<TransformPath>& path);
41 const std::shared_ptr<TransformPath>& path();
42
43 void update(float factor);
44 };
45
46 std::shared_ptr<Exploder> _exploder();
47}
Definition exploder.h:27
std::vector< std::shared_ptr< Node > > list()
const std::shared_ptr< TransformPath > & path()
void setPath(const std::shared_ptr< TransformPath > &path)
void remove(const std::shared_ptr< Node > &node)
void add(const std::shared_ptr< Node > &node)
void update(float factor)
The Matrix4f class is 4 X 4 matrix.
Definition matrix.h:226
Definition decal.h:23
std::shared_ptr< Exploder > _exploder()