directionViewer = wxvtk2dbasevie->GetDirection();
} // ParallelProjection
-
if (!GetActorPresent())
{
if (_thresholdTable==NULL)
_thresholdActor->SetPosition( 0,0, -900-1 );
}
} // _thresholdActor
+
_baseView->GetRenderer()->AddActor( _thresholdActor );
_baseView->GetRenderer()->AddActor2D( _scalarbarActor );
_actorPresent = true;
_thresholdMapper->Update();
_thresholdActor->SetInputData( _thresholdMapper->GetOutput() );
#endif
-
+
_thresholdActor->SetOpacity(_opacity);
_scalarbarActor->SetLookupTable( _thresholdTable );
// _scalarbarActor->SetLookupTable( _thresholdMapper->GetLookupTable() );
_scalarbarActor->GetLabelTextProperty()->SetFontSize(fontsize/2);
// _scalarbarActor->SetTextPad(4); ??
} // if _image
-
}
-
-
//----------------------------------------------------------------------------
void LayerImageBase::onThresholdChange()
{