Point Cloud Library (PCL)  1.14.1-dev
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes
ON_HistoryRecord Class Reference

#include <pcl/surface/3rdparty/opennurbs/opennurbs_object_history.h>

+ Inheritance diagram for ON_HistoryRecord:
+ Collaboration diagram for ON_HistoryRecord:

Public Types

enum  RECORD_TYPE { history_parameters = 0 , feature_parameters = 1 , force_32bit_record_type = 0xFFFFFFFF }
 

Public Member Functions

 ON_HistoryRecord ()
 
 ~ON_HistoryRecord ()
 
 ON_HistoryRecord (const ON_HistoryRecord &src)
 
ON_HistoryRecordoperator= (const ON_HistoryRecord &src)
 
ON_BOOL32 IsValid (ON_TextLog *text_log=NULL) const
 
void Dump (ON_TextLog &) const
 
ON_BOOL32 Write (ON_BinaryArchive &binary_archive) const
 
ON_BOOL32 Read (ON_BinaryArchive &binary_archive)
 
ON_UUID ModelObjectId () const
 
void Destroy ()
 
void DestroyValue (int value_id)
 
bool SetBoolValue (int value_id, bool b)
 
bool SetIntValue (int value_id, int i)
 
bool SetDoubleValue (int value_id, double x)
 
bool SetPointValue (int value_id, ON_3dPoint p)
 
bool SetVectorValue (int value_id, ON_3dVector v)
 
bool SetXformValue (int value_id, ON_Xform xform)
 
bool SetColorValue (int value_id, ON_Color c)
 
bool SetObjRefValue (int value_id, const ON_ObjRef &oref)
 
bool SetPointOnObjectValue (int value_id, const ON_ObjRef &oref, ON_3dPoint point)
 
bool SetUuidValue (int value_id, ON_UUID uuid)
 
bool SetStringValue (int value_id, const wchar_t *s)
 
bool SetGeometryValue (int value_id, ON_Geometry *g)
 
bool SetPolyEdgeValue (int value_id, const ON_PolyEdgeHistory &polyedge)
 
bool SetBoolValues (int value_id, int count, const bool *b)
 
bool SetIntValues (int value_id, int count, const int *i)
 
bool SetDoubleValues (int value_id, int count, const double *x)
 
bool SetPointValues (int value_id, int count, const ON_3dPoint *P)
 
bool SetVectorValues (int value_id, int count, const ON_3dVector *V)
 
bool SetXformValues (int value_id, int count, const ON_Xform *xform)
 
bool SetColorValues (int value_id, int count, const ON_Color *c)
 
bool SetObjRefValues (int value_id, int count, const ON_ObjRef *oref)
 
bool SetUuidValues (int value_id, int count, const ON_UUID *u)
 
bool SetStringValues (int value_id, int count, const wchar_t *const *s)
 
bool SetStringValues (int value_id, const ON_ClassArray< ON_wString > &s)
 
bool SetGeometryValues (int value_id, const ON_SimpleArray< ON_Geometry * > a)
 
bool SetPolyEdgeValues (int value_id, int count, const ON_PolyEdgeHistory *a)
 
bool GetStringValue (int value_id, ON_wString &str) const
 
bool GetBoolValue (int value_id, bool *b) const
 
bool GetIntValue (int value_id, int *i) const
 
bool GetDoubleValue (int value_id, double *number) const
 
bool GetPointValue (int value_id, ON_3dPoint &point) const
 
bool GetVectorValue (int value_id, ON_3dVector &point) const
 
bool GetXformValue (int value_id, ON_Xform &point) const
 
bool GetColorValue (int value_id, ON_Color *color) const
 
bool GetObjRefValue (int value_id, ON_ObjRef &oref) const
 
bool GetPointOnObjectValue (int value_id, ON_ObjRef &oref) const
 
bool GetCurveValue (int value_id, const ON_Curve *&) const
 
bool GetSurfaceValue (int value_id, const ON_Surface *&) const
 
bool GetBrepValue (int value_id, const ON_Brep *&) const
 
bool GetMeshValue (int value_id, const ON_Mesh *&) const
 
bool GetGeometryValue (int value_id, const ON_Geometry *&) const
 
bool GetUuidValue (int value_id, ON_UUID *uuid) const
 
bool GetPolyEdgeValue (int value_id, const ON_PolyEdgeHistory *&polyedge) const
 
int GetStringValues (int value_id, ON_ClassArray< ON_wString > &string) const
 
int GetBoolValues (int value_id, ON_SimpleArray< bool > &) const
 
int GetIntValues (int value_id, ON_SimpleArray< int > &) const
 
int GetDoubleValues (int value_id, ON_SimpleArray< double > &) const
 
int GetPointValues (int value_id, ON_SimpleArray< ON_3dPoint > &) const
 
