Cumulia Illustrator Rendering Engine v2.1.0
A Rendering engine for industrial CAD/CAE model and optimized for greatest performance
 
Loading...
Searching...
No Matches
decals.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 <cilcore.h>
21
22namespace cil
23{
24 class Decal;
25
26 class Decals : public Node
27 {
28 public:
30 virtual ~Decals();
31
32 void add(const std::shared_ptr<Decal>& decal);
33 void remove(const std::shared_ptr<Decal>& decal);
34 void clear();
35 std::shared_ptr<Decal> hit(const Vector2i& coord, const std::shared_ptr<Background>& background, const std::shared_ptr<Camera>& camera, float devicePixelRatio);
36 };
37
38 std::shared_ptr<Decals> _decals();
39}
Definition decals.h:27
void clear()
virtual ~Decals()
std::shared_ptr< Decal > hit(const Vector2i &coord, const std::shared_ptr< Background > &background, const std::shared_ptr< Camera > &camera, float devicePixelRatio)
void remove(const std::shared_ptr< Decal > &decal)
void add(const std::shared_ptr< Decal > &decal)
The Node class represents a node in a scene graph. A scene graph is a hierarchicaldata stucture used ...
Definition node.h:31
The class Vector2i inherits from the templated class of Vector2, and the template parameters are spec...
Definition vector.h:255
Definition decal.h:23
std::shared_ptr< Decals > _decals()