Version: 6.3.1
Defines | Functions

src/VTKViewer/VTKViewer_ArcBuilder.cxx File Reference

#include "VTKViewer_ArcBuilder.h"
#include <math.h>
#include <float.h>
#include <vtkMath.h>
#include <vtkUnstructuredGrid.h>
#include <vtkTransformFilter.h>
#include <vtkTransform.h>
#include <vtkPoints.h>
#include <vtkVertex.h>
#include <vtkCellArray.h>
#include <vtkTriangle.h>
#include <vtkPolyData.h>
#include <vtkPointData.h>
Include dependency graph for VTKViewer_ArcBuilder.cxx:

Defines

#define PRECISION   10e-4
#define ANGLE_PRECISION   0.5

Functions

bool CheckAngle (const double compare, const double angle)
double InterpolateScalarValue (int index, int count, double firstValue, double middleValue, double lastValue)
Pnt CreatePnt (vtkCell *cell, vtkDataArray *scalars, vtkIdType index)
vtkIdType Build1DArc (vtkIdType cellId, vtkUnstructuredGrid *input, vtkPolyData *output, vtkIdType *pts, vtkFloatingPointType myMaxArcAngle)
vtkIdType MergevtkPoints (const std::vector< vtkPoints * > &theCollection, const std::vector< std::vector< double > > &theScalarCollection, vtkPoints *thePoints, std::map< int, double > &thePntId2ScalarValue, vtkIdType *&theIds)

Define Documentation

#define PRECISION   10e-4
#define ANGLE_PRECISION   0.5

Function Documentation

bool CheckAngle ( const double  compare,
const double  angle 
)

References ANGLE_PRECISION.

double InterpolateScalarValue ( int  index,
int  count,
double  firstValue,
double  middleValue,
double  lastValue 
)
Pnt CreatePnt ( vtkCell *  cell,
vtkDataArray *  scalars,
vtkIdType  index 
)
vtkIdType Build1DArc ( vtkIdType  cellId,
vtkUnstructuredGrid *  input,
vtkPolyData *  output,
vtkIdType *  pts,
vtkFloatingPointType  myMaxArcAngle 
)
vtkIdType MergevtkPoints ( const std::vector< vtkPoints * > &  theCollection,
const std::vector< std::vector< double > > &  theScalarCollection,
vtkPoints *  thePoints,
std::map< int, double > &  thePntId2ScalarValue,
vtkIdType *&  theIds 
)

Add all points from the input vector theCollection into thePoints. Array theIds - it is array with ids of added points.

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