int GetVectorValues (int value_id, ON_SimpleArray< ON_3dVector > &) const
 
int GetXformValues (int value_id, ON_SimpleArray< ON_Xform > &) const
 
int GetColorValues (int value_id, ON_SimpleArray< ON_Color > &) const
 
int GetObjRefValues (int value_id, ON_ClassArray< ON_ObjRef > &objects) const
 
int GetGeometryValues (int value_id, ON_SimpleArray< const ON_Geometry * > &) const
 
int GetUuidValues (int value_id, ON_SimpleArray< ON_UUID > &) const
 
int GetPolyEdgeValues (int value_id, ON_SimpleArray< const ON_PolyEdgeHistory * > &) const
 
bool IsAntecedent (ON_UUID object_uuid) const
 
int ValueReport (ON_TextLog &text_log) const
 
void RemapObjectIds (const ON_SimpleArray< ON_UuidPair > &uuid_remap)
 
- Public Member Functions inherited from ON_Object
bool CopyFrom (const ON_Object *src)
 
 ON_Object ()
 
 ON_Object (const ON_Object &)
 
ON_Objectoperator= (const ON_Object &)
 
virtual ~ON_Object ()
 
void EmergencyDestroy ()
 
virtual void MemoryRelocate ()
 
ON_BOOL32 IsKindOf (const ON_ClassId *pClassId) const
 
virtual unsigned int SizeOf () const
 
virtual ON__UINT32 DataCRC (ON__UINT32 current_remainder) const
 
virtual ON::object_type ObjectType () const
 
bool SetUserString (const wchar_t *key, const wchar_t *string_value)
 
int SetUserStrings (int count, const ON_UserString *user_strings, bool bReplace)
 
bool GetUserString (const wchar_t *key, ON_wString &string_value) const
 
int GetUserStrings (ON_ClassArray< ON_UserString > &user_strings) const
 
int GetUserStringKeys (ON_ClassArray< ON_wString > &user_string_keys) const
 
int UserStringCount () const
 
ON_BOOL32 AttachUserData (ON_UserData *pUserData)
 
ON_BOOL32 DetachUserData (ON_UserData *pUserData)
 
ON_UserDataGetUserData (const ON_UUID &userdata_uuid) const
 
void PurgeUserData ()
 
ON_UserDataFirstUserData () const
 
void TransformUserData (const ON_Xform &xform)
 
void CopyUserData (const ON_Object &source_object)
 
void MoveUserData (ON_Object &source_object)
 
virtual void DestroyRuntimeCache (bool bDelete=true)
 

Static Public Member Functions

static RECORD_TYPE RecordType (int i)
 

Public Attributes

ON_UUID m_command_id
 
int m_version
 
RECORD_TYPE m_record_type
 
ON_UUID m_record_id
 
ON_UuidList m_antecedents
 
ON_UuidList m_descendants
 
ON_SimpleArray< class ON_Value * > m_value
 

Detailed Description

Definition at line 83 of file opennurbs_object_history.h.

Member Enumeration Documentation

◆ RECORD_TYPE

Enumerator
history_parameters 
feature_parameters 
force_32bit_record_type 

Definition at line 273 of file opennurbs_object_history.h.

Constructor & Destructor Documentation

◆ ON_HistoryRecord() [1/2]

ON_HistoryRecord::ON_HistoryRecord ( )

◆ ~ON_HistoryRecord()

ON_HistoryRecord::~ON_HistoryRecord ( )

◆ ON_HistoryRecord() [2/2]

ON_HistoryRecord::ON_HistoryRecord ( const ON_HistoryRecord src)

Member Function Documentation

◆ Destroy()

void ON_HistoryRecord::Destroy ( )

◆ DestroyValue()

void ON_HistoryRecord::DestroyValue ( int  value_id)

◆ Dump()

void ON_HistoryRecord::Dump ( ON_TextLog ) const
virtual

Reimplemented from ON_Object.

◆ GetBoolValue()

bool ON_HistoryRecord::GetBoolValue ( int  value_id,
bool *  b 
) const

◆ GetBoolValues()

int ON_HistoryRecord::GetBoolValues ( int  value_id,
ON_SimpleArray< bool > &   
) const

◆ GetBrepValue()

bool ON_HistoryRecord::GetBrepValue ( int  value_id,
const ON_Brep *&   
) const

◆ GetColorValue()

bool ON_HistoryRecord::GetColorValue ( int  value_id,
ON_Color color 
) const

◆ GetColorValues()

int ON_HistoryRecord::GetColorValues ( int  value_id,
ON_SimpleArray< ON_Color > &   
) const

◆ GetCurveValue()

bool ON_HistoryRecord::GetCurveValue ( int  value_id,
const ON_Curve *&   
) const

◆ GetDoubleValue()

