//=====
void MeshReduction_DecimatePro::Process()
{
-
// THE MAIN PROCESSING METHOD BODY
// Here we simply set the input 'In' value to the output 'Out'
// And print out the output value
// (the one provided in the attribute 'name' of the tag 'input')
// * TYPE is the C++ type of the input/output
// (the one provided in the attribute 'type' of the tag 'input')
-
if (firsttime==true)
{
firsttime = false;
decimatepro = vtkDecimatePro::New();
}
-
- printf("EED MeshReduction_DecimatePro::DoProcess %s %p \n", bbGetFullName().c_str(), bbGetInputIn() );
-
if (bbGetInputIn()!=NULL)
{
decimatepro->SetInputData( bbGetInputIn() );