[vtkusers] VTK Examples can use your help!

Andy Bauer andy.bauer at kitware.com
Mon Feb 1 16:06:22 EST 2010


I'm attaching my changes to the CellLocator.cxx example.  The main changes
was:
this->CellLocator->GenerateRepresenation(1, this->PolyData);

to:
this->CellLocator->GenerateRepresentation(this->CellLocator->GetLevel(),
this->PolyData);

I also formatted it to be more consistent with VTK style.

Andy


> Date: Mon, 1 Feb 2010 10:49:12 -0500
> From: David Doria <daviddoria+vtk at gmail.com <daviddoria%2Bvtk at gmail.com>>
> Subject: Re: [vtkusers] VTK Examples can use your help!
> Cc: vtkusers at vtk.org
> Message-ID:
>        <c19fcadc1002010749q3b0a007ai3c9dac4741c196f7 at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> On Mon, Feb 1, 2010 at 10:39 AM, Andy Bauer <andy.bauer at kitware.com>
> wrote:
>
> > Hi David,
> >
> > I tried the CellLocator example and didn't see anything wrong with it.
>  Did
> > someone go in and fix it?  If so, I'll more the example to the proper
> > place.  Otherwise I can try and fix it if someone gives me a clue about
> > what's wrong with it.
> >
> > Andy
> >
> >
>  Andy,
>
> It doesn't look like anyone has fixed it. If I press 'n' a few times, then
> press 'p', I'd expect to get back to where I started, but instead I just
> see
> a full cube anytime after I've pressed either key more than once.
>
> Can you not reproduce this behavior?
>
> David
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://www.vtk.org/pipermail/vtkusers/attachments/20100201/1f3d55ca/attachment-0001.htm
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100201/78b0c936/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CellLocator.cxx
Type: text/x-c++src
Size: 4084 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100201/78b0c936/attachment.cxx>


More information about the vtkusers mailing list