bool ON_HistoryRecord::GetDoubleValue ( int  value_id,
double *  number 
) const

◆ GetDoubleValues()

int ON_HistoryRecord::GetDoubleValues ( int  value_id,
ON_SimpleArray< double > &   
) const

◆ GetGeometryValue()

bool ON_HistoryRecord::GetGeometryValue ( int  value_id,
const ON_Geometry *&   
) const

◆ GetGeometryValues()

int ON_HistoryRecord::GetGeometryValues ( int  value_id,
ON_SimpleArray< const ON_Geometry * > &   
) const

◆ GetIntValue()

bool ON_HistoryRecord::GetIntValue ( int  value_id,
int *  i 
) const

◆ GetIntValues()

int ON_HistoryRecord::GetIntValues ( int  value_id,
ON_SimpleArray< int > &   
) const

◆ GetMeshValue()

bool ON_HistoryRecord::GetMeshValue ( int  value_id,
const ON_Mesh *&   
) const

◆ GetObjRefValue()

bool ON_HistoryRecord::GetObjRefValue ( int  value_id,
ON_ObjRef oref 
) const

◆ GetObjRefValues()

int ON_HistoryRecord::GetObjRefValues ( int  value_id,
ON_ClassArray< ON_ObjRef > &  objects 
) const

◆ GetPointOnObjectValue()

bool ON_HistoryRecord::GetPointOnObjectValue ( int  value_id,
ON_ObjRef oref 
) const

◆ GetPointValue()

bool ON_HistoryRecord::GetPointValue ( int  value_id,
ON_3dPoint point 
) const

◆ GetPointValues()

int ON_HistoryRecord::GetPointValues ( int  value_id,
ON_SimpleArray< ON_3dPoint > &   
) const

◆ GetPolyEdgeValue()

bool ON_HistoryRecord::GetPolyEdgeValue ( int  value_id,
const ON_PolyEdgeHistory *&  polyedge 
) const

◆ GetPolyEdgeValues()

int ON_HistoryRecord::GetPolyEdgeValues ( int  value_id,
ON_SimpleArray< const ON_PolyEdgeHistory * > &   
) const

◆ GetStringValue()

bool ON_HistoryRecord::GetStringValue ( int  value_id,
ON_wString str 
) const

◆ GetStringValues()

int ON_HistoryRecord::GetStringValues ( int  value_id,
ON_ClassArray< ON_wString > &  string 
) const

◆ GetSurfaceValue()

bool ON_HistoryRecord::GetSurfaceValue ( int  value_id,
const ON_Surface *&   
) const

◆ GetUuidValue()

bool ON_HistoryRecord::GetUuidValue ( int  value_id,
ON_UUID uuid 
) const

◆ GetUuidValues()

int ON_HistoryRecord::GetUuidValues ( int  value_id,
ON_SimpleArray< ON_UUID > &   
) const

◆ GetVectorValue()

bool ON_HistoryRecord::GetVectorValue ( int  value_id,
ON_3dVector point 
) const

◆ GetVectorValues()

int ON_HistoryRecord::GetVectorValues ( int  value_id,
ON_SimpleArray< ON_3dVector > &   
) const

◆ GetXformValue()

bool ON_HistoryRecord::GetXformValue ( int  value_id,
ON_Xform point 
) const

◆ GetXformValues()

int ON_HistoryRecord::GetXformValues ( int  value_id,
ON_SimpleArray< ON_Xform > &   
) const

◆ IsAntecedent()

bool ON_HistoryRecord::IsAntecedent ( ON_UUID  object_uuid) const

◆ IsValid()

ON_BOOL32 ON_HistoryRecord::IsValid ( ON_TextLog text_log = NULL) const
virtual

Implements ON_Object.

◆ ModelObjectId()

ON_UUID ON_HistoryRecord::ModelObjectId ( ) const
virtual

Reimplemented from ON_Object.

◆ operator=()

ON_HistoryRecord& ON_HistoryRecord::operator= ( const ON_HistoryRecord src)

◆ Read()

ON_BOOL32 ON_HistoryRecord::Read ( ON_BinaryArchive binary_archive)
virtual

Reimplemented from ON_Object.

◆ RecordType()

static RECORD_TYPE ON_HistoryRecord::RecordType ( int  i)
static

◆ RemapObjectIds()

void ON_HistoryRecord::RemapObjectIds ( const ON_SimpleArray< ON_UuidPair > &  uuid_remap)

◆ SetBoolValue()

bool ON_HistoryRecord::SetBoolValue ( int  value_id,
bool  b 
)

◆ SetBoolValues()

bool ON_HistoryRecord::SetBoolValues ( int  value_id,
int  count,
const bool *  b 
)

◆ SetColorValue()

