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

#include <DesignObjectBase.h>

Collaboration diagram for DesignObjectBase:
[legend]

Public Member Functions

 DesignObjectBase (bool is_app_owned)
 
 DesignObjectBase (DesignObjectBase *application_base)
 
 ~DesignObjectBase ()
 
NDEVR_DESIGN_API DesignObjectBase (BinaryFile &file, uint08 version_number, DesignObjectBase *application_base=nullptr)
 
WLock lockRTrees ()
 
const ConstPointer< RTree< 3, fltp04 > > & getRTree (UUID id) const
 
const DynamicPointer< RTree< 3, fltp04 > > & getRTree (UUID id)
 
void setRTree (UUID id, const DynamicPointer< RTree< 3, fltp04 > > &tree)
 
void removeRTree (UUID id)
 
bool hasRTree (UUID id) const
 
bool isApplicationOwned () const
 
void readMetaDataFromColumn ()
 
NDEVR_DESIGN_API void writeMetaDataToColumn () const
 
NDEVR_DESIGN_API void fetchDataColumns (Buffer< DynamicPointer< TableColumn > > &columns)
 
NDEVR_DESIGN_API void mapToFile (BinaryFile &file) const
 
NDEVR_DESIGN_API void mapFromFile (BinaryFile &file, uint08 version_number)
 
NDEVR_DESIGN_API void mapTreeToFile (BinaryFile &file, int mode) const
 
NDEVR_DESIGN_API void mapTreesFromFile (BinaryFile &file, uint08 version_number)
 
const RandomColorGeneratorrandomColorGenerator () const
 

Public Attributes

DynamicPointer< Tableproperty_table
 
DynamicPointer< Tablevertex_table
 
DynamicPointer< Tableprimitive_index_table
 
DynamicPointer< Tablemodel_table
 
DynamicPointer< Tablematerial_table
 
DynamicPointer< Tablegeometry_table
 
DynamicPointer< Tableeffect_table
 
Buffer< JSONNode, uint04, ObjectAllocator< false > > cached_meta_data
 
uint04 model_index = Constant<uint04>::NaN
 
uint04 material_index = Constant<uint04>::NaN
 
uint04 geometry_index = Constant<uint04>::NaN
 
uint04 effect_index = Constant<uint04>::NaN
 
uint04 layer_index = Constant<uint04>::NaN
 
uint04 property_index [40]
 
uint04 model_property_index [40]
 
uint04 material_property_index [40]
 
uint04 uv_image_file [10]
 
uint04 uv_intensity [10]
 
uint04 uv_color [10]
 
uint04 uv_layer [10]
 
uint04 uv_mode [10]
 
uint04 geometry_property_index [21]
 
uint04 model_parents_column = Constant<uint04>::NaN
 
uint04 primitive_property_mode_column [8]
 
uint04 primitive_property_offset_column [8]
 
uint04 primitive_property_size_column [8]
 
uint04 selection_tree_column [32]
 
uint04 primitive_index_column = Constant<uint04>::NaN
 
uint04 primitive_fan_column = Constant<uint04>::NaN
 
uint04 primitive_flag_column = Constant<uint04>::NaN
 
uint04 index_mode_offset_column = Constant<uint04>::NaN
 
uint04 index_mode_size_column = Constant<uint04>::NaN
 
uint04 index_fan_offset_column = Constant<uint04>::NaN
 
uint04 index_fan_size_column = Constant<uint04>::NaN
 
uint04 face_to_edge_column = Constant<uint04>::NaN
 
uint04 edge_to_face_column = Constant<uint04>::NaN
 
uint04 vertex_mode_column [16]
 
uint04 vertex_offset_column = Constant<uint04>::NaN
 
uint04 vertex_count_column = Constant<uint04>::NaN
 
uint04 vertex_reserved_count_column = Constant<uint04>::NaN
 
uint04 solid_vertex_offset_column = Constant<uint04>::NaN
 
uint04 solid_vertex_count_column = Constant<uint04>::NaN
 
uint04 solid_vertex_reserved_count_column = Constant<uint04>::NaN
 
uint04 vertex_property_column [16]
 
uint04 neighbor_index_location = Constant<uint04>::NaN
 
uint04 parent_location = Constant<uint04>::NaN
 
uint04 layer_location = Constant<uint04>::NaN
 
