[vtkusers] problem exception
de Boer Ingo
I.deBoer at polytec.de
Mon May 22 03:40:40 EDT 2006
Hi,
I'd say you haven't assigend the points to your polygon.
You have created vtkPoints but deleted from vtkPolyData.
You have to set the points to vtkPolyData first.
greets
Ingo
---
Dr.-Ing. Ingo H. de Boer
Polytec GmbH
Polytec-Platz 1-7, 76337 Waldbronn, Germany
phone: ++49 7243 604 106
fax : ++49 7243 604 255
> -----Original Message-----
> Subject: [vtkusers] problem exception
>
>
> Hi,
>
> I tested :
>
> vtkConeSource *cone = vtkConeSource::New();
> cone->SetHeight(3.0);
> cone->SetRadius(1.0);
> cone->SetResolution(10);
>
> vtlPolyData *poly = vtkPolyData::New();
> poly = cone->GetOutPut();
>
> vtkPoints *points = vtkPoints::New();
> points->InsertPoint(0, -1.5, 0, 1);
>
> poly->deletePoint(0); // error
>
>
> I have a exception : access memory...... why ?
>
> Thnak you
>
> _________________________________________________________________
> Windows Live Messenger : venez tester la version bêta !
> http://www.ideas.live.com/programpage.aspx?versionId=0eccd94b-
eb48-497c-8e60-c6313f7ebb73
_______________________________________________
This is the private VTK discussion list.
Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ Follow this link to subscribe/unsubscribe: http://www.vtk.org/mailman/listinfo/vtkusers
More information about the vtkusers
mailing list