API Documentation
|
Provides the underlying data storage for the NDEVR Scene Model heirarchy. More...
#include <DesignObjectBase.h>
Public Member Functions | |
DesignObjectBase (BinaryFile &file, uint08 version_number, DesignObjectBase *application_base=nullptr) | |
DesignObjectBase (bool is_app_owned) | |
DesignObjectBase (DesignObjectBase *application_base) | |
void | fetchDataColumns (Buffer< DynamicPointer< TableColumn > > &columns) |
const DynamicPointer< RTree< 3, fltp04 > > & | getRTree (UUID id) |
const ConstPointer< RTree< 3, fltp04 > > & | getRTree (UUID id) const |
bool | hasRTree (UUID id) const |
bool | isApplicationOwned () const |
WLock | lockRTrees () |
void | mapFromFile (BinaryFile &file, uint08 version_number) |
void | mapToFile (BinaryFile &file) const |
void | mapTreesFromFile (BinaryFile &file, uint08 version_number) |
void | mapTreeToFile (BinaryFile &file, int mode) const |
const RandomColorGenerator & | randomColorGenerator () const |
void | readMetaDataFromColumn () |
void | removeRTree (UUID id) |
void | setRTree (UUID id, const DynamicPointer< RTree< 3, fltp04 > > &tree) |
void | writeMetaDataToColumn () const |
~DesignObjectBase () | |
Protected Member Functions | |
void | createPropertyTable () |
void | createTables () |
void | linkTables () |
void | setDefaultValues () |
DesignObjectBase | ( | bool | is_app_owned | ) |
DesignObjectBase | ( | DesignObjectBase * | application_base | ) |
~DesignObjectBase | ( | ) |
DesignObjectBase | ( | BinaryFile & | file, |
uint08 | version_number, | ||
DesignObjectBase * | application_base = nullptr ) |
|
protected |
|
protected |
void fetchDataColumns | ( | Buffer< DynamicPointer< TableColumn > > & | columns | ) |
const DynamicPointer< RTree< 3, fltp04 > > & getRTree | ( | UUID | id | ) |
const ConstPointer< RTree< 3, fltp04 > > & getRTree | ( | UUID | id | ) | const |
bool hasRTree | ( | UUID | id | ) | const |
bool isApplicationOwned | ( | ) | const |
|
protected |
WLock lockRTrees | ( | ) |
void mapFromFile | ( | BinaryFile & | file, |
uint08 | version_number ) |
void mapToFile | ( | BinaryFile & | file | ) | const |
void mapTreesFromFile | ( | BinaryFile & | file, |
uint08 | version_number ) |
void mapTreeToFile | ( | BinaryFile & | file, |
int | mode ) const |
|
inline |
void readMetaDataFromColumn | ( | ) |
void removeRTree | ( | UUID | id | ) |
|
protected |
void setRTree | ( | UUID | id, |
const DynamicPointer< RTree< 3, fltp04 > > & | tree ) |
void writeMetaDataToColumn | ( | ) | const |
DesignObjectBase* const application_base |
Buffer<JSONNode, uint04, ObjectAllocator<false> > cached_meta_data |
uint04 effect_property_index[11] |
DynamicPointer<Table> effect_table |
uint04 geometry_property_index[21] |
DynamicPointer<Table> geometry_table |
RandomColorGenerator m_color_generator |
Dictionary<UUID, DynamicPointer<RTree<3, fltp04> > > m_r_trees |
uint04 material_child_index[4] { Constant<uint04>::Invalid, Constant<uint04>::Invalid, Constant<uint04>::Invalid, Constant<uint04>::Invalid } |
uint04 material_property_index[40] |
DynamicPointer<Table> material_table |
uint04 model_property_index[40] |
DynamicPointer<Table> model_table |
DynamicPointer<Table> primitive_index_table |
uint04 primitive_property_mode_column[8] |
uint04 primitive_property_offset_column[8] |
uint04 primitive_property_size_column[8] |
uint04 property_index[40] |
DynamicPointer<Table> property_table |
uint04 selection_tree_column[32] |
uint04 uv_color[10] |
uint04 uv_image_file[10] |
uint04 uv_intensity[10] |
uint04 uv_layer[10] |
uint04 uv_mode[10] |
uint04 vertex_mode_column[16] |
uint04 vertex_property_column[16] |
DynamicPointer<Table> vertex_table |