API Documentation
Loading...
Searching...
No Matches
DesignObjectBase Class Reference

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 RandomColorGeneratorrandomColorGenerator () const
 
void readMetaDataFromColumn ()
 
void removeRTree (UUID id)
 
void setRTree (UUID id, const DynamicPointer< RTree< 3, fltp04 > > &tree)
 
void writeMetaDataToColumn () const
 
 ~DesignObjectBase ()
 

Public Attributes

DesignObjectBase *const application_base
 
Buffer< JSONNode, uint04, ObjectAllocator< false > > cached_meta_data
 
uint04 edge_to_face_column = Constant<uint04>::Invalid
 
uint04 effect_child_index = Constant<uint04>::Invalid
 
uint04 effect_index = Constant<uint04>::Invalid
 
uint04 effect_property_index [11]
 
DynamicPointer< Tableeffect_table
 
uint04 effect_targets = Constant<uint04>::Invalid
 
uint04 external_child_location = Constant<uint04>::Invalid
 
uint04 face_to_edge_column = Constant<uint04>::Invalid
 
uint04 geometry_index = Constant<uint04>::Invalid
 
uint04 geometry_property_index [21]
 
DynamicPointer< Tablegeometry_table
 
uint04 index_fan_offset_column = Constant<uint04>::Invalid
 
uint04 index_fan_size_column = Constant<uint04>::Invalid
 
uint04 index_mode_offset_column = Constant<uint04>::Invalid
 
uint04 index_mode_size_column = Constant<uint04>::Invalid
 
uint04 layer_index = Constant<uint04>::Invalid
 
uint04 layer_location = Constant<uint04>::Invalid
 
uint04 local_child_location = Constant<uint04>::Invalid
 
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_index = Constant<uint04>::Invalid
 
uint04 material_property_index [40]
 
DynamicPointer< Tablematerial_table
 
uint04 model_geometry_index = Constant<uint04>::Invalid
 
uint04 model_index = Constant<uint04>::Invalid
 
uint04 model_parents_column = Constant<uint04>::Invalid
 
uint04 model_property_index [40]
 
DynamicPointer< Tablemodel_table
 
uint04 neighbor_index_location = Constant<uint04>::Invalid
 
uint04 parent_location = Constant<uint04>::Invalid
 
uint04 primitive_fan_column = Constant<uint04>::Invalid
 
uint04 primitive_flag_column = Constant<uint04>::Invalid
 
uint04 primitive_index_column = Constant<uint04>::Invalid
 
DynamicPointer< Tableprimitive_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< Tableproperty_table
 
uint04 selection_location = Constant<uint04>::Invalid
 
uint04 selection_tree_column [32]
 
uint04 solid_vertex_count_column = Constant<uint04>::Invalid
 
uint04 solid_vertex_offset_column = Constant<uint04>::Invalid
 
uint04 solid_vertex_reserved_count_column = Constant<uint04>::Invalid
 
uint04 uv_color [10]
 
uint04 uv_image_file [10]
 
uint04 uv_intensity [10]
 
uint04 uv_layer [10]
 
uint04 uv_mode [10]
 
uint04 vertex_count_column = Constant<uint04>::Invalid
 
uint04 vertex_mode_column [16]
 
uint04 vertex_offset_column = Constant<uint04>::Invalid
 
uint04 vertex_property_column [16]
 
uint04 vertex_reserved_count_column = Constant<uint04>::Invalid
 
DynamicPointer< Tablevertex_table
 

Protected Member Functions

void createPropertyTable ()
 
void createTables ()
 
void linkTables ()
 
void setDefaultValues ()
 

Detailed Description

Provides the underlying data storage for the NDEVR Scene Model heirarchy.


Constructor & Destructor Documentation

◆ DesignObjectBase() [1/3]

DesignObjectBase ( bool is_app_owned)

◆ DesignObjectBase() [2/3]

DesignObjectBase ( DesignObjectBase * application_base)

◆ ~DesignObjectBase()

◆ DesignObjectBase() [3/3]

DesignObjectBase ( BinaryFile & file,
uint08 version_number,
DesignObjectBase * application_base = nullptr )

Member Function Documentation

◆ createPropertyTable()

void createPropertyTable ( )
protected

◆ createTables()

void createTables ( )
protected

◆ fetchDataColumns()

void fetchDataColumns ( Buffer< DynamicPointer< TableColumn > > & columns)

◆ getRTree() [1/2]

const DynamicPointer< RTree< 3, fltp04 > > & getRTree ( UUID id)

◆ getRTree() [2/2]

const ConstPointer< RTree< 3, fltp04 > > & getRTree ( UUID id) const

◆ hasRTree()

bool hasRTree ( UUID id) const

◆ isApplicationOwned()

bool isApplicationOwned ( ) const

◆ linkTables()

void linkTables ( )
protected

