1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

// implement conversion into/from array2

implement getting typeName
This commit is contained in:
dpasukhi
2023-05-25 10:47:15 +01:00
committed by oan
parent 20e7e98e18
commit 6b6b04e2ce
15 changed files with 383 additions and 30 deletions

View File

@@ -17,11 +17,9 @@
//function : XCAFAnimObjects_CustomOperation
//purpose :
//=======================================================================
XCAFAnimObjects_CustomOperation::XCAFAnimObjects_CustomOperation(const int theObjectSize,
const TCollection_AsciiString& theCustomTypeName,
const NCollection_Array1<char>& thePresentation) :
XCAFAnimObjects_CustomOperation::XCAFAnimObjects_CustomOperation(const NCollection_Array1<double>& thePresentation,
const TCollection_AsciiString& theCustomTypeName) :
XCAFAnimObjects_Operation(false),
myObjectSize(theObjectSize),
myTypeName(theCustomTypeName),
myPresentation(1, 1, thePresentation.Lower(), thePresentation.Upper())
{
@@ -35,12 +33,10 @@ XCAFAnimObjects_CustomOperation::XCAFAnimObjects_CustomOperation(const int theOb
//function : XCAFAnimObjects_CustomOperation
//purpose :
//=======================================================================
XCAFAnimObjects_CustomOperation::XCAFAnimObjects_CustomOperation(const int theObjectSize,
const TCollection_AsciiString& theCustomTypeName,
const NCollection_Array2<char>& thePresentation,
const NCollection_Array1<double>& theTimeStamps) :
XCAFAnimObjects_CustomOperation::XCAFAnimObjects_CustomOperation(const NCollection_Array2<double>& thePresentation,
const NCollection_Array1<double>& theTimeStamps,
const TCollection_AsciiString& theCustomTypeName) :
XCAFAnimObjects_Operation(theTimeStamps),
myObjectSize(theObjectSize),
myTypeName(theCustomTypeName),
myPresentation(thePresentation)
{}