Cumulia Illustrator Rendering Engine v1.1.0
A Rendering engine for industrial CAD/CAE model and optimized for greatest performance
 
Loading...
Searching...
No Matches
cil::Float32Array Class Referencefinal

#include <typedarray.h>

Inheritance diagram for cil::Float32Array:
cil::TypedArray< float > cil::ArrayBuffer cil::Variant

Public Member Functions

 Float32Array (int size=0, float *data=nullptr, bool copy=true)
 
 Float32Array (const std::initializer_list< float > &array)
 
- Public Member Functions inherited from cil::TypedArray< float >
 TypedArray ()
 
virtual ~TypedArray ()
 
const float & operator[] (int index) const
 
float & operator[] (int index)
 
void set (int size, float *data=nullptr, bool copy=true)
 
void clear ()
 
int size () const
 
float * data ()
 
const float * data () const
 
- Public Member Functions inherited from cil::ArrayBuffer
 ArrayBuffer ()
 
virtual ~ArrayBuffer ()
 
- Public Member Functions inherited from cil::Variant
 Variant ()
 
virtual ~Variant ()
 
const std::string & type () const
 

Additional Inherited Members

- Protected Attributes inherited from cil::TypedArray< float >
float * m_data
 
int m_size
 
- Protected Attributes inherited from cil::Variant
std::string m_type
 

Constructor & Destructor Documentation

◆ Float32Array() [1/2]

cil::Float32Array::Float32Array ( int size = 0,
float * data = nullptr,
bool copy = true )

◆ Float32Array() [2/2]

cil::Float32Array::Float32Array ( const std::initializer_list< float > & array)