MarchingCubes( )
: Superclass( )
{
- this->_AddInput( "Input", true );
+ this->_AddInput( "Input" );
this->_AddOutput< cpPlugins::Interface::Mesh >( "Output" );
this->m_Parameters->ConfigureAsRealList( "Thresholds" );
{
// Get input
auto image = this->GetInputData< cpPlugins::Interface::Image >( "Input" );
- if( image == NULL )
- return( "MarchingCubes: Input data is not a valid image." );
vtkImageData* vtk_image = image->GetVTK< vtkImageData >( );
if( vtk_image == NULL )
return( "MarchingCubes: Input does not have a valid VTK conversion." );