<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Don:
<p>There is an example in the book (Data Representation chapter, I think)
on constructing
<br>a polydata object. If you want to us one of the data grids, dont start
with vtkDataSet - which
<br>is an abstract data type. Instead start with one of the grids, such
as StructuredPoints,
<br>StructuredGrid, UnstructuredGrid - each of which (except the first,
which doesnt need
<br>points to be specified) should have a GetPoints() method to get
a handle to the Points
<br>Array. Follow that you will be home.
<p>For example, object->GetPoints()->SetPoint (id, v), where v is a 3 element
array of coordinates.
<p>Or something close to it (I am writing from memory)..
<p> -- krs
<pre>--
K.R.Subramanian Phone: (704) 547-4872
Department of Computer Science FAX: (704) 547-3516
UNC Charlotte, 228A Kennedy
9201 Univ. City Blvd. Email: krs@cs.uncc.edu
Charlotte, NC 28223-0001 WWW: <A HREF="http://www.cs.uncc.edu/~krs">http://www.cs.uncc.edu/~krs</A></pre>
</html>