◆ lockRTrees()

WLock lockRTrees ( )

◆ mapFromFile()

void mapFromFile ( BinaryFile & file,
uint08 version_number )

◆ mapToFile()

void mapToFile ( BinaryFile & file) const

◆ mapTreesFromFile()

void mapTreesFromFile ( BinaryFile & file,
uint08 version_number )

◆ mapTreeToFile()

void mapTreeToFile ( BinaryFile & file,
int mode ) const

◆ randomColorGenerator()

const RandomColorGenerator & randomColorGenerator ( ) const
inline

◆ readMetaDataFromColumn()

void readMetaDataFromColumn ( )

◆ removeRTree()

void removeRTree ( UUID id)

◆ setDefaultValues()

void setDefaultValues ( )
protected

◆ setRTree()

void setRTree ( UUID id,
const DynamicPointer< RTree< 3, fltp04 > > & tree )

◆ writeMetaDataToColumn()

void writeMetaDataToColumn ( ) const

Member Data Documentation

◆ application_base

DesignObjectBase* const application_base

◆ cached_meta_data

Buffer<JSONNode, uint04, ObjectAllocator<false> > cached_meta_data

◆ edge_to_face_column

uint04 edge_to_face_column = Constant<uint04>::Invalid

◆ effect_child_index

uint04 effect_child_index = Constant<uint04>::Invalid

◆ effect_index

uint04 effect_index = Constant<uint04>::Invalid

◆ effect_property_index

◆ effect_table

DynamicPointer<Table> effect_table

◆ effect_targets

uint04 effect_targets = Constant<uint04>::Invalid

◆ external_child_location

uint04 external_child_location = Constant<uint04>::Invalid

◆ face_to_edge_column

uint04 face_to_edge_column = Constant<uint04>::Invalid

◆ geometry_index

uint04 geometry_index = Constant<uint04>::Invalid

◆ geometry_property_index

◆ geometry_table

DynamicPointer<Table> geometry_table

◆ index_fan_offset_column

uint04 index_fan_offset_column = Constant<uint04>::Invalid

◆ index_fan_size_column

uint04 index_fan_size_column = Constant<uint04>::Invalid

◆ index_mode_offset_column

uint04 index_mode_offset_column = Constant<uint04>::Invalid

◆ index_mode_size_column

uint04 index_mode_size_column = Constant<uint04>::Invalid

◆ layer_index

◆ layer_location

uint04 layer_location = Constant<uint04>::Invalid

◆ local_child_location

uint04 local_child_location = Constant<uint04>::Invalid

◆ m_color_generator

RandomColorGenerator m_color_generator

◆ m_r_trees

◆ material_child_index

◆ material_index

uint04 material_index = Constant<uint04>::Invalid

◆ material_property_index

◆ material_table

DynamicPointer<Table> material_table

◆ model_geometry_index

uint04 model_geometry_index = Constant<uint04>::Invalid

◆ model_index

◆ model_parents_column

uint04 model_parents_column = Constant<uint04>::Invalid

◆ model_property_index

◆ model_table

DynamicPointer<Table> model_table

◆ neighbor_index_location

uint04 neighbor_index_location = Constant<uint04>::Invalid

◆ parent_location

uint04 parent_location = Constant<uint04>::Invalid

◆ primitive_fan_column

uint04 primitive_fan_column = Constant<uint04>::Invalid

◆ primitive_flag_column

uint04 primitive_flag_column = Constant<uint04>::Invalid

◆ primitive_index_column

uint04 primitive_index_column = Constant<uint04>::Invalid

◆ primitive_index_table

DynamicPointer<Table> primitive_index_table

◆ primitive_property_mode_column

◆ primitive_property_offset_column

◆ primitive_property_size_column

◆ property_index

◆ property_table

DynamicPointer<Table> property_table

◆ selection_location

uint04 selection_location = Constant<uint04>::Invalid

◆ selection_tree_column

◆ solid_vertex_count_column

uint04 solid_vertex_count_column = Constant<uint04>::Invalid

◆ solid_vertex_offset_column

uint04 solid_vertex_offset_column = Constant<uint04>::Invalid

◆ solid_vertex_reserved_count_column

uint04 solid_vertex_reserved_count_column = Constant<uint04>::Invalid

◆ uv_color

◆ uv_image_file

◆ uv_intensity

◆ uv_layer

◆ uv_mode

◆ vertex_count_column

uint04 vertex_count_column = Constant<uint04>::Invalid

◆ vertex_mode_column

◆ vertex_offset_column

uint04 vertex_offset_column = Constant<uint04>::Invalid

◆ vertex_property_column

◆ vertex_reserved_count_column

uint04 vertex_reserved_count_column = Constant<uint04>::Invalid

◆ vertex_table

DynamicPointer<Table> vertex_table

The documentation for this class was generated from the following file: