[vtkusers] Using vtkLassooStencilSource

David Gobbi david.gobbi at gmail.com
Mon Nov 8 14:45:43 EST 2010


Hi Alexis,

At this point, I'd say that the testing is complete.  Thanks for your feedback.

   David


On Mon, Nov 8, 2010 at 12:31 PM, Alexis Cheng <acheng_1221 at hotmail.com> wrote:
> Hi David,
>
> I tested each of the 3 classes that you fixed:
> vtkImplicitFunctionToImageStencil, vtkLassooStencilSource,
> vtkROIStencilSource
>
>         vtkSmartPointer<vtkImplicitSelectionLoop> ImplicitLoop =
> vtkSmartPointer<vtkImplicitSelectionLoop>::New();
>         ImplicitLoop->SetLoop(points);
>
>         vtkSmartPointer<vtkImplicitFunctionToImageStencil> dataToStencil =
> vtkSmartPointer<vtkImplicitFunctionToImageStencil>::New();
>         dataToStencil->SetInput(ImplicitLoop);
>
>
>         vtkSmartPointer<vtkLassooStencilSource> LassooStencil =
> vtkSmartPointer<vtkLassooStencilSource>::New();
>         LassooStencil->SetPoints(points);
>         LassooStencil->SetInformationInput(MTImage);
>
>         vtkSmartPointer<vtkROIStencilSource> ROIStencil =
> vtkSmartPointer<vtkROIStencilSource>::New();
>         ROIStencil->SetInformationInput(MTImage);
>         ROIStencil->SetBounds(100,200,100,200,0,1);
>
> None of them show the memory leak behaviour that I saw earlier. They display
> the stencil at the specified position. vtkLassooStencilSource and
> vtkROIStencilSource also run many times faster than
> vtkImplicitFunctionToImageStencil as expected. Is there anything else with
> these classes that you'd like specifically tested?
>
> Thanks,
> Alexis Cheng
> Electrical Engineering
> University of British Columbia



More information about the vtkusers mailing list