Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
VTKViewer_ArcBuilder Class Reference

#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
 
vtkSmartPointer< vtkPoints > myPoints
 
std::vector< double > myScalarValues
 

Member Enumeration Documentation

Enumerator
Arc_Done 
Arc_Error 
Enumerator
MINUS 
PLUS 

Constructor & Destructor Documentation

VTKViewer_ArcBuilder::VTKViewer_ArcBuilder ( const Pnt thePnt1,
const Pnt thePnt2,
const Pnt thePnt3,
double  theAngle 
)
VTKViewer_ArcBuilder::~VTKViewer_ArcBuilder ( )

Destructor

Member Function Documentation

vtkUnstructuredGrid * VTKViewer_ArcBuilder::BuildArc ( std::vector< double > &  theScalarValues)
private
vtkUnstructuredGrid * VTKViewer_ArcBuilder::BuildGrid ( const PntList theList) const
private
void VTKViewer_ArcBuilder::GetAngle ( const double  theAngle)

References myAngle.

VTKViewer_ArcBuilder::IncOrder VTKViewer_ArcBuilder::GetArcAngle ( const double &  P1,
const double &  P2,
const double &  P3,
double *  Ang 
)
private

References MINUS, and PLUS.

Vec VTKViewer_ArcBuilder::GetNormale ( )
double VTKViewer_ArcBuilder::GetPointAngleOnCircle ( const double  theXCenter,
const double  theYCenter,
const double  theXPoint,
const double  theYPoint 
)
static
vtkPoints * VTKViewer_ArcBuilder::GetPoints ( )

References myPoints.

const std::vector< double > & VTKViewer_ArcBuilder::GetScalarValues ( )

References myScalarValues.

ArcStatus VTKViewer_ArcBuilder::GetStatus ( )
inline

References myStatus.

vtkUnstructuredGrid * VTKViewer_ArcBuilder::TransformGrid ( vtkUnstructuredGrid *  theGrid,
const Vec theAxis,
const double  angle 
) const
private

Member Data Documentation

double VTKViewer_ArcBuilder::myAngle
private
Pnt VTKViewer_ArcBuilder::myPnt1
private
Pnt VTKViewer_ArcBuilder::myPnt2
private
Pnt VTKViewer_ArcBuilder::myPnt3
private
vtkSmartPointer<vtkPoints> VTKViewer_ArcBuilder::myPoints
private
std::vector<double> VTKViewer_ArcBuilder::myScalarValues
private
ArcStatus VTKViewer_ArcBuilder::myStatus
private

The documentation for this class was generated from the following files: