Hi there,<br><br>I am new using vtk.<br>I try to show a 3D Mesh, with
several points, with lines (2 points linked).<br>I have create a
vtkPoints object. The problem come when i try to allocate this array
size.<br>I use :<br>
<br>vtkPoints* myPoints = vtkpoints::New();<br>myPoints->SetDataTypeToFloat()<div id=":32" class="ii gt">;
// float 3D coordinates<br>myPoints->SetNumberOfPoints(myNumber);<br><br>with
myNumber = 24200000; (24,200,000 points !)<br><br>Its crash with
"unable to allocate xxxxx elements of size 4 bits", or something like
that...<br>
<br>I dont know how to allocate more points in my vtkPoints array !<br><br>Thanks
for help,</div><br clear="all">Cordialement,<br><br>Mathieu PICCIN<br>-----------------------<br>09.80.00.30.57<br><a href="mailto:mathieu.piccin@gmail.com">mathieu.piccin@gmail.com</a><br><br>