// Scalar Bar origin
QString propertyName = QString( "scalar_bar_%1_" ).arg( anOrientation == 0 ? "vertical" : "horizontal" );
- vtkFloatingPointType aXorigin = (myBarOrientation == VISU::ColoredPrs3dBase::VERTICAL) ? 0.01 : 0.2;
+ double aXorigin = (myBarOrientation == VISU::ColoredPrs3dBase::VERTICAL) ? 0.01 : 0.2;
aXorigin = aResourceMgr->doubleValue("VISU", propertyName + "x", aXorigin);
myPosition[0] = aXorigin;
- vtkFloatingPointType aYorigin = (myBarOrientation == VISU::ColoredPrs3dBase::VERTICAL) ? 0.1 : 0.012;
+ double aYorigin = (myBarOrientation == VISU::ColoredPrs3dBase::VERTICAL) ? 0.1 : 0.012;
aYorigin = aResourceMgr->doubleValue("VISU", propertyName + "y", aYorigin);
myPosition[1] = aYorigin;
aScalarBar->SetNumberOfLabels(GetLabels());
aScalarBar->SetLabelFormat(GetLabelsFormat());
- vtkFloatingPointType anRGB[3];
+ double anRGB[3];
vtkTextProperty* aTitleProp = aScalarBar->GetTitleTextProperty();
aTitleProp->SetFontFamily(GetTitFontType());
void VISU::PointMap3d_i::SetRange(CORBA::Double theMin, CORBA::Double theMax)
{
- vtkFloatingPointType aScalarRange[2] = {theMin, theMax};
- ProcessVoidEvent(new TVoidMemFun1ArgEvent<VISU_DeformedGridPL, vtkFloatingPointType*>
+ double aScalarRange[2] = {theMin, theMax};
+ ProcessVoidEvent(new TVoidMemFun1ArgEvent<VISU_DeformedGridPL, double*>
(GetSpecificPL(), &VISU_DeformedGridPL::SetScalarRange, aScalarRange));
UseFixedRange(true);
CORBA::Double VISU::PointMap3d_i::GetSourceMin()
{
- vtkFloatingPointType aRange[2];
+ double aRange[2];
GetSpecificPL()->GetSourceRange(aRange);
return aRange[0];
}
CORBA::Double VISU::PointMap3d_i::GetSourceMax()
{
- vtkFloatingPointType aRange[2];
+ double aRange[2];
GetSpecificPL()->GetSourceRange(aRange);
return aRange[1];
}
if ( ( theBarOrientation == VISU::ColoredPrs3dBase::VERTICAL && myHeight < myWidth ) ||
( theBarOrientation == VISU::ColoredPrs3dBase::HORIZONTAL && myHeight > myWidth ) ) {
- vtkFloatingPointType tmp = myHeight;
+ double tmp = myHeight;
myHeight = myWidth;
myWidth = tmp;
}
void VISU::PointMap3d_i::SetScaleFactor (CORBA::Double theScaleFactor)
{
- ProcessVoidEvent(new TVoidMemFun1ArgEvent<VISU_DeformedGridPL, vtkFloatingPointType>
+ ProcessVoidEvent(new TVoidMemFun1ArgEvent<VISU_DeformedGridPL, double>
(GetSpecificPL(), &VISU_DeformedGridPL::SetScaleFactor, theScaleFactor));
}
}
//----------------------------------------------------------------------------
-void VISU::PointMap3d_i::GetTitleColor(vtkFloatingPointType& theR,
- vtkFloatingPointType& theG,
- vtkFloatingPointType& theB)
+void VISU::PointMap3d_i::GetTitleColor(double& theR,
+ double& theG,
+ double& theB)
{
theR = myTitleColor[0];
theG = myTitleColor[1];
}
//----------------------------------------------------------------------------
-void VISU::PointMap3d_i::SetTitleColor(vtkFloatingPointType theR,
- vtkFloatingPointType theG,
- vtkFloatingPointType theB)
+void VISU::PointMap3d_i::SetTitleColor(double theR,
+ double theG,
+ double theB)
{
bool anIsSameValue = VISU::CheckIsSameValue(myTitleColor[0], theR);
anIsSameValue &= VISU::CheckIsSameValue(myTitleColor[1], theG);
}
//----------------------------------------------------------------------------
-void VISU::PointMap3d_i::GetLabelColor(vtkFloatingPointType& theR,
- vtkFloatingPointType& theG,
- vtkFloatingPointType& theB)
+void VISU::PointMap3d_i::GetLabelColor(double& theR,
+ double& theG,
+ double& theB)
{
theR = myLabelColor[0];
theG = myLabelColor[1];
}
//----------------------------------------------------------------------------
-void VISU::PointMap3d_i::SetLabelColor(vtkFloatingPointType theR,
- vtkFloatingPointType theG,
- vtkFloatingPointType theB)
+void VISU::PointMap3d_i::SetLabelColor(double theR,
+ double theG,
+ double theB)
{
bool anIsSameValue = VISU::CheckIsSameValue(myLabelColor[0], theR);
anIsSameValue &= VISU::CheckIsSameValue(myLabelColor[1], theG);