Version: 6.3.1
Public Types | Public Member Functions | Static Public Member Functions | Private Types | Private Member Functions | Private Attributes

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
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

Vec VTKViewer_ArcBuilder.GetNormale ( )
ArcStatus VTKViewer_ArcBuilder.GetStatus ( )

References myStatus.

void VTKViewer_ArcBuilder::GetAngle ( const double  theAngle)

References myAngle.

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.

vtkUnstructuredGrid * VTKViewer_ArcBuilder::BuildGrid ( const PntList theList) const [private]

References Pnt.GetXYZ(), XYZ.X(), XYZ.Y(), and XYZ.Z().

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

References Vec.GetXYZ(), XYZ.X(), XYZ.Y(), and XYZ.Z().

vtkUnstructuredGrid * VTKViewer_ArcBuilder::BuildArc ( std::vector< double > &  theScalarValues) [private]
VTKViewer_ArcBuilder::IncOrder VTKViewer_ArcBuilder::GetArcAngle ( const double &  P1,
const double &  P2,
const double &  P3,
double *  Ang 
) [private]

References MINUS, and PLUS.


Field Documentation

double VTKViewer_ArcBuilder.myAngle [private]
vtkPoints* VTKViewer_ArcBuilder.myPoints [private]
std::vector<double> VTKViewer_ArcBuilder.myScalarValues [private]
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS