this->MarkerScale = VTK::MS_NONE;
this->MarkerId = 0;
this->BallEnabled = false;
- this->BallScale = VTK::MS_10;
+ this->BallScale = 1.0;
this->VertexProgram = 0;
}
}
//-----------------------------------------------------------------------------
-int VTKViewer_PolyDataMapper::GetBallScale()
+double VTKViewer_PolyDataMapper::GetBallScale()
{
return this->BallScale;
}
//-----------------------------------------------------------------------------
-void VTKViewer_PolyDataMapper::SetBallScale( int theBallScale )
+void VTKViewer_PolyDataMapper::SetBallScale( double theBallScale )
{
if( this->BallScale == theBallScale )
return;
vtkIdType &theVertexId,
TBall* theBallArr,
vtkDataArray* theDiamArray,
- int theBallScale )
+ double theBallScale )
{
vtkIdType* ptIds = theCells->GetPointer();
vtkIdType* endPtIds = ptIds + theCells->GetNumberOfConnectivityEntries();
TColorFunctorBase* theColorFunctor,
TVertex* theVertexArr,
TBall* theBallArr,
- int theBallScale )
+ double theBallScale )
{
vtkIdType aCellId = 0, aVertexId = 0;
bool GetBallEnabled( );
//! Set ball scale factor
- void SetBallScale( int );
+ void SetBallScale( double );
- int GetBallScale( );
+ double GetBallScale( );
//! Set standard point marker
void SetMarkerStd( VTK::MarkerType, VTK::MarkerScale );
bool MarkerEnabled;
bool BallEnabled;
- int BallScale;
+ double BallScale;
VTK::MarkerType MarkerType;
VTK::MarkerScale MarkerScale;
int MarkerId;