17 #if !defined(ON_OBJECT_HISTORY_INC_) 18 #define ON_OBJECT_HISTORY_INC_ 20 #if defined(ON_DLL_TEMPLATE) 44 ON__UINT8 m_reserved[64];
47 #if defined(ON_DLL_TEMPLATE) 68 ON__UINT8 m_reserved[64];
84 void Internal_Destroy();
90 bool IsValid( class
ON_TextLog* text_log =
nullptr ) const override;
101 void DestroyValue(
int value_id );
135 bool SetBoolValue(
int value_id,
bool b);
136 bool SetIntValue(
int value_id,
int i);
137 bool SetDoubleValue(
int value_id,
double x);
138 bool SetPointValue(
int value_id,
ON_3dPoint p);
140 bool SetXformValue(
int value_id,
ON_Xform xform);
141 bool SetColorValue(
int value_id,
ON_Color c);
142 bool SetObjRefValue(
int value_id, const
ON_ObjRef& oref);
144 bool SetUuidValue(
int value_id,
ON_UUID uuid );
145 bool SetStringValue(
int value_id, const
wchar_t* s );
146 bool SetGeometryValue(
int value_id,
ON_Geometry* g);
181 bool SetBoolValues(
int value_id,
int count, const
bool* b);
182 bool SetIntValues(
int value_id,
int count, const
int* i);
183 bool SetDoubleValues(
int value_id,
int count, const
double* x);
184 bool SetPointValues(
int value_id,
int count, const
ON_3dPoint* P);
185 bool SetVectorValues(
int value_id,
int count, const
ON_3dVector* V);
186 bool SetXformValues(
int value_id,
int count, const
ON_Xform* xform);
187 bool SetColorValues(
int value_id,
int count, const
ON_Color* c);
188 bool SetObjRefValues(
int value_id,
int count, const
ON_ObjRef* oref);
189 bool SetUuidValues(
int value_id,
int count, const
ON_UUID* u );
190 bool SetStringValues(
int value_id,
int count, const
wchar_t* const* s );
199 bool GetStringValue(
int value_id,
ON_wString& str ) const;
200 bool GetBoolValue(
int value_id,
bool* b ) const;
201 bool GetIntValue(
int value_id,
int* i ) const;
202 bool GetDoubleValue(
int value_id,
double* number ) const;
203 bool GetPointValue(
int value_id,
ON_3dPoint& point ) const;
204 bool GetVectorValue(
int value_id,
ON_3dVector& point ) const;
205 bool GetXformValue(
int value_id,
ON_Xform& point ) const;
206 bool GetColorValue(
int value_id,
ON_Color* color ) const;
207 bool GetObjRefValue(
int value_id,
ON_ObjRef& oref ) const;
208 bool GetPointOnObjectValue(
int value_id,
ON_ObjRef& oref ) const;
209 bool GetCurveValue(
int value_id, const
ON_Curve*& ) const;
210 bool GetSurfaceValue(
int value_id, const
ON_Surface*& ) const;
211 bool GetBrepValue(
int value_id, const
ON_Brep*& ) const;
212 bool GetMeshValue(
int value_id, const
ON_Mesh*& ) const;
213 bool GetGeometryValue(
int value_id, const
ON_Geometry*& ) const;
214 bool GetUuidValue(
int value_id,
ON_UUID* uuid ) const;
220 int GetDoubleValues(
int value_id,
ON_SimpleArray<
double>& ) const;
240 bool IsAntecedent(
ON_UUID object_uuid ) const;
251 int ValueReport(
ON_TextLog& text_log ) const;
266 history_parameters = 0,
267 feature_parameters = 1
316 bool CopyOnReplaceObject()
const;
318 void SetCopyOnReplaceObject(
319 bool bCopyOnReplaceObject
323 bool m_bValuesSorted =
true;
324 bool m_bCopyOnReplaceObject =
false;
325 ON_Value* FindValueHelper(
int,
int,
bool )
const;
328 #if defined(ON_DLL_TEMPLATE) ON_Interval m_full_real_curve_domain
Definition: opennurbs_object_history.h:34
ON_Interval m_proxy_curve_domain
Definition: opennurbs_object_history.h:36
ON_UUID is a 16 byte universally unique identifier.
Definition: opennurbs_uuid.h:32
Definition: opennurbs_object_history.h:71
ON_ObjRef m_curve_ref
Definition: opennurbs_object_history.h:32
The ON_ModelComponent class is a base class for all components in a model and manages the index...
Definition: opennurbs_model_component.h:24
ON_SimpleArray< double > m_t
Definition: opennurbs_object_history.h:65
The ON_UuidList class provides a tool to efficiently maintain a list of uuids and determine if a uuid...
Definition: opennurbs_array.h:803
Definition: opennurbs_array.h:36
ON_Curve is a pure virtual class for curve objects
Definition: opennurbs_curve.h:93
ON_Object array is used to store lists of classes that are derived from ON_Object. It differs from ON_ClassArray in that the virtual ON_Object::MemoryRelocate function is called when growing the dynamic array requires changing the location of the memory buffer used to store the elements in the array.
Definition: opennurbs_array.h:725
Definition: opennurbs_string.h:2020
RECORD_TYPE
Definition: opennurbs_object_history.h:258
Base class for all geometry classes that must provide runtime class id. Provides interface for common...
Definition: opennurbs_geometry.h:37
Definition: opennurbs_object_history.h:24
Definition: opennurbs_color.h:24
Definition: opennurbs_object_history.h:51
int m_evaluation_mode
Definition: opennurbs_object_history.h:66
ON_Interval m_sub_real_curve_domain
Definition: opennurbs_object_history.h:35
bool m_bReversed
Definition: opennurbs_object_history.h:33
Definition: opennurbs_mesh.h:2188
ON_ClassArray< ON_CurveProxyHistory > m_segment
Definition: opennurbs_object_history.h:64
Definition: opennurbs_brep.h:1472
Definition: opennurbs_textlog.h:20
Definition: opennurbs_archive.h:1783
Definition: opennurbs_objref.h:163
Definition: opennurbs_point.h:460
Definition: opennurbs_surface.h:57
static const ON_HistoryRecord Empty
Definition: opennurbs_object_history.h:75
Definition: opennurbs_point.h:1152
Definition: opennurbs_point.h:46