uint04 selection_location = Constant<uint04>::NaN
 
uint04 local_child_location = Constant<uint04>::NaN
 
uint04 external_child_location = Constant<uint04>::NaN
 
uint04 model_geometry_index = Constant<uint04>::NaN
 
uint04 effect_child_index = Constant<uint04>::NaN
 
uint04 material_child_index [4] { Constant<uint04>::NaN, Constant<uint04>::NaN, Constant<uint04>::NaN, Constant<uint04>::NaN }
 
uint04 effect_property_index [11]
 
uint04 effect_targets = Constant<uint04>::NaN
 
Dictionary< UUID, DynamicPointer< RTree< 3, fltp04 > > > m_r_trees
 
RandomColorGenerator m_color_generator
 
DesignObjectBase *const application_base
 

Protected Member Functions

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

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>::NaN

◆ effect_child_index

uint04 effect_child_index = Constant<uint04>::NaN

◆ effect_index

uint04 effect_index = Constant<uint04>::NaN

◆ effect_property_index

◆ effect_table

DynamicPointer<Table> effect_table

◆ effect_targets

uint04 effect_targets = Constant<uint04>::NaN

◆ external_child_location

uint04 external_child_location = Constant<uint04>::NaN

◆ face_to_edge_column

uint04 face_to_edge_column = Constant<uint04>::NaN

◆ geometry_index

uint04 geometry_index = Constant<uint04>::NaN

◆ geometry_property_index

◆ geometry_table

DynamicPointer<Table> geometry_table

◆ index_fan_offset_column

uint04 index_fan_offset_column = Constant<uint04>::NaN

◆ index_fan_size_column

uint04 index_fan_size_column = Constant<uint04>::NaN

◆ index_mode_offset_column

uint04 index_mode_offset_column = Constant<uint04>::NaN

◆ index_mode_size_column

uint04 index_mode_size_column = Constant<uint04>::NaN

◆ layer_index

uint04 layer_index = Constant<uint04>::NaN

◆ layer_location

uint04 layer_location = Constant<uint04>::NaN

◆ local_child_location

uint04 local_child_location = Constant<uint04>::NaN

◆ m_color_generator

RandomColorGenerator m_color_generator

◆ m_r_trees

◆ material_child_index

uint04 material_child_index[4] { Constant<uint04>::NaN, Constant<uint04>::NaN, Constant<uint04>::NaN, Constant<uint04>::NaN }

◆ material_index

uint04 material_index = Constant<uint04>::NaN

◆ material_property_index

◆ material_table

DynamicPointer<Table> material_table

◆ model_geometry_index

uint04 model_geometry_index = Constant<uint04>::NaN

◆ model_index

uint04 model_index = Constant<uint04>::NaN

◆ model_parents_column

uint04 model_parents_column = Constant<uint04>::NaN

◆ model_property_index

◆ model_table

DynamicPointer<Table> model_table

◆ neighbor_index_location

uint04 neighbor_index_location = Constant<uint04>::NaN

◆ parent_location

uint04 parent_location = Constant<uint04>::NaN

◆ primitive_fan_column

uint04 primitive_fan_column = Constant<uint04>::NaN

◆ primitive_flag_column

uint04 primitive_flag_column = Constant<uint04>::NaN

◆ primitive_index_column

uint04 primitive_index_column = Constant<uint04>::NaN

◆ 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>::NaN

◆ selection_tree_column

◆ solid_vertex_count_column

uint04 solid_vertex_count_column = Constant<uint04>::NaN

◆ solid_vertex_offset_column

uint04 solid_vertex_offset_column = Constant<uint04>::NaN

◆ solid_vertex_reserved_count_column

uint04 solid_vertex_reserved_count_column = Constant<uint04>::NaN

◆ uv_color

◆ uv_image_file

◆ uv_intensity

◆ uv_layer

◆ uv_mode

◆ vertex_count_column

uint04 vertex_count_column = Constant<uint04>::NaN

◆ vertex_mode_column

◆ vertex_offset_column

uint04 vertex_offset_column = Constant<uint04>::NaN

◆ vertex_property_column

◆ vertex_reserved_count_column

uint04 vertex_reserved_count_column = Constant<uint04>::NaN

◆ vertex_table

DynamicPointer<Table> vertex_table

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