20 #ifndef VTKVIEWER_ARCBUILDER_H
21 #define VTKVIEWER_ARCBUILDER_H
29 #include <vtkSmartPointer.h>
35 class vtkUnstructuredGrid;
41 vtkIdType
MergevtkPoints(
const std::vector< vtkSmartPointer< vtkPoints > >& theCollection,
42 const std::vector< std::vector<double> >& theScalarCollection,
44 std::map<int, double>& thePntId2ScalarValue,
48 vtkUnstructuredGrid* input,
51 double myMaxArcAngle);
54 vtkDataArray* scalars,
64 XYZ(
double ,
double ,
double);
67 double X()
const {
return x;}
68 double Y()
const {
return y;}
69 double Z()
const {
return z;}
75 void Coord (
double&
X,
double&
Y,
double&
Z)
const { X =
x; Y =
y; Z =
z; }
91 Pnt(
double,
double,
double,
double);
109 Vec(
const double Xv,
const double Yv,
const double Zv);
129 Plane(
const Pnt& thePnt1,
const Pnt& thePnt2,
const Pnt& thePnt3);
162 void GetAngle(
const double theAngle);
165 const double theXPoint,
const double theYPoint);
175 vtkUnstructuredGrid*
TransformGrid(vtkUnstructuredGrid* theGrid,
const Vec& theAxis,
const double angle)
const;
176 vtkUnstructuredGrid*
BuildArc(std::vector<double>& theScalarValues);
192 #endif //VTKVIEWER_ARCBUILDER_H