[vtkusers] [Q]vtk40 Tcl programming vtkUnstructuredGrid
Michael Norton
mnorton at cisco.com
Mon Jun 17 14:24:59 EDT 2002
hi,
I have the following lines of C++ code.
vtkUnstructuredGrid *aPolyLineGrid = vtkUnstructuredGrid::New();
aPolyLineGrid->Allocate(1, 1);
aPolyLineGrid->InsertNextCell(aPolyLine->GetCellType(),
aPolyLine->GetPointIds());
aPolyLineGrid->SetPoints(polyLinePoints);
What would the Tcl code look like?
vtkUnstructuredGrid aPolyLineGrid
aPolyLineGrid Allocate 1 1 # ???
and how do I handle this?
aPolyLineGrid->InsertNextCell(aPolyLine->GetCellType(),
aPolyLine->GetPointIds());
aPolyLineGrid->SetPoints(polyLinePoints);
thanks,
Mike N
More information about the vtkusers
mailing list