if( aBuildAtOnce )
{
QApplication::setOverrideCursor( Qt::WaitCursor );
- myCurrentTime = vtkTimerLog::GetCurrentTime();
+ myCurrentTime = vtkTimerLog::GetUniversalTime();
}
myTime.setHMS( 0, 0, 0 );
QApplication::restoreOverrideCursor();
QTime aTime;
- int mSecs = ( int )( 1000 * ( vtkTimerLog::GetCurrentTime() - myCurrentTime ) );
+ int mSecs = ( int )( 1000 * ( vtkTimerLog::GetUniversalTime() - myCurrentTime ) );
aTime = aTime.addMSecs( mSecs );
if( aTime.minute() > 9 )
myTimeLCDNumber->setNumDigits( 9 );
//----------------------------------------------------------------------------
void VisuGUI_Sweep::onValueChanged( int value )
{
- bool anIsValidSelection = ( myColoredPrs3d != NULL )
- && (myActor != NULL );
+ bool anIsValidSelection = ( myColoredPrs3d != 0 ) && ( myActor != 0 );
if ( !anIsValidSelection )
return;
if(VISU_ScalarMapPL* aScalarMap = theScalarMap->GetImpl()){
aScalarMap->Update();
- myRen->RemoveAllProps();
+ myRen->RemoveAllViewProps();
vtkActor* anActor = vtkActor::New();
anActor->SetMapper(aScalarMap->GetMapper());