From 49ef8b8ddf4d434e566cbcbd1e1bc16d88968d1b Mon Sep 17 00:00:00 2001 From: jean-pierre roux Date: Wed, 14 Oct 2009 15:38:18 +0000 Subject: [PATCH] rm deprecated --- lib/sourceVectorMath.cxx | 48 ---------------------------------------- lib/sourceVectorMath.h | 38 ------------------------------- 2 files changed, 86 deletions(-) delete mode 100644 lib/sourceVectorMath.cxx delete mode 100644 lib/sourceVectorMath.h diff --git a/lib/sourceVectorMath.cxx b/lib/sourceVectorMath.cxx deleted file mode 100644 index 4717758..0000000 --- a/lib/sourceVectorMath.cxx +++ /dev/null @@ -1,48 +0,0 @@ -#include "sourceVectorMath.h" - -VectorMath::VectorMath() -{ - //_math = vtkMath::new(); -} - -VectorMath::~VectorMath() -{ - if (_math != NULL ) { _math->Delete(); } -} - -void VectorMath::SetData(std::vector pointsX1, std::vector pointsX2, std::vector pointsY1, std::vector pointsY2, std::vector pointsZ1, std::vector pointsZ2) -{ - _pointx1a = pointsX1[0]; - _pointx1b = pointsX1[1]; - - _pointx2a = pointsX2[0]; - _pointx2b = pointsX2[1]; - - _pointy1a = pointsY1[0]; - _pointy1b = pointsY1[1]; - - _pointy2a = pointsY2[0]; - _pointy2b = pointsY2[1]; - - _pointz1a = pointsZ1[0]; - _pointz1b = pointsZ1[1]; - - _pointz2a = pointsZ2[0]; - _pointz2b = pointsZ2[1]; -} -/* - -int[3]* VectorMath::GetPoints() -{ - -} - -double[3]* VectorMath::GetScales() -{ - -} - -double VectorMath::GetAngle() -{ - -}*/ \ No newline at end of file diff --git a/lib/sourceVectorMath.h b/lib/sourceVectorMath.h deleted file mode 100644 index b13aea2..0000000 --- a/lib/sourceVectorMath.h +++ /dev/null @@ -1,38 +0,0 @@ -#ifndef _$PROJECT_NAME$SOURCE01_H_ -#define _$PROJECT_NAME$SOURCE01_H_ - -#include "vtkMath.h" -#include - -class VectorMath{ -public: - VectorMath(); - ~VectorMath(); - void SetData(std::vector pointsX1, std::vector pointsX2, std::vector pointsY1, std::vector pointsY2, std::vector pointsZ1, std::vector pointsZ2); - void Run(); - /* - int[3]* GetPoints(); - double[3]* GetScales(); - double GetAngle();*/ -private: - //float[3] _points; - - int _pointx1a; - int _pointx1b; - int _pointx2a; - int _pointx2b; - - int _pointy1a; - int _pointy1b; - int _pointy2a; - int _pointy2b; - - int _pointz1a; - int _pointz1b; - int _pointz2a; - int _pointz2b; - - vtkMath *_math; -}; - -#endif \ No newline at end of file -- 2.47.1