Superclass::DoMapperShallowCopy( theMapper, theIsCopyInput );
vtkDataSet* aDataSet = theMapper->GetInput();
- vtkFloatingPointType aScaleFactor = VISU_DeformedShapePL::GetScaleFactor( aDataSet );
+ double aScaleFactor = VISU_DeformedShapePL::GetScaleFactor( aDataSet );
GetPointSpriteMapper()->SetAverageCellSize( aScaleFactor );
}
if ( !GetVisibility() )
return;
- static vtkFloatingPointType anIncrement = 2;
- vtkFloatingPointType aMagnification = GetPointSpriteMapper()->GetPointSpriteMagnification();
- vtkFloatingPointType coefficient = myInteractor->GetShiftKey() ? anIncrement : 1 / anIncrement;
+ static double anIncrement = 2;
+ double aMagnification = GetPointSpriteMapper()->GetPointSpriteMagnification();
+ double coefficient = myInteractor->GetShiftKey() ? anIncrement : 1 / anIncrement;
GetPointSpriteMapper()->SetPointSpriteMagnification( aMagnification * coefficient );
//----------------------------------------------------------------------------
vtkStandardNewMacro(VISU_ScalarMapAct);
-static vtkFloatingPointType EPS = 1.0 / VTK_LARGE_FLOAT;
+static double EPS = 1.0 / VTK_LARGE_FLOAT;
//----------------------------------------------------------------------------
VISU_ScalarMapAct
void
VISU_ScalarMapAct
-::SetShrinkFactor(vtkFloatingPointType theValue)
+::SetShrinkFactor(double theValue)
{
Superclass::SetShrinkFactor(theValue);
void
VISU_ScalarMapAct
-::SetFeatureEdgesAngle(vtkFloatingPointType theValue)
+::SetFeatureEdgesAngle(double theValue)
{
Superclass::SetFeatureEdgesAngle(theValue);
//----------------------------------------------------------------------------
void
VISU_ScalarMapAct
-::SetOpacity(vtkFloatingPointType theValue)
+::SetOpacity(double theValue)
{
mySurfaceActor->GetProperty()->SetOpacity(theValue);
- vtkFloatingPointType aPointSpriteOpacity = theValue > 0.0 ? 1.0 : 0.0;
+ double aPointSpriteOpacity = theValue > 0.0 ? 1.0 : 0.0;
myPointSpriteActor->GetPointSpriteMapper()->SetPointSpriteOpacity(aPointSpriteOpacity);
}
-vtkFloatingPointType
+double
VISU_ScalarMapAct
::GetOpacity()
{
//----------------------------------------------------------------------------
void
VISU_ScalarMapAct
-::SetLineWidth(vtkFloatingPointType theLineWidth)
+::SetLineWidth(double theLineWidth)
{
mySurfaceActor->GetProperty()->SetLineWidth(theLineWidth);
}
-vtkFloatingPointType
+double
VISU_ScalarMapAct::GetLineWidth()
{
return mySurfaceActor->GetProperty()->GetLineWidth();
/**
* Set size of the 0D elements.
*/
-void VISU_ScalarMapAct::Set0DElemSize(vtkFloatingPointType theValue) {
+void VISU_ScalarMapAct::Set0DElemSize(double theValue) {
mySurfaceActor->GetProperty()->SetPointSize(theValue);
}
/**
* Get size of the 0D elements.
*/
-vtkFloatingPointType VISU_ScalarMapAct::Get0DElemSize() {
+double VISU_ScalarMapAct::Get0DElemSize() {
return mySurfaceActor->GetProperty()->GetPointSize();
}