#include <opennurbs_object.h>
Public Member Functions | |
ON_BOOL32 | AttachUserData (ON_UserData *pUserData) |
bool | CopyFrom (const ON_Object *src) |
void | CopyUserData (const ON_Object &source_object) |
virtual ON__UINT32 | DataCRC (ON__UINT32 current_remainder) const |
virtual void | DestroyRuntimeCache (bool bDelete=true) |
ON_BOOL32 | DetachUserData (ON_UserData *pUserData) |
virtual void | Dump (ON_TextLog &) const |
void | EmergencyDestroy () |
ON_UserData * | FirstUserData () const |
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 |
ON_BOOL32 | IsKindOf (const ON_ClassId *pClassId) const |
virtual ON_BOOL32 | IsValid (ON_TextLog *text_log=NULL) const =0 |
virtual void | MemoryRelocate () |
virtual ON_UUID | ModelObjectId () const |
void | MoveUserData (ON_Object &source_object) |
virtual ON::object_type | ObjectType () const |
ON_Object () | |
ON_Object (const ON_Object &) | |
ON_Object & | operator= (const ON_Object &) |
void | PurgeUserData () |
virtual ON_BOOL32 | Read (ON_BinaryArchive &binary_archive) |
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 ON_Xform &xform) |
int | UserStringCount () const |
virtual ON_BOOL32 | Write (ON_BinaryArchive &binary_archive) const |
virtual | ~ON_Object () |
Private Member Functions | |
ON_OBJECT_DECLARE (ON_Object) | |
Private Attributes | |
ON_UserData * | m_userdata_list |
Friends | |
int | ON_BinaryArchive::ReadObject (ON_Object **) |
bool | ON_BinaryArchive::ReadObjectUserData (ON_Object &) |
bool | ON_BinaryArchive::WriteObject (const ON_Object &) |
bool | ON_BinaryArchive::WriteObjectUserData (const ON_Object &) |
class | ON_UserData |
Definition at line 376 of file opennurbs_object.h.
Definition at line 1292 of file opennurbs_object.cpp.
ON_Object::ON_Object | ( | const ON_Object & | src | ) |
Definition at line 1297 of file opennurbs_object.cpp.
ON_Object::~ON_Object | ( | ) | [virtual] |
Definition at line 1314 of file opennurbs_object.cpp.
ON_BOOL32 ON_Object::AttachUserData | ( | ON_UserData * | pUserData | ) |
Definition at line 1358 of file opennurbs_object.cpp.
bool ON_Object::CopyFrom | ( | const ON_Object * | src | ) |
Definition at line 1279 of file opennurbs_object.cpp.
void ON_Object::CopyUserData | ( | const ON_Object & | source_object | ) |
Definition at line 1479 of file opennurbs_object.cpp.
ON__UINT32 ON_Object::DataCRC | ( | ON__UINT32 | current_remainder | ) | const [virtual] |
Reimplemented in ON_PerObjectMeshParameters, ON__LayerSettingsUserData, ON_Brep, ON__IDefAlternativePathUserData, ON_NurbsCage, ON_BrepFace, ON__LayerExtensions, ON_Mesh, ON__IDefLayerSettingsUserData, ON_ClippingPlaneSurface, ON_DocumentUserStringList, ON_UserStringList, ON_BrepEdge, ON_SumSurface, ON_NurbsSurface, ON_RevSurface, ON_NurbsCurve, ON_BrepVertex, ON_SurfaceProxy, ON_PolyCurve, ON_CurveProxy, ON_MeshDoubleVertices, ON_PlaneSurface, ON_Extrusion, ON_ArcCurve, ON_LineCurve, and ON_PolylineCurve.
Definition at line 1637 of file opennurbs_object.cpp.
void ON_Object::DestroyRuntimeCache | ( | bool | bDelete = true | ) | [virtual] |
Reimplemented in ON_MorphControl, ON_Brep, ON_NurbsCage, ON_Mesh, ON_BrepFace, ON_BrepLoop, ON_BrepTrim, ON_PolyEdgeSegment, ON_Curve, ON_Surface, ON_CurveProxy, ON_PolyCurve, ON_PolyEdgeCurve, ON_SurfaceProxy, ON_SumSurface, and ON_RevSurface.
Definition at line 1705 of file opennurbs_object.cpp.
ON_BOOL32 ON_Object::DetachUserData | ( | ON_UserData * | pUserData | ) |
Definition at line 1388 of file opennurbs_object.cpp.
void ON_Object::Dump | ( | ON_TextLog & | dump | ) | const [virtual] |
Reimplemented in ON_AngularDimension2Extra, ON_MeshFaceRef, ON_MeshEdgeRef, ON_MeshVertexRef, ON_TextDot, ON_Brep, ON_MorphControl, ON_NurbsCage, ON_BrepFace, ON_Mesh, ON_BrepLoop, ON_ClippingPlaneSurface, ON_Hatch, ON_BrepTrim, ON_DocumentUserStringList, ON_HatchPattern, ON_BrepEdge, ON_UserStringList, ON_NurbsSurface, ON_UnknownUserData, ON_CurveProxy, ON_NurbsCurve, ON_Annotation, ON_DimensionExtra, ON_SumSurface, ON_ArcCurve, ON_RevSurface, ON_PolyCurve, ON_AnnotationArrow, ON_BrepVertex, ON_TextExtra, ON_InstanceDefinition, ON_HistoryRecord, ON_SurfaceProxy, ON_DimStyleExtra, ON_Viewport, ON_Font, ON_CurveOnSurface, ON_PlaneSurface, ON_PolylineCurve, ON_PointGrid, ON_LineCurve, ON_Point, ON_DimStyle, ON_Linetype, ON_PointCloud, ON_Material, ON_UserData, ON_MeshDoubleVertices, ON_AnnotationTextDot, ON_Light, ON_Layer, ON_Group, ON_TextureMapping, ON_3dmObjectAttributes, ON_Extrusion, ON_Texture, ON_Bitmap, ON_DetailView, and ON_HatchExtra.
Definition at line 1643 of file opennurbs_object.cpp.
void ON_Object::EmergencyDestroy | ( | void | ) |
Reimplemented in ON_TextDot, ON_Brep, ON_NurbsCage, ON_Mesh, ON_EmbeddedBitmap, ON_Leader, ON_TextEntity, ON_WindowsBitmap, ON_AngularDimension, ON_RadialDimension, ON_LinearDimension, ON_Annotation2, ON_NurbsSurface, ON_Annotation, ON_NurbsCurve, ON_SumSurface, ON_EmbeddedFile, ON_DimStyle, ON_PointCloud, ON_PolyCurve, ON_Bitmap, ON_PointGrid, and ON_PolylineCurve.
Definition at line 1333 of file opennurbs_object.cpp.
ON_UserData * ON_Object::FirstUserData | ( | ) | const |
Definition at line 1463 of file opennurbs_object.cpp.
ON_UserData * ON_Object::GetUserData | ( | const ON_UUID & | userdata_uuid | ) | const |
Definition at line 1416 of file opennurbs_object.cpp.
bool ON_Object::GetUserString | ( | const wchar_t * | key, |
ON_wString & | string_value | ||
) | const |
Reimplemented in ON_UserStringList.
Definition at line 1051 of file opennurbs_userdata.cpp.
int ON_Object::GetUserStringKeys | ( | ON_ClassArray< ON_wString > & | user_string_keys | ) | const |
Definition at line 1079 of file opennurbs_userdata.cpp.
int ON_Object::GetUserStrings | ( | ON_ClassArray< ON_UserString > & | user_strings | ) | const |
Definition at line 1067 of file opennurbs_userdata.cpp.
ON_BOOL32 ON_Object::IsKindOf | ( | const ON_ClassId * | pClassId | ) | const |
Definition at line 1554 of file opennurbs_object.cpp.
virtual ON_BOOL32 ON_Object::IsValid | ( | ON_TextLog * | text_log = NULL | ) | const [pure virtual] |
Implemented in ON_PerObjectMeshParameters, ON_MeshFaceRef, ON_MeshEdgeRef, ON_MeshVertexRef, ON_TextDot, ON__LayerSettingsUserData, ON_Leader2, ON_TextEntity2, ON_OrdinateDimension2, ON_Brep, ON_MorphControl, ON__IDefAlternativePathUserData, ON_AngularDimension2, ON_BrepRegion, ON_RadialDimension2, ON_BrepFaceSide, ON_LinearDimension2, ON_NurbsCage, ON_BrepFace, ON__LayerExtensions, ON_Mesh, ON__IDefLayerSettingsUserData, ON_BrepLoop, ON_EmbeddedBitmap, ON_Hatch, ON_BrepTrim, ON_InstanceRef, ON_DocumentUserStringList, ON_WindowsBitmap, ON_UserDataHolder, ON_HatchPattern, ON_Annotation2, ON_BrepEdge, ON_NurbsSurface, ON_UnknownUserData, ON_CurveProxy, ON_Annotation, ON_NurbsCurve, ON_EmbeddedFile, ON_MeshNgonUserData, ON_SumSurface, ON_ArcCurve, ON_RevSurface, ON_AnnotationArrow, ON_BrepVertex, ON_InstanceDefinition, ON_HistoryRecord, ON_SurfaceProxy, ON_PolyCurve, ON_CurveOnSurface, ON_Font, ON_PlaneSurface, ON_PointGrid, ON_Viewport, ON_LineCurve, ON_Point, ON_PolylineCurve, ON_DimStyle, ON_Linetype, ON_Material, ON_PointCloud, ON_MeshDoubleVertices, ON_AnnotationTextDot, ON_Light, ON_Layer, ON_Group, ON_UserData, ON_TextureMapping, ON_3dmObjectAttributes, ON_Extrusion, ON_Texture, and ON_DetailView.
void ON_Object::MemoryRelocate | ( | ) | [virtual] |
Reimplemented in ON_MorphControl, ON_Brep, ON_Mesh, and ON_DetailView.
Definition at line 1543 of file opennurbs_object.cpp.
ON_UUID ON_Object::ModelObjectId | ( | ) | const [virtual] |
Reimplemented in ON_HatchPattern, ON_InstanceDefinition, ON_HistoryRecord, ON_Font, ON_Linetype, ON_DimStyle, ON_Material, ON_Light, ON_TextureMapping, ON_Layer, and ON_Bitmap.
Definition at line 1570 of file opennurbs_object.cpp.
void ON_Object::MoveUserData | ( | ON_Object & | source_object | ) |
Definition at line 1493 of file opennurbs_object.cpp.
ON::object_type ON_Object::ObjectType | ( | ) | const [virtual] |
Reimplemented in ON_MeshFaceRef, ON_MeshEdgeRef, ON_MeshVertexRef, ON_TextDot, ON_Brep, ON_MorphControl, ON_NurbsCage, ON_Mesh, ON_ClippingPlaneSurface, ON_Hatch, ON_InstanceRef, ON_Annotation2, ON_BrepEdge, ON_Annotation, ON_Curve, ON_AnnotationArrow, ON_InstanceDefinition, ON_Surface, ON_PointGrid, ON_Point, ON_Material, ON_PointCloud, ON_Light, ON_Layer, ON_Extrusion, and ON_DetailView.
Definition at line 1564 of file opennurbs_object.cpp.
ON_Object::ON_OBJECT_DECLARE | ( | ON_Object | ) | [private] |
Definition at line 1304 of file opennurbs_object.cpp.
void ON_Object::PurgeUserData | ( | ) |
Definition at line 1339 of file opennurbs_object.cpp.
ON_BOOL32 ON_Object::Read | ( | ON_BinaryArchive & | binary_archive | ) | [virtual] |
Reimplemented in ON_OBSOLETE_CCustomMeshUserData, ON_PerObjectMeshParameters, ON_AngularDimension2Extra, ON_TextDot, ON__LayerSettingsUserData, ON_Leader2, ON_TextEntity2, ON_Brep, ON_OrdinateDimension2, ON_MorphControl, ON_AngularDimension2, ON__IDefAlternativePathUserData, ON_BrepRegion, ON_BrepFaceSide, ON_RadialDimension2, ON__OBSOLETE__CircleCurve, ON_NurbsCage, ON_LinearDimension2, ON_BrepFace, ON__LayerExtensions, ON_Mesh, ON__IDefLayerSettingsUserData, ON_BrepLoop, ON_ClippingPlaneSurface, ON_EmbeddedBitmap, ON_WindowsBitmapEx, ON_Hatch, ON_BrepTrim, ON_InstanceRef, ON_DocumentUserStringList, ON_WindowsBitmap, ON_TextEntity, ON_AngularDimension, ON_HatchPattern, ON_Annotation2, ON_BrepEdge, ON_UserStringList, ON_NurbsSurface, ON_UnknownUserData, ON_CurveProxy, ON_NurbsCurve, ON_Annotation, ON_EmbeddedFile, ON_DimensionExtra, ON_MeshNgonUserData, ON_SumSurface, ON_PolyEdgeSegment, ON_ArcCurve, ON_RevSurface, ON_PolyCurve, ON_AnnotationArrow, ON_Viewport, ON_TextExtra, ON_BrepVertex, ON_InstanceDefinition, ON_SurfaceProxy, ON_HistoryRecord, ON_DimStyleExtra, ON_Font, ON_CurveOnSurface, ON_PlaneSurface, ON_PolylineCurve, ON_Linetype, ON_PointGrid, ON_DimStyle, ON_LineCurve, ON_Point, ON_Material, ON_PointCloud, ON_Light, ON_TextureMapping, ON_AnnotationTextDot, ON_Layer, ON_Group, ON_MeshDoubleVertices, ON_Texture, ON_3dmObjectAttributes, ON_Extrusion, ON_DetailView, ON_HatchExtra, and ON_BrepRegionTopologyUserData.
Definition at line 1682 of file opennurbs_object.cpp.
bool ON_Object::SetUserString | ( | const wchar_t * | key, |
const wchar_t * | string_value | ||
) |
Reimplemented in ON_UserStringList.
Definition at line 973 of file opennurbs_userdata.cpp.
int ON_Object::SetUserStrings | ( | int | count, |
const ON_UserString * | user_strings, | ||
bool | bReplace | ||
) |
Reimplemented in ON_UserStringList.
Definition at line 1017 of file opennurbs_userdata.cpp.
unsigned int ON_Object::SizeOf | ( | ) | const [virtual] |
Reimplemented in ON_PerObjectMeshParameters, ON_AngularDimension2Extra, ON_MeshFaceRef, ON_MeshEdgeRef, ON_MeshVertexRef, ON__LayerSettingsUserData, ON_MorphControl, ON_Brep, ON__IDefAlternativePathUserData, ON_NurbsCage, ON__LayerExtensions, ON_BrepFace, ON_Mesh, ON__IDefLayerSettingsUserData, ON_BrepLoop, ON_ClippingPlaneSurface, ON_BrepTrim, ON_UserStringList, ON_BrepEdge, ON_UnknownUserData, ON_DimensionExtra, ON_MeshNgonUserData, ON_SumSurface, ON_Curve, ON_InstanceDefinition, ON_NurbsSurface, ON_TextExtra, ON_RevSurface, ON_DimStyleExtra, ON_Surface, ON_NurbsCurve, ON_BrepVertex, ON_SurfaceProxy, ON_UserData, ON_PolyCurve, ON_MeshDoubleVertices, ON_CurveProxy, ON_TextureMapping, ON_3dmObjectAttributes, ON_Extrusion, ON_CurveOnSurface, ON_PlaneSurface, ON_Texture, ON_ArcCurve, ON_LineCurve, ON_PolylineCurve, ON_DetailView, ON_HatchExtra, and ON_BrepRegionTopologyUserData.
Definition at line 1625 of file opennurbs_object.cpp.
void ON_Object::TransformUserData | ( | const ON_Xform & | xform | ) |
Definition at line 1469 of file opennurbs_object.cpp.
int ON_Object::UserStringCount | ( | ) | const |
Definition at line 1058 of file opennurbs_userdata.cpp.
ON_BOOL32 ON_Object::Write | ( | ON_BinaryArchive & | binary_archive | ) | const [virtual] |
Reimplemented in ON_PerObjectMeshParameters, ON_AngularDimension2Extra, ON_TextDot, ON__LayerSettingsUserData, ON_Leader2, ON_TextEntity2, ON_Brep, ON_OrdinateDimension2, ON_MorphControl, ON_AngularDimension2, ON__IDefAlternativePathUserData, ON_BrepRegion, ON_BrepFaceSide, ON_RadialDimension2, ON_NurbsCage, ON_LinearDimension2, ON_BrepFace, ON__LayerExtensions, ON_Mesh, ON__IDefLayerSettingsUserData, ON_BrepLoop, ON_ClippingPlaneSurface, ON_EmbeddedBitmap, ON_WindowsBitmapEx, ON_Hatch, ON_BrepTrim, ON_InstanceRef, ON_DocumentUserStringList, ON_WindowsBitmap, ON_TextEntity, ON_AngularDimension, ON_HatchPattern, ON_Annotation2, ON_BrepEdge, ON_UserStringList, ON_NurbsSurface, ON_UnknownUserData, ON_CurveProxy, ON_NurbsCurve, ON_Annotation, ON_EmbeddedFile, ON_DimensionExtra, ON_MeshNgonUserData, ON_SumSurface, ON_PolyEdgeSegment, ON_ArcCurve, ON_RevSurface, ON_PolyCurve, ON_AnnotationArrow, ON_TextExtra, ON_BrepVertex, ON_InstanceDefinition, ON_SurfaceProxy, ON_HistoryRecord, ON_DimStyleExtra, ON_Viewport, ON_Font, ON_CurveOnSurface, ON_PlaneSurface, ON_PolylineCurve, ON_PointGrid, ON_Linetype, ON_DimStyle, ON_LineCurve, ON_Point, ON_Material, ON_PointCloud, ON_Light, ON_TextureMapping, ON_AnnotationTextDot, ON_MeshDoubleVertices, ON_Layer, ON_Group, ON_3dmObjectAttributes, ON_Extrusion, ON_Texture, ON_DetailView, ON_HatchExtra, and ON_BrepRegionTopologyUserData.
Definition at line 1662 of file opennurbs_object.cpp.
int ON_BinaryArchive::ReadObject | ( | ON_Object ** | ) | [friend] |
Reimplemented in ON_UserData.
bool ON_BinaryArchive::ReadObjectUserData | ( | ON_Object & | ) | [friend] |
Reimplemented in ON_UserData.
bool ON_BinaryArchive::WriteObject | ( | const ON_Object & | ) | [friend] |
Reimplemented in ON_UserData.
bool ON_BinaryArchive::WriteObjectUserData | ( | const ON_Object & | ) | [friend] |
Reimplemented in ON_UserData.
friend class ON_UserData [friend] |
Definition at line 858 of file opennurbs_object.h.
ON_UserData* ON_Object::m_userdata_list [private] |
Definition at line 859 of file opennurbs_object.h.