Cumulia Illustrator Rendering Engine v1.0.0
A Rendering engine for industrial CAD/CAE model and optimized for greatest performance
 
Loading...
Searching...
No Matches
scene.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 "pass.h"
21#include "../variant/box.h"
22#include "../object/object.h"
23
24#include <memory>
25#include <string>
26#include <vector>
27
28namespace cil
29{
31 class Scene : public Object
32 {
33 public:
34 std::string name;
35 std::shared_ptr<BoundingBox> boundingBox;
36 std::shared_ptr<std::vector<std::shared_ptr<Pass>>> passes;
37 };
38
39 std::shared_ptr<BoundingBox> getBoundingBox(const std::shared_ptr<Scene>& scene);
40}
Definition object.h:23
The Scene class represents a complete 3D scene.
Definition scene.h:32
std::shared_ptr< std::vector< std::shared_ptr< Pass > > > passes
This memeber is a dynamic array of shared pointers to Pass objects, and it allows the scene to define...
Definition scene.h:36
std::shared_ptr< BoundingBox > boundingBox
This memeber holds a shared pointer to a BoundingBox object, and is used to represent the overall bou...
Definition scene.h:35
std::string name
This memeber stores the name of the pass.
Definition scene.h:34
Definition decal.h:23
std::shared_ptr< BoundingBox > getBoundingBox(const std::shared_ptr< Geometry > &geometry, const std::string &attribName="positions")