Configurable Class Reference

Configurable components. More...

#include <configurable.h>

Inheritance diagram for Configurable:
Component SIMDAlignedType Accel Renderer Accel_BVH Accel_BVHSAH Accel_BVHSAHBin Accel_BVHSAHXYZ Accel_Naive Accel_NanoRT Accel_QBVH Renderer_BDPT Renderer_LT Renderer_LTDirect Renderer_Null Renderer_PT Renderer_PTDirect Renderer_Raycast Renderer_RaycastPixel Renderer_SampleDensity Renderer_SampleDensity2

Public Member Functions

 LM_INTERFACE_CLASS (Configurable, Component, 1)
 
 LM_DISABLE_COPY_AND_MOVE (Configurable)
 
 LM_INTERFACE_F (0, Initialize, bool(const PropertyNode *prop))
 Initialize the configurable component. More...
 
- Public Member Functions inherited from SIMDAlignedType
void * operator new (std::size_t size) throw (std::bad_alloc)
 
void operator delete (void *p)
 

Detailed Description

Configurable components.

Component with initialized with user defined types and properties. The configurable component has same format in the scene configuration file:

component_name: type: component_type params: param_1: ... param_2: ... ...

Member Function Documentation

Configurable::LM_INTERFACE_F ( ,
Initialize  ,
bool(const PropertyNode *prop)   
)

Initialize the configurable component.

Initializes the component with the parameters specified by the property node prop.

prop The propery node pointing to params node.

Return values
trueSucceeded to initialize.
falseFailed to initialize.