}
// -------------------------------------------------------------------------
-std::string cpPluginsImageMeshFilters::MarchingCubes::
+void cpPluginsImageMeshFilters::MarchingCubes::
_GenerateData( )
{
// Get input
auto image = this->GetInputData( "Input" );
vtkImageData* vtk_image = image->GetVTK< vtkImageData >( );
if( vtk_image == NULL )
- return( "MarchingCubes: Input does not have a valid VTK conversion." );
+ this->_Error( "Input does not have a valid VTK conversion." );
std::vector< double > values =
this->m_Parameters.GetRealList( "Thresholds" );
pd = mc->GetOutput( );
}
else
- return( "MarchingCubes: Input data does not have a valid dimension." );
+ this->_Error( "Input data does not have a valid dimension." );
// Connect output
this->GetOutputData( "Output" )->SetVTK( pd );
- return( "" );
}
// eof - $RCSfile$