//----------------------------------------------------------------------------
void LayerImageBase::onThreshold()
{
+printf("EED LayerImageBase::onThreshold Start \n");
+
if ((_image!=NULL) && (_baseView!=NULL))
{
+printf("EED LayerImageBase::onThreshold 1 \n");
double spc[3];
GetImage()-> GetSpacing(spc);
double x=GetX();
if (!GetActorPresent())
{
+printf("EED LayerImageBase::onThreshold 2 \n");
if (_thresholdTable==NULL)
{
//Lookup Table
_imageReslicer->SetInput( GetImage() );
_imageReslicer->SetInformationInput( GetImage() );
+printf("EED LayerImageBase::onThreshold directionViewer=%d\n", directionViewer );
+
if (directionViewer==0)
{
_imageReslicer->SetResliceAxesDirectionCosines( 0,0,1, 0,1,0, -1,0,0 );