16 #if !defined(ON_MODEL_GEOMETRY_INC_) 17 #define ON_MODEL_GEOMETRY_INC_ 43 bool IsInstanceDefinitionGeometry()
const;
56 ON_ModelGeometryComponent& operator=(const ON_ModelGeometryComponent&);
58 #if defined(ON_HAS_RVALUEREF) 60 ON_ModelGeometryComponent( ON_ModelGeometryComponent&& ) ON_NOEXCEPT;
62 ON_ModelGeometryComponent& operator=( ON_ModelGeometryComponent&& );
84 static ON_ModelGeometryComponent* Create(
87 ON_ModelGeometryComponent* model_geometry_component
106 static ON_ModelGeometryComponent* CreateManaged(
109 ON_ModelGeometryComponent* model_geometry_component
130 static ON_ModelGeometryComponent* CreateForExperts(
131 bool bManageGeometry,
133 bool bManageAttributes,
135 ON_ModelGeometryComponent* model_geometry_component
173 #pragma ON_PRAGMA_WARNING_PUSH 174 #pragma ON_PRAGMA_WARNING_DISABLE_MSC( 4251 ) 179 std::shared_ptr<ON_Geometry> m_geometry_sp;
181 std::shared_ptr<ON_3dmObjectAttributes> m_attributes_sp;
182 #pragma ON_PRAGMA_WARNING_POP 185 #if defined(ON_DLL_TEMPLATE) The ON_ModelComponent class is a base class for all components in a model and manages the index...
Definition: opennurbs_model_component.h:24
virtual bool UpdateReferencedComponents(const class ON_ComponentManifest &source_manifest, const class ON_ComponentManifest &destination_manifest, const class ON_ManifestMap &manifest_map)
Uses the destination_manifest to update references to other components. This is typically done when a...
void Dump(ON_TextLog &) const override
Creates a text dump of the object.
ON_ManifestIdentificationMap is used to record a map from a source manifest to a destination manifest...
Definition: opennurbs_archive.h:1464
Definition: opennurbs_array.h:36
Base class for all geometry classes that must provide runtime class id. Provides interface for common...
Definition: opennurbs_geometry.h:37
Type
The ON_ModelComponent::Type enum has a value for each explicit component type and two special values...
Definition: opennurbs_model_component.h:52
Attributes
Definition: opennurbs_model_component.h:258
Definition: opennurbs_archive.h:478
static const ON_ModelComponent Unset
Definition: opennurbs_model_component.h:222
Top level OpenNURBS objects have geometry and attributes. The geometry is stored in some class derive...
Definition: opennurbs_3dm_attributes.h:41
Used to store geometry table object definition and attributes in an ONX_Model.
Definition: opennurbs_model_geometry.h:22
Pure virtual base class for all classes that must provide runtime class id or support object level 3D...
Definition: opennurbs_object.h:460
Definition: opennurbs_textlog.h:20
Definition: opennurbs_model_component.h:1622