bool ON_HistoryRecord::SetColorValue ( int  value_id,
ON_Color  c 
)

◆ SetColorValues()

bool ON_HistoryRecord::SetColorValues ( int  value_id,
int  count,
const ON_Color c 
)

◆ SetDoubleValue()

bool ON_HistoryRecord::SetDoubleValue ( int  value_id,
double  x 
)

◆ SetDoubleValues()

bool ON_HistoryRecord::SetDoubleValues ( int  value_id,
int  count,
const double *  x 
)

◆ SetGeometryValue()

bool ON_HistoryRecord::SetGeometryValue ( int  value_id,
ON_Geometry g 
)

◆ SetGeometryValues()

bool ON_HistoryRecord::SetGeometryValues ( int  value_id,
const ON_SimpleArray< ON_Geometry * >  a 
)

◆ SetIntValue()

bool ON_HistoryRecord::SetIntValue ( int  value_id,
int  i 
)

◆ SetIntValues()

bool ON_HistoryRecord::SetIntValues ( int  value_id,
int  count,
const int *  i 
)

◆ SetObjRefValue()

bool ON_HistoryRecord::SetObjRefValue ( int  value_id,
const ON_ObjRef oref 
)

◆ SetObjRefValues()

bool ON_HistoryRecord::SetObjRefValues ( int  value_id,
int  count,
const ON_ObjRef oref 
)

◆ SetPointOnObjectValue()

bool ON_HistoryRecord::SetPointOnObjectValue ( int  value_id,
const ON_ObjRef oref,
ON_3dPoint  point 
)

◆ SetPointValue()

bool ON_HistoryRecord::SetPointValue ( int  value_id,
ON_3dPoint  p 
)

◆ SetPointValues()

bool ON_HistoryRecord::SetPointValues ( int  value_id,
int  count,
const ON_3dPoint P 
)

◆ SetPolyEdgeValue()

bool ON_HistoryRecord::SetPolyEdgeValue ( int  value_id,
const ON_PolyEdgeHistory polyedge 
)

◆ SetPolyEdgeValues()

bool ON_HistoryRecord::SetPolyEdgeValues ( int  value_id,
int  count,
const ON_PolyEdgeHistory a 
)

◆ SetStringValue()

bool ON_HistoryRecord::SetStringValue ( int  value_id,
const wchar_t *  s 
)

◆ SetStringValues() [1/2]

bool ON_HistoryRecord::SetStringValues ( int  value_id,
const ON_ClassArray< ON_wString > &  s 
)

◆ SetStringValues() [2/2]

bool ON_HistoryRecord::SetStringValues ( int  value_id,
int  count,
const wchar_t *const *  s 
)

◆ SetUuidValue()

bool ON_HistoryRecord::SetUuidValue ( int  value_id,
ON_UUID  uuid 
)

◆ SetUuidValues()

bool ON_HistoryRecord::SetUuidValues ( int  value_id,
int  count,
const ON_UUID u 
)

◆ SetVectorValue()

bool ON_HistoryRecord::SetVectorValue ( int  value_id,
ON_3dVector  v 
)

◆ SetVectorValues()

bool ON_HistoryRecord::SetVectorValues ( int  value_id,
int  count,
const ON_3dVector V 
)

◆ SetXformValue()

bool ON_HistoryRecord::SetXformValue ( int  value_id,
ON_Xform  xform 
)

◆ SetXformValues()

bool ON_HistoryRecord::SetXformValues ( int  value_id,
int  count,
const ON_Xform xform 
)

◆ ValueReport()

int ON_HistoryRecord::ValueReport ( ON_TextLog text_log) const

◆ Write()

ON_BOOL32 ON_HistoryRecord::Write ( ON_BinaryArchive binary_archive) const
virtual

Reimplemented from ON_Object.

Member Data Documentation

◆ m_antecedents

ON_UuidList ON_HistoryRecord::m_antecedents

Definition at line 300 of file opennurbs_object_history.h.

◆ m_command_id

ON_UUID ON_HistoryRecord::m_command_id

Definition at line 265 of file opennurbs_object_history.h.

◆ m_descendants

ON_UuidList ON_HistoryRecord::m_descendants

Definition at line 304 of file opennurbs_object_history.h.

◆ m_record_id

ON_UUID ON_HistoryRecord::m_record_id

Definition at line 295 of file opennurbs_object_history.h.

◆ m_record_type

RECORD_TYPE ON_HistoryRecord::m_record_type

Definition at line 280 of file opennurbs_object_history.h.

◆ m_value

ON_SimpleArray< class ON_Value* > ON_HistoryRecord::m_value

Definition at line 308 of file opennurbs_object_history.h.

◆ m_version

int ON_HistoryRecord::m_version

Definition at line 271 of file opennurbs_object_history.h.


The documentation for this class was generated from the following file: