<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <title></title>
</head>
<body>
ladies and gentlemen !!!<br>
<br>
i am confused with something probably simple and i have to submit a
project in exactly 2 weeks time!<br>
(the answer to the next thing finishes my project - so i really want
some help)<br>
<br>
could please someone tell me how can i create a vtkPolygon cell which i
dont know the number of its points from the start?<br>
<br>
I get one xyz point and its id per time. <br>
is there any method that i can add THIS point with THIS id in the
polygon and<br>
later on i could add another one?<br>
<br>
(i can also gather all the points in a vtkPoints object using the
insertPoint(ID,X,Y,Z) - can i add them all in one go?)<br>
<br>
is it the initialize() method what am i looking for? could please
someone tell me how this works (if it is the one?)<br>
<br>
<br>
(with the above i am creating a number of polygons (which again i dont
know their number from the start) and i add them to a vtkCellArray, can
someone explain to me how do i use<br>
the UpdateCellCount() method? do i use it before the InsertNextCell or
after?)<br>
<br>
I am trying all the above as i want to use the <u><b>vtkVoxelContoursToSurfaceFilter</b></u>
and i looked the example that the web page<br>
has, however i dont have the number of points of its polygon and the
number of polygons from the start.... <span class="moz-smiley-s7"><span>
:-\ </span></span><br>
<br>
I will really really be greatful to anyone that answers my post<br>
sorry for its length<br>
<br>
all the best<br>
chris<br>
<br>
</body>
</html>