SphereMeshSource( )
: Superclass( )
{
- this->SetNumberOfInputs( 0 );
- this->SetNumberOfOutputs( 1 );
- this->_MakeOutput< cpPlugins::Interface::Mesh >( 0 );
+ this->_MakeOutput< cpPlugins::Interface::Mesh >( "Output" );
double point[ 3 ] = { double( 0 ) };
this->m_Parameters->ConfigureAsPoint( "Center", 3, point );
// Execute filter
cpPlugins::Interface::Mesh* out =
- this->GetOutput< cpPlugins::Interface::Mesh >( 0 );
+ this->GetOutput< cpPlugins::Interface::Mesh >( "Output" );
out->SetVTK( src->GetOutput( ) );
return( "" );
}