1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00
Files
occt/src/XCAFAnimObjects/XCAFAnimObjects_CustomOperation.hxx
dpasukhi 20e7e98e18 0033397: Data Exchange - Implementing support for the Animation storage
Implement basis structure.
Filled basic animation structures.
2023-06-20 22:33:55 +01:00

57 lines
2.1 KiB
C++

// Copyright (c) 2023 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License version 2.1 as published
// by the Free Software Foundation, with special exception defined in the file
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
// distribution for complete text of the license and disclaimer of any warranty.
//
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _XCAFAnimObjects_CustomOperation_HeaderFile
#define _XCAFAnimObjects_CustomOperation_HeaderFile
#include <XCAFAnimObjects_Operation.hxx>
#include <NCollection_Array2.hxx>
#include <TCollection_AsciiString.hxx>
//!
class XCAFAnimObjects_CustomOperation : public XCAFAnimObjects_Operation
{
public:
//!
Standard_EXPORT XCAFAnimObjects_CustomOperation(const int theObjectSize,
const TCollection_AsciiString& theCustomTypeName,
const NCollection_Array1<char>& thePresentation);
//!
Standard_EXPORT XCAFAnimObjects_CustomOperation(const int theObjectSize,
const TCollection_AsciiString& theCustomTypeName,
const NCollection_Array2<char>& thePresentation,
const NCollection_Array1<double>& theTimeStamps);
//!
XCAFAnimObjects_OperationType GetType() const Standard_OVERRIDE { return XCAFAnimObjects_OperationType_Custom; }
//!
int ObjectSize() const { return myObjectSize; }
//!
const TCollection_AsciiString& CustomTypeName() const { return myTypeName; }
//!
const NCollection_Array2<char>& CustomPresentation() const { return myPresentation; }
private:
int myObjectSize; //!<
TCollection_AsciiString myTypeName; //!<
NCollection_Array2<char> myPresentation; //!<
};
#endif // _XCAFAnimObjects_CustomOperation_HeaderFile