gz/rendering/base/BaseScene.hh
virtual PointLightPtr CreatePointLightImpl(unsigned int _id, const std::string &_name)=0
virtual void DestroyLight(LightPtr _light, bool _recursive=false) override
virtual void DestroyVisualByIndex(unsigned int _index) override
virtual MaterialPtr Material(const std::string &_name) const override
virtual SensorStorePtr Sensors() const =0
virtual AxisVisualPtr CreateAxisVisual() override
virtual SensorPtr SensorById(unsigned int _id) const override
virtual MaterialMapPtr Materials() const =0
shared_ptr< GpuRays > GpuRaysPtr
Shared pointer to GpuRays.
Definition: gz/rendering/RenderTypes.hh:107
STL class.
#define IGN_COMMON_WARN_IGNORE__DLL_INTERFACE_MISSING
virtual math::Color BackgroundColor() const override
virtual GeometryPtr CreateConeImpl(unsigned int _id, const std::string &_name)=0
virtual RayQueryPtr CreateRayQuery() override
virtual void DestroyNodeByIndex(unsigned int _index) override
virtual SensorPtr SensorByIndex(unsigned int _index) const override
Describes how a Mesh should be loaded.
Definition: gz/rendering/MeshDescriptor.hh:44
virtual MaterialPtr CreateMaterialImpl(unsigned int _id, const std::string &_name)=0
virtual std::string Name() const override
virtual bool HasLightName(const std::string &_name) const override
virtual SensorPtr SensorByName(const std::string &_name) const override
virtual void DestroySensor(SensorPtr _sensor, bool _recursive=false) override
virtual bool RegisterVisual(VisualPtr _visual)
virtual VisualPtr CreateVisual() override
virtual GeometryPtr CreatePlane() override
virtual bool HasSensor(ConstSensorPtr _sensor) const override
virtual void RegisterMaterial(const std::string &_name, MaterialPtr _material) override
virtual bool IsGradientBackgroundColor() const override
virtual RenderTexturePtr CreateRenderTexture() override
virtual bool HasSensorId(unsigned int _id) const override
virtual unsigned int Id() const override
virtual RenderTexturePtr CreateRenderTextureImpl(unsigned int _id, const std::string &_name)=0
virtual LightPtr LightByName(const std::string &_name) const override
virtual RayQueryPtr CreateRayQueryImpl(unsigned int _id, const std::string &_name)=0
virtual void DestroyNode(NodePtr _node, bool _recursive=false) override
virtual unsigned int VisualCount() const override
virtual bool HasLightId(unsigned int _id) const override
virtual void DestroyNodes() override
virtual void DestroySensors() override
virtual NodePtr NodeByIndex(unsigned int _index) const override
virtual GizmoVisualPtr CreateGizmoVisual() override
virtual VisualPtr VisualAt(const CameraPtr &_camera, const gz::math::Vector2i &_mousePos) override
virtual void Load() override
virtual TextPtr CreateText() override
virtual DirectionalLightPtr CreateDirectionalLightImpl(unsigned int _id, const std::string &_name)=0
virtual GeometryPtr CreateBox() override
virtual void DestroyLightByName(const std::string &_name) override
virtual bool HasLight(ConstLightPtr _light) const override
virtual DepthCameraPtr CreateDepthCamera() override
virtual void SetGradientBackgroundColor(const std::array< math::Color, 4 > &_colors) override
virtual RenderWindowPtr CreateRenderWindowImpl(unsigned int _id, const std::string &_name)=0
Render engine specific implementation for creating a render window.
virtual bool HasNode(ConstNodePtr _node) const override
virtual TextPtr CreateTextImpl(unsigned int _id, const std::string &_name)
Implementation for creating a text's geometry object.
virtual GeometryPtr CreateCylinder() override
#define ignerr
virtual unsigned int NodeCount() const override
virtual bool HasNodeName(const std::string &_name) const override
virtual MarkerPtr CreateMarker() override
Manages a single scene-graph. This class updates scene-wide properties and holds the root scene node....
Definition: gz/rendering/Scene.hh:48
virtual SpotLightPtr CreateSpotLightImpl(unsigned int _id, const std::string &_name)=0
virtual void DestroyVisualByName(const std::string &_name) override
virtual bool IsInitialized() const override
virtual std::array< math::Color, 4 > GradientBackgroundColor() const override
virtual bool RegisterLight(LightPtr _light)
virtual GeometryPtr CreateSphere() override
virtual void Fini() override
virtual LightPtr LightByIndex(unsigned int _index) const override
virtual std::string CreateObjectName(unsigned int _id, const std::string &_prefix)
virtual void Clear() override
virtual GeometryPtr CreateCone() override
virtual void DestroySensorByName(const std::string &_name) override
virtual common::Time SimTime() const override
virtual NodePtr NodeById(unsigned int _id) const override
virtual unsigned int CreateObjectId()
virtual LightPtr LightById(unsigned int _id) const override
virtual MeshPtr CreateMeshImpl(unsigned int _id, const std::string &_name, const MeshDescriptor &_desc)=0
virtual VisualPtr VisualByName(const std::string &_name) const override
virtual LightStorePtr Lights() const =0
virtual GeometryPtr CreatePlaneImpl(unsigned int _id, const std::string &_name)=0
virtual void UnregisterMaterials() override
STL class.
common::Time simTime
Definition: gz/rendering/base/BaseScene.hh:566
virtual void DestroyLightById(unsigned int _id) override
math::Color backgroundColor
Scene background color. Default should be black.
Definition: gz/rendering/base/BaseScene.hh:573
virtual bool LoadImpl()=0
virtual void DestroyNodeById(unsigned int _id) override
virtual DirectionalLightPtr CreateDirectionalLight() override
virtual unsigned int LightCount() const override
virtual void DestroyLights() override
virtual GpuRaysPtr CreateGpuRays() override
virtual bool HasVisual(ConstVisualPtr _visual) const override
virtual void DestroyVisualById(unsigned int _id) override
shared_ptr< GizmoVisual > GizmoVisualPtr
Shared pointer to GizmoVisual.
Definition: gz/rendering/RenderTypes.hh:123
virtual void DestroyMaterials() override
virtual void DestroyVisual(VisualPtr _visual, bool _recursive=false) override
virtual ArrowVisualPtr CreateArrowVisualImpl(unsigned int _id, const std::string &_name)=0
virtual VisualStorePtr Visuals() const =0
virtual void SetAmbientLight(double _r, double _g, double _b, double _a=1.0) override
virtual void DestroyNodeByName(const std::string &_name) override
virtual void Init() override
virtual CameraPtr CreateCamera() override
virtual void DestroyMaterial(MaterialPtr _material) override
virtual GpuRaysPtr CreateGpuRaysImpl(unsigned int _id, const std::string &_name)
Implementation for creating GpuRays sensor.
Definition: gz/rendering/base/BaseScene.hh:447
shared_ptr< ThermalCamera > ThermalCameraPtr
Shared pointer to ThermalCamera.
Definition: gz/rendering/RenderTypes.hh:103
virtual PointLightPtr CreatePointLight() override
virtual bool HasNodeId(unsigned int _id) const override
virtual void Destroy() override
virtual ThermalCameraPtr CreateThermalCamera() override
virtual GeometryPtr CreateBoxImpl(unsigned int _id, const std::string &_name)=0
T endl(T... args)
Definition: gz/rendering/base/BaseScene.hh:37
virtual CameraPtr CreateCameraImpl(unsigned int _id, const std::string &_name)=0
virtual SpotLightPtr CreateSpotLight() override
virtual bool MaterialRegistered(const std::string &_name) const override
virtual void DestroyLightByIndex(unsigned int _index) override
virtual bool HasVisualId(unsigned int _id) const override
virtual VisualPtr VisualById(unsigned int _id) const override
virtual AxisVisualPtr CreateAxisVisualImpl(unsigned int _id, const std::string &_name)=0
virtual void DestroySensorById(unsigned int _id) override
virtual void DestroyVisuals() override
bool initialized
Definition: gz/rendering/base/BaseScene.hh:570
BaseScene(unsigned int _id, const std::string &_name)
virtual NodePtr NodeByName(const std::string &_name) const override
virtual ~BaseScene()
virtual bool HasVisualName(const std::string &_name) const override
virtual MeshPtr CreateMesh(const std::string &_meshName) override
virtual GridPtr CreateGrid() override
virtual bool IsLoaded() const
virtual GizmoVisualPtr CreateGizmoVisualImpl(unsigned int _id, const std::string &_name)
Implementation for creating a GizmoVisual.
Definition: gz/rendering/base/BaseScene.hh:469
virtual void DestroySensorByIndex(unsigned int _index) override
virtual ArrowVisualPtr CreateArrowVisual() override
virtual ThermalCameraPtr CreateThermalCameraImpl(unsigned int _id, const std::string &_name)
Implementation for creating a thermal camera.
Definition: gz/rendering/base/BaseScene.hh:433
virtual void SetBackgroundColor(double _r, double _g, double _b, double _a=1.0) override
std::array< math::Color, 4 > gradientBackgroundColor
The four corners of the gradient background color. Next is the description of how to interpret each v...
Definition: gz/rendering/base/BaseScene.hh:582
virtual DepthCameraPtr CreateDepthCameraImpl(unsigned int _id, const std::string &_name)=0
virtual GridPtr CreateGridImpl(unsigned int _id, const std::string &_name)=0
Implementation for creating a grid geometry object.
virtual bool InitImpl()=0
virtual RenderWindowPtr CreateRenderWindow() override
virtual unsigned int SensorCount() const override
virtual void UnregisterMaterial(const std::string &_name) override
Represents a surface material of a Geometry.
Definition: gz/rendering/Material.hh:47
virtual GeometryPtr CreateSphereImpl(unsigned int _id, const std::string &_name)=0
virtual bool HasSensorName(const std::string &_name) const override
virtual VisualPtr CreateVisualImpl(unsigned int _id, const std::string &_name)=0
virtual MaterialPtr CreateMaterial(const std::string &_name="") override
STL class.
virtual void PreRender() override
virtual bool RegisterSensor(SensorPtr _vensor)
virtual void SetSimTime(const common::Time &_time) override
virtual GeometryPtr CreateCylinderImpl(unsigned int _id, const std::string &_name)=0
virtual VisualPtr VisualByIndex(unsigned int _index) const override
virtual MarkerPtr CreateMarkerImpl(unsigned int _id, const std::string &_name)=0
Implementation for creating a marker geometry object.
#define IGN_COMMON_WARN_RESUME__DLL_INTERFACE_MISSING
bool isGradientBackgroundColor
Whether the scene has a gradient background.
Definition: gz/rendering/base/BaseScene.hh:585
virtual void RemoveGradientBackgroundColor() override