[vtkusers] Clipping/ Cutting

Prabhu Ramachandran prabhu at aero.iitm.ernet.in
Fri Sep 20 11:00:35 EDT 2002


>>>>> "JPSP" == João Paulo Simonaio Pompei <joao.pompei at cenpra.gov.br> writes:

    JPSP> Hi, I have non-structured grid images, slices of a
    JPSP> volume(slices of a magnetic resonance). I have to cut one of
    JPSP> this slices(think in a Doctor cutting a x-ray of a patient),
    JPSP> but only for visualization. What class can I use for do it?
    JPSP> I looked vtkCutter, but this class takes a PolyData. If i'm
    JPSP> wrong and vtkCutter is the right class to use or you know
    JPSP> the class i want, please help-me.

The cutter should handle any data set (vtkDataSet) as the input
i.e. via SetInput and requires an CutFunction to be specified with a
subclass of vtkImplicitFunction.  So vtkCutter is what you want and it
should work unless you are doing something wrong.

prabhu



More information about the vtkusers mailing list