Version: 9.15.0
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

◆ ArcStatus

Enumerator
Arc_Done 
Arc_Error 

◆ IncOrder

Enumerator
MINUS 
PLUS 

Constructor & Destructor Documentation

◆ VTKViewer_ArcBuilder()

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

◆ ~VTKViewer_ArcBuilder()

VTKViewer_ArcBuilder::~VTKViewer_ArcBuilder ( )

Destructor

Member Function Documentation

◆ BuildArc()

vtkUnstructuredGrid * VTKViewer_ArcBuilder::BuildArc ( std::vector< double > &  theScalarValues)
private

◆ BuildGrid()

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

< TODO: conversion from size_t to int

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

◆ GetAngle()

void VTKViewer_ArcBuilder::GetAngle ( const double  theAngle)

References myAngle.

◆ GetArcAngle()

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

References MINUS, and PLUS.

◆ GetNormale()

Vec VTKViewer_ArcBuilder::GetNormale ( )

◆ GetPointAngleOnCircle()

double VTKViewer_ArcBuilder::GetPointAngleOnCircle ( const double  theXCenter,
const double  theYCenter,
const double  theXPoint,
const double  theYPoint 
)
static

◆ GetPoints()

vtkPoints * VTKViewer_ArcBuilder::GetPoints ( )

References myPoints.

◆ GetScalarValues()

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

References myScalarValues.

◆ GetStatus()

ArcStatus VTKViewer_ArcBuilder::GetStatus ( )
inline

References myStatus.

◆ TransformGrid()

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

Member Data Documentation

◆ myAngle

double VTKViewer_ArcBuilder::myAngle
private

◆ myPnt1

Pnt VTKViewer_ArcBuilder::myPnt1
private

◆ myPnt2

Pnt VTKViewer_ArcBuilder::myPnt2
private

◆ myPnt3

Pnt VTKViewer_ArcBuilder::myPnt3
private

◆ myPoints

vtkSmartPointer<vtkPoints> VTKViewer_ArcBuilder::myPoints
private

◆ myScalarValues

std::vector<double> VTKViewer_ArcBuilder::myScalarValues
private

◆ myStatus

ArcStatus VTKViewer_ArcBuilder::myStatus
private

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