Hi, everyone,<br><br>I often use Paraview for visualization of medical object geometry models<br>and do some filtering. But I noticed that Paraview does not offer many<br>parameters setup by user, like VTK filters. For example, SmoothPolyDataFilter,<br>
it can be used like<br> vtkSmoothPolyDataFilter *smoother = vtkSmoothPolyDataFilter::New();<br> smoother->SetInput(surface->GetOutput());<br> <br> smoother->SetRelaxationFactor(0.1);<br>
smoother->SetFeatureAngle(60);<br>
smoother->FeatureEdgeSmoothingOff();<br>
smoother->BoundarySmoothingOff();<br><br> smoother->SetNumberOfIterations(50);<br> smoother->SetConvergence(0);<br> <br>Paraview 3.4.0 only display "Number of Iterations" and "Convergence" for<br>
user to setup. This often does not provide good effect like the C++ one.<br><br>Another example is <br>vtkDecimatePro *decimate = vtkDecimatePro::New();<br> decimate->SetInput(smoother->GetOutput()); <br><br> decimate->SplittingOff();<br>
decimate->SetErrorIsAbsolute(5);<br> decimate->SetDegree(10);<br> decimate->SetMaximumError(0.005);<br><br> decimate->SetTargetReduction(0.8);<br> decimate->PreserveTopologyOn();<br> decimate->SetFeatureAngle(30);<br>
decimate->BoundaryVertexDeletionOff();<br> <br><br>Corresponding filter in Paraview 3.4.0 only have following options to setup:<br> Target Reduction, Preserve Topology, Feature Angle and BoundVertex Deletion.<br>
<br>I know that too much options may confuse user. I wonder if there are some setup to <br>use more options. Or should I revise ParaView source code to recompile a binary one.<br><br>Thank you very much!<br><br>Best,<br>Fucang<br>