LightsprintSDK 2021.08.08
rr::RRLights Class Reference

#include <RRLight.h>

Inheritance diagram for rr::RRLights:
rr::RRVector< RRLight * >

Public Member Functions

virtual ~RRLights ()
 
- Public Member Functions inherited from rr::RRVector< RRLight * >
 RRVector ()
 
 RRVector (const RRVector &a)
 
RRVectoroperator= (const RRVector &a)
 
void resize (unsigned newSize, RRLight * initial=RRLight *())
 
void push_back (RRLight * a)
 
void pop_back ()
 
void erase (RRLight * *e)
 
size_t size () const
 
RRLight * & operator[] (unsigned i)
 
const RRLight * & operator[] (unsigned i) const
 
void clear ()
 
RRLight * * begin ()
 
const RRLight * * begin () const
 
RRLight * * end ()
 
const RRLight * * end () const
 
void insert (RRLight * *_where, const RRLight * *_first, const RRLight * *_last)
 
bool operator== (const RRVector< RRLight * > &a) const
 
bool operator!= (const RRVector< RRLight * > &a) const
 
 ~RRVector ()
 

Additional Inherited Members

- Protected Attributes inherited from rr::RRVector< RRLight * >
RRLight * * c
 
unsigned numAllocated
 
unsigned numUsed
 

Detailed Description

Set of lights with interface similar to std::vector.

This is usual product of adapter that creates Lightsprint interface for external 3d scene. You may use it for example to

  • send it to RRSolver and calculate global illumination
  • manipulate this set before sending it to RRSolver, e.g. remove moving lights

Constructor & Destructor Documentation

◆ ~RRLights()

virtual rr::RRLights::~RRLights ( )
inlinevirtual