VISU_PipeLine
::IsPlanarInput()
{
- vtkFloatingPointType aBounds[6];
+ double aBounds[6];
GetInput()->GetBounds( aBounds ); // xmin,xmax, ymin,ymax, zmin,zmax
if (fabs( aBounds[0] - aBounds[1] ) <= FLT_MIN ||
fabs( aBounds[2] - aBounds[3] ) <= FLT_MIN ||
}
//----------------------------------------------------------------------------
-vtkFloatingPointType*
+double*
VISU_PipeLine
::GetNodeCoord(vtkIdType theObjID)
{
//----------------------------------------------------------------------------
void
VISU_PipeLine
-::SetPlaneParam(vtkFloatingPointType theDir[3],
- vtkFloatingPointType theDist,
+::SetPlaneParam(double theDir[3],
+ double theDist,
vtkPlane* thePlane)
{
thePlane->SetNormal(theDir);
- vtkFloatingPointType anOrigin[3];
+ double anOrigin[3];
//Make sure that bounds are calculated
ComputeVisibleBounds();
//----------------------------------------------------------------------------
void
VISU_PipeLine
-::GetPlaneParam(vtkFloatingPointType theDir[3],
- vtkFloatingPointType& theDist,
+::GetPlaneParam(double theDir[3],
+ double& theDist,
vtkPlane* thePlane)
{
thePlane->GetNormal(theDir);
- vtkFloatingPointType anOrigin[3];
+ double anOrigin[3];
thePlane->GetOrigin(anOrigin);
//Make sure that bounds are calculated
}
//----------------------------------------------------------------------------
-void VISU_PipeLine::GetVisibleBounds(vtkFloatingPointType theBounds[6]) {
+void VISU_PipeLine::GetVisibleBounds(double theBounds[6]) {
// Compute or get cached bounds
ComputeVisibleBounds();
for (int i=0; i<6; i++) {