17 #ifndef GZ_RENDERING_BASE_BASESCENE_HH_
18 #define GZ_RENDERING_BASE_BASESCENE_HH_
24 #include <gz/common/Console.hh>
25 #include <gz/utils/SuppressWarning.hh>
35 inline namespace GZ_RENDERING_VERSION_NAMESPACE {
38 GZ_UTILS_WARN_IGNORE__DLL_INTERFACE_MISSING
40 GZ_UTILS_WARN_RESUME__DLL_INTERFACE_MISSING
47 public:
virtual void Load()
override;
49 public:
virtual void Init()
override;
51 public:
virtual void Fini()
override;
57 public:
virtual unsigned int Id()
const override;
61 public:
virtual std::chrono::steady_clock::duration
Time()
65 const std::chrono::steady_clock::duration &_time)
override;
68 double _a = 1.0)
override;
76 double _a = 1.0)
override;
102 public:
virtual unsigned int NodeCount()
const override;
106 public:
virtual bool HasNodeId(
unsigned int _id)
const override;
133 public:
virtual bool HasLightId(
unsigned int _id)
const override;
147 bool _recursive =
false)
override;
162 public:
virtual bool HasSensorId(
unsigned int _id)
const override;
177 bool _recursive =
false)
override;
192 public:
virtual bool HasVisualId(
unsigned int _id)
const override;
211 bool _recursive =
false)
override;
245 unsigned int _id)
override;
251 unsigned int _id,
const std::string &_name)
override;
326 const unsigned int _id)
override;
334 const unsigned int _id,
const std::string &_name)
override;
341 const unsigned int _id)
override;
349 const unsigned int _id,
const std::string &_name)
override;
356 const unsigned int _id)
override;
364 const unsigned int _id,
const std::string &_name)
override;
371 const unsigned int _id)
override;
379 const unsigned int _id,
const std::string &_name)
override;
530 unsigned int _id)
override;
576 unsigned int _id,
const std::string &_name)
override;
591 unsigned int _id,
const std::string &_name)
override;
599 unsigned int _id)
override;
607 unsigned int _id,
const std::string &_name)
override;
615 unsigned int _id)
override;
623 unsigned int _id,
const std::string &_name)
override;
637 public:
virtual void Clear()
override;
646 uint8_t _numPass)
override;
689 gzerr <<
"Thermal camera not supported by: "
704 gzerr <<
"BoundingBox camera not supported by: "
720 gzerr <<
"Segmentation camera not supported by: "
736 gzerr <<
"Wide angle camera not supported by: "
749 gzerr <<
"GpuRays not supported by: "
771 gzerr <<
"GizmoVisual not supported by: "
872 gzerr <<
"ParticleEmitter not supported by: "
886 gzerr <<
"Projector not supported by: "
901 gzerr <<
"GlobalIlluminationVct not supported by: "
916 gzerr <<
"GlobalIlluminationCiVct not supported by: "
933 private:
virtual void CreateNodeStore();
935 private:
virtual void CreateMaterials();
942 private:
void DestroyNodeRecursive(
NodePtr _node,
945 protected:
unsigned int id;
947 GZ_UTILS_WARN_IGNORE__DLL_INTERFACE_MISSING
949 GZ_UTILS_WARN_RESUME__DLL_INTERFACE_MISSING
951 protected: std::chrono::steady_clock::duration time =
952 std::chrono::steady_clock::duration::zero();
971 protected:
bool isGradientBackgroundColor =
false;
976 private:
unsigned int nextObjectId;
978 GZ_UTILS_WARN_IGNORE__DLL_INTERFACE_MISSING
980 GZ_UTILS_WARN_RESUME__DLL_INTERFACE_MISSING