<process>
<PRE>
- bbGetVtkObject()->SetStandardDeviation(bbGetInputStdDevX(),
+ bbGetVtkObject()->SetStandardDeviation(bbGetInputStdDevX(),
bbGetInputStdDevY(),
bbGetInputStdDevZ());
bbGetVtkObject()->Modified();
bbGetVtkObject()->Update();
+ if (bbGetInputIn()==NULL)
+ {
+ printf("EED ImageGaussianSmooth This mechanism is not working, try to use box ImageGaussianSmooth2.\n");
+ bbSetOutputOut(NULL);
+ } else {
+ bbSetOutputOut( bbGetVtkObject()->GetOutput() );
+ }
</PRE>
</process>
if (bbGetInputActive()==true)
{
bbGetVtkObject()->SetValue(0, bbGetInputValue() );
-
if(bbGetInputComputeNormalsOn())
{
bbGetVtkObject()->ComputeNormalsOn();
}else {
bbGetVtkObject()->ComputeNormalsOff();
}// if Normals
-
if(bbGetInputComputeScalarsOn())
{
bbGetVtkObject()->ComputeScalarsOn();
}else{
bbGetVtkObject()->ComputeScalarsOff();
}// if Scalars
-
bbGetVtkObject()->Update();
} // Active
}
BBTK_VTK_FINALIZE_PROCESSING();
}
-
} // EO namespace bbvtk
-
-
#endif //_USE_VTK_
BBTK_INPUT(MarchingCubes,Active,"Active true/false (default true)",bool,"");
BBTK_INPUT(MarchingCubes,In,"Image",vtkImageData*,"");
- BBTK_INPUT(MarchingCubes,Value,"Value of the iso-surface",double,"");
+ BBTK_INPUT(MarchingCubes,Value,"(default 400) Value of the iso-surface",double,"");
BBTK_INPUT(MarchingCubes,ComputeNormalsOn,"Set the computation of normals",bool,"");
BBTK_INPUT(MarchingCubes,ComputeScalarsOn,"Set the computation of scalars",bool,"");
BBTK_OUTPUT(MarchingCubes,Out,"Output iso-surface",vtkPolyData*,"");