[vtkusers] trouble with pointset

Terence Lim tlim at mda.ca
Mon Sep 24 20:15:07 EDT 2001


Hi,

here is some background info:


	vtkDelaunay2D *Delaunay;
	vtkPointSet *PointSet;
	vtkPoints *xyz;

	Delaunay = vtkDelaunay2D::New();
	PointSet = vtkPointSet::New();
<------------will this work?
	xyz = vtkPoints::New();

say for example that i had added the points into xyz using:

for (int i =0; i < number; i++)
xyz->setpoint(somenumber,x,y,z);

PointSet->SetPoints(xyz);		<------------------
Delaunay->SetInput(PointSet);	            <------------------ will this
work?

Thanks

-Terence




More information about the vtkusers mailing list