Radium Engine  1.5.20
Loading...
Searching...
No Matches
Ra::Engine::Scene Namespace Reference

Scene and how to communicate. More...

Classes

class  BaseCouplingSystem
 
class  CameraComponent
 
class  CameraManager
 
class  CameraStorage
 
class  Component
 A component is an element that can be updated by a system. It is also linked to some other components in an entity. Each component share a transform through their entity. More...
 
class  ComponentMessenger
 
class  DebugComponent
 Component for debug drawing. More...
 
class  DefaultCameraManager
 DefaultCameraManager. A simple Camera Manager with a list of Cameras. More...
 
class  DefaultCameraStorage
 
class  DefaultLightManager
 DefaultLightManager. A simple Light Manager with a list of lights. More...
 
class  DefaultLightStorage
 
class  DirectionalLight
 
class  Entity
 An entity is an scene element. It ties together components with a transform. More...
 
class  GeometryComponent
 Abstract interface of a geometric compoennet in the Engine. More...
 
struct  ItemEntry
 
class  Light
 
class  LightManager
 
class  LightStorage
 
class  PointCloudComponent
 
class  PointLight
 
class  SignalManager
 
class  SkeletonBasedAnimationSystem
 
class  SkeletonComponent
 
class  SkinningComponent
 The SkinningComponent class is responsible for applying Geometric Skinning Methods on an animated object's mesh. More...
 
class  SpotLight
 
class  SurfaceMeshComponent
 Main class to convert Ra::Core::Asset::GeometryData to Ra::Engine::Mesh. More...
 
class  System
 
class  SystemEntity
 
class  UiComponent
 Component for UI drawing. More...
 
class  VolumeComponent
 Main class to convert Ra::Core::Asset::VolumeData to Ra::Engine::VolumeObject. More...
 

Typedefs

using TriangleMeshComponent = SurfaceMeshComponent<Ra::Core::Geometry::TriangleMesh>
 
using LineMeshComponent = SurfaceMeshComponent<Ra::Core::Geometry::LineMesh>
 
using QuadMeshComponent = SurfaceMeshComponent<Ra::Core::Geometry::QuadMesh>
 
using PolyMeshComponent = SurfaceMeshComponent<Ra::Core::Geometry::PolyMesh>
 

Functions

 RA_SINGLETON_IMPLEMENTATION (ComponentMessenger)
 
std::string getEntryName (const Engine::RadiumEngine *engine, const ItemEntry &ent)
 Returns the name associated to the given item.
 
std::vector< Ra::Core::Utils::Index > getItemROs (const Engine::RadiumEngine *, const ItemEntry &ent)
 
Core::Geometry::TriangleMesh makeBoneShape ()
 
TriangleMesh triangulate (const PolyMesh &polyMesh)
 
TriangleMesh triangulate (const QuadMesh &quadMesh)
 
 RA_SINGLETON_IMPLEMENTATION (SystemEntity)
 

Variables

static const std::string tangentName
 
static const std::string bitangentName
 

Detailed Description

Scene and how to communicate.

Typedef Documentation

◆ LineMeshComponent

using Ra::Engine::Scene::LineMeshComponent = SurfaceMeshComponent<Ra::Core::Geometry::LineMesh>

Definition at line 118 of file GeometryComponent.hpp.

◆ PolyMeshComponent

using Ra::Engine::Scene::PolyMeshComponent = SurfaceMeshComponent<Ra::Core::Geometry::PolyMesh>

Definition at line 120 of file GeometryComponent.hpp.

◆ QuadMeshComponent

using Ra::Engine::Scene::QuadMeshComponent = SurfaceMeshComponent<Ra::Core::Geometry::QuadMesh>

Definition at line 119 of file GeometryComponent.hpp.

◆ TriangleMeshComponent

using Ra::Engine::Scene::TriangleMeshComponent = SurfaceMeshComponent<Ra::Core::Geometry::TriangleMesh>

Definition at line 117 of file GeometryComponent.hpp.

Function Documentation

◆ getEntryName()

RA_ENGINE_API std::string Ra::Engine::Scene::getEntryName ( const Engine::RadiumEngine * engine,
const ItemEntry & ent )

Returns the name associated to the given item.

Definition at line 16 of file ItemEntry.cpp.

+ Here is the call graph for this function:

◆ getItemROs()

RA_ENGINE_API std::vector< Ra::Core::Utils::Index > Ra::Engine::Scene::getItemROs ( const Engine::RadiumEngine * engine,
const ItemEntry & ent )

Returns a list of all the render object indices belonging to the given item. RO item : it returns only the RO index. Component item : it returns all its ROs. Entity item : all ROs from all compoents of given entity.

Definition at line 27 of file ItemEntry.cpp.

+ Here is the call graph for this function:

◆ makeBoneShape()

Core::Geometry::TriangleMesh Ra::Engine::Scene::makeBoneShape ( )

Definition at line 265 of file SkeletonComponent.cpp.

◆ triangulate() [1/2]

TriangleMesh Ra::Engine::Scene::triangulate ( const PolyMesh & polyMesh)

Definition at line 43 of file SkinningComponent.cpp.

◆ triangulate() [2/2]

TriangleMesh Ra::Engine::Scene::triangulate ( const QuadMesh & quadMesh)

Definition at line 71 of file SkinningComponent.cpp.

Variable Documentation

◆ bitangentName

const std::string Ra::Engine::Scene::bitangentName
static
Initial value:
=
Ra::Core::Geometry::getAttribName( Ra::Core::Geometry::VERTEX_BITANGENT )

Definition at line 40 of file SkinningComponent.cpp.

◆ tangentName

const std::string Ra::Engine::Scene::tangentName
static
Initial value:
=
Ra::Core::Geometry::getAttribName( Ra::Core::Geometry::VERTEX_TANGENT )

Definition at line 38 of file SkinningComponent.cpp.