|
| VehicleModel () |
|
| VehicleModel (const Model &model) |
|
void | setupFromRecord (const VehicleRecord &record) |
|
void | setVisuals (const Model &visuals) |
|
void | readModelFromFile (const File &f) |
|
| Model () |
|
| Model (DesignObjectBase *base) |
|
| Model (uint04 index, DesignObjectBase *base) |
|
| Model (const DesignObject &obj) |
|
bool | isSelected () const |
|
bool | isApplicationOwned () const |
|
bool | isVisible () const |
|
bool | isTreeVisible () const |
|
bool | hasFocus () const |
|
bool | exportIgnored () const |
|
TranslatedString | displayName () const |
|
TranslatedString | displayNamePath (const String &seperator=":") const |
|
template<class t_type > |
void | setModelProperty (ModelProperty property, const t_type &value) |
|
template<class t_type > |
void | updateModelProperty (ModelProperty property, const t_type &type, const void *lock_ptr=nullptr) |
|
template<class t_type > |
t_type | getModelProperty (ModelProperty property) const |
|
bool | isModelProperty (ModelProperty property, const String &value) const |
|
bool | isModelProperty (ModelProperty property, const char *value) const |
|
bool | doesModelPropertyContain (ModelProperty property, const String &value, bool ignore_case) const |
|
bool | doesModelPropertyContain (ModelProperty property, const char *value, bool ignore_case) const |
|
void | restoreModel () |
|
void | eraseModel () |
|
void | deleteModel (bool delete_children, bool remove_from_parent=true) |
|
Buffer< Model, uint04, ObjectAllocator< DESIGN_PRIM > > | explodeModel () |
|
bool | canExplode () const |
|
bool | isOfType (const String &type) const |
|
bool | isOfType (const char *type) const |
|
Model | createChild () |
|
Model | createChild (uint04 child_slot) |
|
void | createChildren (uint04 child_size) |
|
Model | createSceneModel () const |
|
Model | createSceneLayer () const |
|
Model | getSceneModel (UUID id) const |
|
Model | getSceneLayer (UUID id) const |
|
void | addChild (Model &child) |
|
void | addChild (uint04 child_index) |
|
void | swapChildren (uint04 a, uint04 b) |
|
void | setParentMatrixFlags (BitFlag flags) |
|
void | setParentMatrixFlag (ParentMatrixFlags flag, bool value) |
|
BitFlag | parentMatrixFlags () const |
|
Model | getParent () const |
|
uint04 | getParentIndex () const |
|
RGBColor | customModelColor (ModelColorMode mode) const |
|
void | updateTransform (const Matrix< fltp08 > &transform, const void *lock=nullptr) |
|
void | setTransform (const Matrix< fltp08 > &transform) |
|
String | getModelIcon () const |
|
Effect | createChildEffect () |
|
Geometry | createChildGeometry () |
|
void | setGeometryChild (uint04 geo_index) |
|
void | setGeometryChild (const Geometry &geo) |
|
void | updateVisible (bool is_visible) |
|
void | updateVisibleRecursive (bool is_visible) |
|
Buffer< GeometryType > | descendentGeometryTypes () const |
|
bool | hasGeometryDescendent () const |
|
bool | hasMeshDescendent () const |
|
bool | hasLinearDescendent () const |
|
bool | hasPointsDescendent () const |
|
void | hasDescendents (bool &has_point, bool &has_line, bool &has_mesh) const |
|
MaterialMode | getMaterialMode (PrimitiveProperty property) const |
|
void | setMaterialMode (MaterialMode vertex, MaterialMode outline, MaterialMode solid) |
|
void | setMaterialMode (PrimitiveProperty property, MaterialMode option) |
|
Material | createChildMaterial (bool copy_child=false) |
|
Material | createChildMaterial (PrimitiveProperty property, bool copy_child=false) |
|
void | clearMaterialDescendents () |
|
void | overrideMaterialDescendents (PrimitiveProperty property, MaterialMode override_desc) |
|
void | overrideMaterialDescendents (MaterialMode vertex, MaterialMode outline, MaterialMode solid) |
|
void | setMaterial (PrimitiveProperty property, uint04 material_index) |
|
void | setMaterial (uint04 material_index) |
|
void | setMaterial (PrimitiveProperty property, const Material &material) |
|
void | setMaterial (const Material &material) |
|
void | colorByChannel (Material &mat, const String &channel, fltp08 avg=Constant< fltp08 >::NaN) const |
|
void | checkBounds () |
|
Effect | createSceneEffect () const |
|
void | setIsLayer (bool is_layer) |
|
bool | isLayer () const |
|
bool | hasLayer () const |
|
bool | hasDirectLayer () const |
|
Model | getLayer () const |
|
uint04 | getDirectLayerIndex () const |
|
Vertex< 3, fltp08 > | globalCenterOfRotation () const |
|
bool | isLocked () const |
|
bool | canInteract () const |
|
bool | hasSelectedDescendent () const |
|
void | updateModifiedTime (Time time=Time::SystemTime()) |
|
void | updateAscTime (const Time &time, bool include_self) |
|
void | updateDescTime (const Time &time, bool include_self) |
|
void | setLayer (Model layer) |
|
void | clearLayer () |
|
uint04 | getChildIndex () const |
|
uint04 | getChildLayerIndex () const |
|
void | setChildIndex (uint04 child, uint04 id) |
|
Model | getChild (uint04 child) const |
|
uint04 | getChildIndex (uint04 child) const |
|
bool | hasChild (uint04 child_index) const |
|
Buffer< Model, uint04, ObjectAllocator< DESIGN_PRIM > > | getChildren () const |
|
Buffer< UUID > | getChildrenIDs () const |
|
Buffer< uint04 > | getChildIndices () const |
|
Buffer< Model, uint04, ObjectAllocator< DESIGN_PRIM > > | getChildrenByType (const String &type) const |
|
template<class t_type > |
Buffer< t_type > | getTypeChildren (const String &type) const |
|
Buffer< Model, uint04, ObjectAllocator< DESIGN_PRIM > > | getChildrenByType (const Buffer< String > &type) const |
|
Buffer< Model, uint04, ObjectAllocator< DESIGN_PRIM > > | getChildrenByName (const String &name) const |
|
template<class t_type > |
Buffer< t_type > | getTypeDescendents (const String &type) const |
|
Buffer< Model, uint04, ObjectAllocator< DESIGN_PRIM > > | getDescendentsByType (const String &type, uint04 max_count=Constant< uint04 >::Max) const |
|
Buffer< Model, uint04, ObjectAllocator< DESIGN_PRIM > > | getDescendentsByName (const String &name, uint04 max_count=Constant< uint04 >::Max) const |
|
Buffer< Model, uint04, ObjectAllocator< DESIGN_PRIM > > | getDescendentsByNameAndType (const String &name, const String &type, uint04 max_count=Constant< uint04 >::Max) const |
|
uint04 | childCount () const |
|
uint04 | getNumOfEffects () const |
|
bool | hasEffect (uint04 index=0) const |
|
Effect | getSceneEffect (UUID id) const |
|
Geometry | getGeometry () const |
|
Geometry | getSceneGeometry (uint04 index) const |
|
Geometry | getSceneGeometry (UUID id) const |
|
Buffer< Geometry, uint04, ObjectAllocator< DESIGN_PRIM > > | getSceneGeometries () const |
|
Buffer< std::pair< Model, Geometry >, uint04, ObjectAllocator< DESIGN_PRIM > > | getClippingGeometry () const |
|
Buffer< Geometry, uint04, ObjectAllocator< DESIGN_PRIM > > | getGeometryDescendents (bool remove_redundant=true, uint04 max_count=Constant< uint04 >::Max) const |
|
void | removeGeometry () |
|
bool | hasMaterial () const |
|
bool | hasMaterial (PrimitiveProperty property) const |
|
Material | getMaterial (PrimitiveProperty property) const |
|
Material | getSceneMaterial (uint04 index) const |
|
Material | getRootMaterial (PrimitiveProperty property) const |
|
Material | getSceneMaterial (UUID id) const |
|
bool | hasLayerRootMaterial (PrimitiveProperty property) const |
|
Buffer< Material, uint04, ObjectAllocator< DESIGN_PRIM > > | getMaterialChildren () const |
|
Buffer< Material, uint04, ObjectAllocator< DESIGN_PRIM > > | getMaterialDescendents (bool local_only=false) const |
|
Buffer< Material, uint04, ObjectAllocator< DESIGN_PRIM > > | getMaterialDescendents (PrimitiveProperty property) const |
|
Buffer< Material, uint04, ObjectAllocator< DESIGN_PRIM > > | getMaterialDescendentsByName (const String &name, uint04 max_count=Constant< uint04 >::Max) const |
|
Buffer< Material, uint04, ObjectAllocator< DESIGN_PRIM > > | getSceneMaterials () const |
|
void | removeMaterial (const Material &material) |
|
void | removeMaterial (PrimitiveProperty property) |
|
Buffer< Effect, uint04, ObjectAllocator< false > > | getEffectChildren () const |
|
Buffer< Effect, uint04, ObjectAllocator< false > > | getEffectDescendents () const |
|
Buffer< Effect, uint04, ObjectAllocator< false > > | getSceneEffects () const |
|
Effect | getEffect (uint04 index=0) const |
|
Buffer< Model, uint04, ObjectAllocator< DESIGN_PRIM > > | getSceneModels (bool include_deleted=false, bool local_only=false) const |
|
Buffer< Model, uint04, ObjectAllocator< DESIGN_PRIM > > | getSceneModelsByType (const String &type, uint04 max_count=Constant< uint04 >::Max, bool include_deleted=false) const |
|
Buffer< Model, uint04, ObjectAllocator< DESIGN_PRIM > > | getSceneModelsByName (const String &name, uint04 max_count=Constant< uint04 >::Max, bool include_deleted=false) const |
|
Buffer< Model, uint04, ObjectAllocator< DESIGN_PRIM > > | getSceneLayers (bool include_deleted=false) const |
|
Buffer< Model, uint04, ObjectAllocator< DESIGN_PRIM > > | getDescendents (bool include_deleted=false, bool local_only=false) const |
|
void | clearChildren () |
|
void | removeChild (const Model &model) |
|
uint04 | visibleVertexCount () const |
|
uint04 | vertexCount () const |
|
Model | getFamilyMember (uint04 index) const |
|
Model | findDescendentByName (const String &name) const |
|
Model | findDescendentByType (const String &type) const |
|
bool | hasDescendent (const Model &model) const |
|
bool | hasDescendent (const UUID &id) const |
|
void | setWindingMode (WindingMode mode) |
|
Matrix< fltp08 > | getCompleteTransform () const |
|
Matrix< fltp08 > | getParentTransform () const |
|
Bounds< 3, fltp08 > | getBounds () const |
|
Bounds< 3, fltp08 > | globalBounds () const |
|
Bounds< 3, fltp08 > | globalSelectionBounds () const |
|
Bounds< 3, fltp08 > | getBoundsOfVisible () const |
|
Bounds< 3, fltp08 > | getSelectionBounds () const |
|
Vector< 3, fltp08 > | size () const |
|
void | setSize (const Vector< 3, fltp08 > &size) |
|
Matrix< fltp08 > | applyTransformToParent (const Matrix< fltp08 > &parent_mat) const |
|
Time | getDescModifiedTime (bool include_self) const |
|
Time | getAscModifiedTime (bool include_self, bool include_layer=true) const |
|
Vertex< 3, fltp08 > | centerAlignModel () |
|
void | calculateIndexNeighborList () |
|
void | updateFrom (const Model &model, bool check_resources) |
|
Dictionary< UUID, DesignObject > | copyFrom (const Model &model, bool deep_copy, bool copy_ids=false, bool recursive=true) |
|
Dictionary< UUID, DesignObject > | copyMaterialProperties (const Model &model) |
|
void | calculateSmoothTextures (Vector< 3, fltp08 > origin, fltp08 scale) |
|
void | setNormalMode (NormalMode mode, Angle< fltp08 > smoothing_angle, ProgressInfo *log) |
|
void | setOrientation (const Vector< 3, Angle< sint04 > > &new_orientation, const void *lock=nullptr) |
|
void | setOrientation (const Vector< 3, Angle< fltp08 > > &new_orientation, const void *lock=nullptr) |
|
void | calculateNormals (NormalMode mode, Angle< fltp08 > smoothing_angle) |
|
void | removeDuplicateVertices (fltp08 epsilon, void *lock, ProgressInfo *log=nullptr) |
|
bool | isDeleted () const |
|
bool | hasHoles (PrimitiveProperty property) const |
|
void | calculateTangentSpace (bool calc_tan, bool calc_bitan) |
|
void | addPerVertexColorFromMaterialConstant (UVType constant_index) |
|
bool | isScene () const |
|
void | validate (bool validate_children=true) const |
|
void | invalidateBounds () |
|
void | invalidateVisibleBounds () |
|
void | invalidateGlobalBoundsAsc () |
|
void | invalidateGlobalBoundsDesc () |
|
void | invalidateTransformCache () |
|
fltp08 | calculateVolume (const Matrix< fltp08 > &transform=Constant< Matrix< fltp08 > >::NaN) const |
|
fltp08 | calculateSurfaceArea (const Matrix< fltp08 > &transform=Constant< Matrix< fltp08 > >::NaN) const |
|
Vector< 2, fltp08 > | calculateVolumeAndSurfaceArea (const Matrix< fltp08 > &transform=Constant< Matrix< fltp08 > >::NaN, const void *lock=nullptr) const |
|
fltp08 | calculateLength (const Matrix< fltp08 > &transform=Constant< Matrix< fltp08 > >::NaN) const |
|
Vector< 3, fltp08 > | calculateAverageDirection (const Matrix< fltp08 > &parent_transform=Constant< Matrix< fltp08 > >::NaN) const |
|
Vector< 2, fltp08 > | calculateHVLength (const Matrix< fltp08 > &parent_transform=Constant< Matrix< fltp08 > >::NaN) const |
|
uint04 | getGeometryIndex () const |
|
uint04 | getMaterialIndex (PrimitiveProperty property) const |
|
uint04 | getEffectIndex (uint04 child_index=0) const |
|
Vector< 32, bool > | inheritedFlags () const |
|
void | updateInheritedFlagsCache (bool force_update_all=false, bool update_personal_flags=false) |
|
Vector< 32, bool > | inheritedPersonalFlagsNoCache () const |
|
Vector< 32, bool > | personalInheritedFlags () const |
|
Vector< 32, bool > | inheritedFlagsNoCache (bool complete_cache_ignore) const |
|
Model | getRootMaterialModel (PrimitiveProperty property) |
|
BitFlag | descendedFlags () const |
|
void | updateDescendedFlagsCache (bool force_update_all=false) |
|
BitFlag | descendedPersonalFlagsNoCache () const |
|
BitFlag | personalDescendedFlags () const |
|
BitFlag | descendedFlagsNoCache (bool complete_cache_ignore) const |
|
| operator bool () const |
|
Geometry | createSceneGeometry () const |
|
Material | createSceneMaterial () const |
|
| DesignObject ()=default |
|
| DesignObject (DesignObjectBase *base) |
|
| DesignObject (uint04 index, DesignObjectBase *base) |
|
void | setDesignType (DesignObjectType mode, bool is_type) |
|
bool | isDesignType (DesignObjectType mode) const |
|
bool | isDesignType (uint04 mode) const |
|
bool | validateDesignObject () const |
|
JSONNode | activeFilters () const |
|
void | setActiveFilters (const JSONNode &node) |
|
template<class t_type > |
void | setProperty (DesignProperty property, const t_type &value) |
|
template<> |
void | setProperty (DesignProperty property, const UUID &value) |
|
template<> |
void | setProperty (DesignProperty property, const String &value) |
|
File | file () const |
|
template<class t_type > |
void | updateProperty (DesignProperty property, const t_type &value, const void *lock=nullptr) |
|
template<class t_type > |
t_type | getProperty (DesignProperty property) const |
|
template<class t_type > |
bool | hasProperty (DesignProperty property) const |
|
bool | isProperty (DesignProperty property, const String &value) const |
|
bool | isProperty (DesignProperty property, const char *value) const |
|
bool | doesPropertyBeginWith (DesignProperty property, const String &value, bool ignore_case) const |
|
bool | doesPropertyBeginWith (DesignProperty property, const char *value, bool ignore_case) const |
|
bool | doesPropertyContain (DesignProperty property, const String &value, bool ignore_case) const |
|
bool | doesPropertyContain (DesignProperty property, const char *value, bool ignore_case) const |
|
template<class t_type > |
t_type | getInheritedProperty (DesignProperty property) const |
|
String | getIcon () const |
|
uint04 | getDesignParentIndex () const |
|
Time | getModifiedTime () const |
|
void | updateDesignModifiedTime (Time time=Time::SystemTime()) |
|
void | updateCreatedTime () |
|
void | copyFrom (const DesignObject &object) |
|
void | actionDeletedIndex (uint04 index, uint04 size) |
|
void | addIndex (uint04 index, uint04 size) |
|
void | scale (Vector< 3, fltp08 > scale, Vertex< 3, fltp08 > center_of_scale=Constant< Vertex< 3, fltp08 > >::NaN) |
|
void | offset (const Vector< 3, fltp08 > &offset) |
|
bool | hasMetaData (const String &index) const |
|
const JSONNode & | metaData (const String &index) const |
|
const JSONNode & | metaData () const |
|
void | setMetaData (const JSONNode &node) |
|
void | setMetaData (const String &index, const JSONNode &node) |
|
void | setMetaData (const String &index, const String &data) |
|
void | setMetaData (const String &index, const bool &data) |
|
void | setMetaData (const String &index, const fltp08 &data) |
|
void | setMetaData (const String &index, const uint04 &data) |
|
void | clearMetaData (const String &index) |
|
void | updateMetaData (const String &index, const String &data, const void *lock_ptr=nullptr) |
|
void | updateMetaData (const String &index, const fltp08 &data, const void *lock_ptr=nullptr) |
|
void | updateMetaData (const String &index, const bool &data, const void *lock_ptr=nullptr) |
|
void | removeMetaData (const String &index, const void *lock_ptr=nullptr) |
|
void | appendData (const String &data, bool compressed) |
|
uint04 | index () const |
|
uint04 | designIndex () const |
|
const DynamicPointer< Table > & | propertyTable () const |
|
DynamicPointer< Table > & | propertyTable () |
|
bool | operator== (const DesignObject &model) const |
|
bool | operator!= (const DesignObject &model) const |
|
bool | operator< (const DesignObject &model) const |
|
bool | operator> (const DesignObject &model) const |
|
| operator bool () const |
|
DesignObjectBase & | base () const |
|
UUID | uuid () const |
|
void | updateDesignTransform (const Matrix< fltp08 > &transform, const void *lock=nullptr) |
|
void | setDesignVisible (bool is_visible) |
|
void | updateDesignVisible (bool is_visible, const void *lock=nullptr) |
|
Matrix< fltp08 > | getTransform () const |
|
bool | isValid () const |
|
Scene | getScene () const |
|