#include <VTKViewer_ArcBuilder.h>
Public Types |
| enum | ArcStatus { Arc_Done = 0,
Arc_Error
} |
Public Member Functions |
| | VTKViewer_ArcBuilder (const Pnt &thePnt1, const Pnt &thePnt2, const Pnt &thePnt3, double theAngle) |
| | ~VTKViewer_ArcBuilder () |
| Vec | GetNormale () |
| ArcStatus | GetStatus () |
| void | GetAngle (const double theAngle) |
| vtkPoints * | GetPoints () |
| const std::vector< double > & | GetScalarValues () |
Static Public Member Functions |
| static double | GetPointAngleOnCircle (const double theXCenter, const double theYCenter, const double theXPoint, const double theYPoint) |
Private Types |
| enum | IncOrder { MINUS = 0,
PLUS
} |
Private Member Functions |
| vtkUnstructuredGrid * | BuildGrid (const PntList &theList) const |
| vtkUnstructuredGrid * | TransformGrid (vtkUnstructuredGrid *theGrid, const Vec &theAxis, const double angle) const |
| vtkUnstructuredGrid * | BuildArc (std::vector< double > &theScalarValues) |
| IncOrder | GetArcAngle (const double &P1, const double &P2, const double &P3, double *Ang) |
Private Attributes |
| Pnt | myPnt1 |
| Pnt | myPnt2 |
| Pnt | myPnt3 |
| double | myAngle |
| ArcStatus | myStatus |
| vtkPoints * | myPoints |
| std::vector< double > | myScalarValues |
Member Enumeration Documentation
Constructor & Destructor Documentation
| VTKViewer_ArcBuilder::VTKViewer_ArcBuilder |
( |
const Pnt & |
thePnt1, |
|
|
const Pnt & |
thePnt2, |
|
|
const Pnt & |
thePnt3, |
|
|
double |
theAngle |
|
) |
| |
Constructor
References Vec.AngleBetweenInGrad(), Arc_Done, BuildArc(), BuildGrid(), CheckAngle(), Plane.GetNormale(), Pnt.GetScalarValue(), Vec.GetXYZ(), Pnt.GetXYZ(), myPnt1, myPnt2, myPnt3, myPoints, myScalarValues, myStatus, TransformGrid(), Vec.VectMultiplication(), XYZ.X(), XYZ.Y(), and XYZ.Z().
| VTKViewer_ArcBuilder::~VTKViewer_ArcBuilder |
( |
| ) |
|
Member Function Documentation
| Vec VTKViewer_ArcBuilder.GetNormale |
( |
| ) |
|
| void VTKViewer_ArcBuilder::GetAngle |
( |
const double |
theAngle | ) |
|
| double VTKViewer_ArcBuilder::GetPointAngleOnCircle |
( |
const double |
theXCenter, |
|
|
const double |
theYCenter, |
|
|
const double |
theXPoint, |
|
|
const double |
theYPoint |
|
) |
| [static] |
| vtkPoints * VTKViewer_ArcBuilder::GetPoints |
( |
| ) |
|
| const std::vector< double > & VTKViewer_ArcBuilder::GetScalarValues |
( |
| ) |
|
| vtkUnstructuredGrid * VTKViewer_ArcBuilder::BuildGrid |
( |
const PntList & |
theList | ) |
const [private] |
| vtkUnstructuredGrid * VTKViewer_ArcBuilder::TransformGrid |
( |
vtkUnstructuredGrid * |
theGrid, |
|
|
const Vec & |
theAxis, |
|
|
const double |
angle |
|
) |
| const [private] |
| vtkUnstructuredGrid * VTKViewer_ArcBuilder::BuildArc |
( |
std::vector< double > & |
theScalarValues | ) |
[private] |
References BuildGrid(), GetArcAngle(), GetPointAngleOnCircle(), Pnt.GetScalarValue(), Pnt.GetXYZ(), InterpolateScalarValue(), MINUS, myAngle, myPnt1, myPnt2, myPnt3, XYZ.X(), XYZ.Y(), and XYZ.Z().
Field Documentation