|
| | ON_InstanceRef ()=default |
| |
| | ON_InstanceRef (const ON_InstanceRef &)=default |
| |
| | ~ON_InstanceRef ()=default |
| |
| int | Dimension () const override |
| |
| bool | GetBBox (double *boxmin, double *boxmax, bool bGrowBox=false) const override |
| | virtual ON_Geometry GetBBox override More...
|
| |
| bool | IsDeformable () const override |
| | virtual ON_Geometry::IsDeformable() override More...
|
| |
| bool | IsValid (class ON_TextLog *text_log=nullptr) const override |
| |
| bool | MakeDeformable () override |
| | virtual ON_Geometry::MakeDeformable() override More...
|
| |
| ON::object_type | ObjectType () const override |
| |
| ON_InstanceRef & | operator= (const ON_InstanceRef &)=default |
| |
| bool | Read (ON_BinaryArchive &binary_archive) override |
| |
| bool | Transform (const ON_Xform &xform) override |
| |
| bool | Write (ON_BinaryArchive &binary_archive) const override |
| |
| | ON_Geometry ()=default |
| |
| | ON_Geometry (const ON_Geometry &)=default |
| |
| | ~ON_Geometry ()=default |
| |
| ON_BoundingBox | BoundingBox () const |
| |
| virtual class ON_Brep * | BrepForm (class ON_Brep *brep=nullptr) const |
| |
| virtual void | ClearBoundingBox () |
| |
| virtual ON_COMPONENT_INDEX | ComponentIndex () const |
| |
| virtual bool | EvaluatePoint (const class ON_ObjRef &objref, ON_3dPoint &P) const |
| |
| bool | GetBoundingBox (ON_BoundingBox &bbox, bool bGrowBox=false) const |
| |
| bool | GetBoundingBox (ON_3dPoint &bbox_min, ON_3dPoint &bbox_max, bool bGrowBox=false) const |
| |
| virtual bool | GetTightBoundingBox (class ON_BoundingBox &tight_bbox, bool bGrowBox=false, const class ON_Xform *xform=nullptr) const |
| |
| virtual bool | HasBrepForm () const |
| |
| ON_Geometry & | operator= (const ON_Geometry &)=default |
| |
| bool | Rotate (double sin_angle, double cos_angle, const ON_3dVector &rotation_axis, const ON_3dPoint &rotation_center) |
| |
| bool | Rotate (double rotation_angle, const ON_3dVector &rotation_axis, const ON_3dPoint &rotation_center) |
| |
| bool | Scale (double scale_factor) |
| |
| virtual bool | SwapCoordinates (int i, int j) |
| |
| bool | Translate (const ON_3dVector &translation_vector) |
| |
| | ON_Object () ON_NOEXCEPT |
| |
| | ON_Object (const ON_Object &) |
| |
| virtual | ~ON_Object () |
| |
| virtual ON_AggregateComponentStatus | AggregateComponentStatus () const |
| |
| bool | AttachUserData (class ON_UserData *pUserData) |
| |
| unsigned int | ClearAllComponentStates () const |
| |
| virtual unsigned int | ClearComponentStates (ON_ComponentStatus states_to_clear) const |
| |
| virtual unsigned int | ClearComponentStates (ON_COMPONENT_INDEX component_index, ON_ComponentStatus states_to_clear) const |
| |
| unsigned int | CopyUserData (const ON_Object &source_object, ON_UUID source_userdata_item_id, ON_Object::UserDataConflictResolution userdata_conflict_resolution) |
| |
| void | CopyUserData (const ON_Object &source_object) |
| |
| virtual ON__UINT32 | DataCRC (ON__UINT32 current_remainder) const |
| |
| virtual bool | DeleteComponents (const ON_COMPONENT_INDEX *ci_list, size_t ci_count) |
| |
| virtual void | DestroyRuntimeCache (bool bDelete=true) |
| |
| bool | DetachUserData (class ON_UserData *pUserData) |
| |
| virtual void | Dump (ON_TextLog &) const |
| |
| void | EmergencyDestroy () |
| |
| class ON_UserData * | FirstUserData () const |
| |
| virtual unsigned int | GetComponentsWithSetStates (ON_ComponentStatus states_filter, bool bAllEqualStates, ON_SimpleArray< ON_COMPONENT_INDEX > &components) const |
| |
| class ON_UserData * | GetUserData (const ON_UUID &userdata_uuid) const |
| |
| bool | GetUserString (const wchar_t *key, ON_wString &string_value) const |
| |
| int | GetUserStringKeys (ON_ClassArray< ON_wString > &user_string_keys) const |
| |
| int | GetUserStrings (ON_ClassArray< ON_UserString > &user_strings) const |
| |
| bool | IsKindOf (const ON_ClassId *pClassId) const |
| |
| virtual void | MarkAggregateComponentStatusAsNotCurrent () const |
| |
| virtual void | MemoryRelocate () |
| |
| virtual ON_UUID | ModelObjectId () const |
| |
| unsigned int | MoveUserData (ON_Object &source_object, ON_UUID source_userdata_item_id, ON_Object::UserDataConflictResolution userdata_conflict_resolution, bool bDeleteAllSourceItems) |
| |
| void | MoveUserData (ON_Object &source_object) |
| |
| ON_Object & | operator= (const ON_Object &) |
| |
| void | PurgeUserData () |
| |
| virtual unsigned int | SetComponentStates (ON_COMPONENT_INDEX component_index, ON_ComponentStatus states_to_set) const |
| |
| virtual unsigned int | SetComponentStatus (ON_COMPONENT_INDEX component_index, ON_ComponentStatus status_to_copy) const |
| |
| bool | SetUserString (const wchar_t *key, const wchar_t *string_value) |
| |
| int | SetUserStrings (int count, const ON_UserString *user_strings, bool bReplace) |
| |
| virtual unsigned int | SizeOf () const |
| |
| void | TransformUserData (const class ON_Xform &xform) |
| |
| virtual bool | UpdateReferencedComponents (const class ON_ComponentManifest &source_manifest, const class ON_ComponentManifest &destination_manifest, const class ON_ManifestMap &manifest_map) |
| |
| int | UserStringCount () const |
| |
Description: An ON_InstanceRef is a reference to an instance definition along with transformation to apply to the definition. See Also: ON_InstanceRef
| ON::object_type ON_InstanceRef::ObjectType |
( |
| ) |
const |
|
overridevirtual |
Description: Useful for switch statements that need to differentiate between basic object types like points, curves, surfaces, and so on.
Returns: ON::object_type enum value.
Remarks: The default implementation of this virtual function returns ON::unknown_object_type
Reimplemented from ON_Object.
| bool ON_InstanceRef::Transform |
( |
const ON_Xform & |
xform | ) |
|
|
overridevirtual |
Description: Transforms the object.
Parameters: xform - [in] transformation to apply to object. If xform.IsSimilarity() is zero, then you may want to call MakeSquishy() before calling Transform.
Remarks: When overriding this function, be sure to include a call to ON_Object::TransformUserData() which takes care of transforming any ON_UserData that may be attached to the object.
See Also: ON_Geometry::IsDeformable();
Remarks: Classes derived from ON_Geometry should call ON_Geometry::Transform() to handle user data transformations and then transform their definition.
Reimplemented from ON_Geometry.