//=======================================================================
XCAFAnimObjects_Orient::XCAFAnimObjects_Orient(const NCollection_Array2<double>& theGeneralPresentation,
const NCollection_Array1<double>& theTimeStamps) :
- XCAFAnimObjects_Operation(false),
+ XCAFAnimObjects_Operation(theTimeStamps),
myOrientPresentation(1, theGeneralPresentation.RowLength())
{
if (theGeneralPresentation.ColLength() != 4)
aRes.SetValue(aRowInd, 3, aQuat.Z());
aRes.SetValue(aRowInd, 4, aQuat.W());
}
+ return aRes;
}
\ No newline at end of file
XCAFAnimObjects_Rotate::XCAFAnimObjects_Rotate(const NCollection_Array1<double>& theRotate,
const NCollection_Array1<double>& theTimeStamps,
const XCAFAnimObjects_Rotate_Type theRotateType) :
- XCAFAnimObjects_Operation(false),
+ XCAFAnimObjects_Operation(theTimeStamps),
myRotateType(theRotateType),
myRotatePresentation(1, 1, theRotate.Lower(), theRotate.Upper())
{
XCAFAnimObjects_Rotate::XCAFAnimObjects_Rotate(const NCollection_Array2<double>& theGeneralPresentation,
const NCollection_Array1<double>& theTimeStamps,
const XCAFAnimObjects_Rotate_Type theRotateType) :
- XCAFAnimObjects_Operation(false),
+ XCAFAnimObjects_Operation(theTimeStamps),
myRotateType(theRotateType),
myRotatePresentation(theGeneralPresentation)
{
//=======================================================================
XCAFAnimObjects_Scale::XCAFAnimObjects_Scale(const NCollection_Array2<double>& theGeneralPresentation,
const NCollection_Array1<double>& theTimeStamps) :
- XCAFAnimObjects_Operation(false),
+ XCAFAnimObjects_Operation(theTimeStamps),
myScalePresentation(1, theGeneralPresentation.RowLength())
{
if (theGeneralPresentation.ColLength() != 3)
aRes.SetValue(aRowInd, 2, aXYZ.Y());
aRes.SetValue(aRowInd, 3, aXYZ.Z());
}
+ return aRes;
}
//=======================================================================
XCAFAnimObjects_Skew::XCAFAnimObjects_Skew(const NCollection_Array2<double>& theGeneralPresentation,
const NCollection_Array1<double>& theTimeStamps) :
- XCAFAnimObjects_Operation(false),
+ XCAFAnimObjects_Operation(theTimeStamps),
mySkewPresentation(1, theGeneralPresentation.RowLength())
{
if (theGeneralPresentation.ColLength() != 7)
aRes.SetValue(aRowInd, 6, aSkew.Axis2.Y());
aRes.SetValue(aRowInd, 7, aSkew.Axis2.Z());
}
+ return aRes;
}
\ No newline at end of file
//=======================================================================
XCAFAnimObjects_Transform::XCAFAnimObjects_Transform(const NCollection_Array2<double>& theGeneralPresentation,
const NCollection_Array1<double>& theTimeStamps) :
- XCAFAnimObjects_Operation(false),
+ XCAFAnimObjects_Operation(theTimeStamps),
myTransformPresentation(1, theGeneralPresentation.RowLength())
{
if (theGeneralPresentation.ColLength() != 16)
aRes.SetValue(aRowInd, 15, aTransform.GetValue(4, 3));
aRes.SetValue(aRowInd, 16, aTransform.GetValue(4, 4));
}
+ return aRes;
}
\ No newline at end of file
//=======================================================================
XCAFAnimObjects_Translate::XCAFAnimObjects_Translate(const NCollection_Array2<double>& theGeneralPresentation,
const NCollection_Array1<double>& theTimeStamps) :
- XCAFAnimObjects_Operation(false),
+ XCAFAnimObjects_Operation(theTimeStamps),
myTranslatePresentation(1, theGeneralPresentation.RowLength())
{
if (theGeneralPresentation.ColLength() != 3)
aRes.SetValue(aRowInd, 2, aXYZ.Y());
aRes.SetValue(aRowInd, 3, aXYZ.Z());
}
+ return aRes;
}
\ No newline at end of file
{
continue;
}
+ aNewOperObj->SetInverse(anIsInvert);
anOrderedOperations.Append(aNewOperObj);
}
return anObj;
#include <TDataStd_UAttribute.hxx>
#include <TDF_ChildIterator.hxx>
#include <XCAFDoc.hxx>
-#include <XCAFDoc_Animation.hxx>>
+#include <XCAFDoc_Animation.hxx>
#include <XCAFDoc_GraphNode.hxx>
IMPLEMENT_DERIVED_ATTRIBUTE_WITH_TYPE(XCAFDoc_AnimationTool, TDataStd_GenericEmpty, "xcaf", "AnimationTool")
Standard_OStream& XCAFDoc_AnimationTool::Dump(Standard_OStream& theOStream,
const bool theDepth) const
{
- (void)theOStream;
(void)theDepth;
+ return theOStream;
}
//=======================================================================