diff --git a/src/example_vectorfield.cpp b/src/example_vectorfield.cpp index 2ad50c9..1b8de42 100644 --- a/src/example_vectorfield.cpp +++ b/src/example_vectorfield.cpp @@ -68,17 +68,17 @@ int main() unsigned char r[3] = { 255,0,0 }; unsigned char g[3] = { 0,255,0 }; unsigned char b[3] = { 0,0,255 }; - colors->InsertNextTupleValue(r); - colors->InsertNextTupleValue(g); - colors->InsertNextTupleValue(b); - colors->InsertNextTupleValue(r); - colors->InsertNextTupleValue(g); - colors->InsertNextTupleValue(b); - colors->InsertNextTupleValue(r); - colors->InsertNextTupleValue(g); - colors->InsertNextTupleValue(b); - colors->InsertNextTupleValue(r); - colors->InsertNextTupleValue(g); + colors->InsertNextTypedTuple(r); + colors->InsertNextTypedTuple(g); + colors->InsertNextTypedTuple(b); + colors->InsertNextTypedTuple(r); + colors->InsertNextTypedTuple(g); + colors->InsertNextTypedTuple(b); + colors->InsertNextTypedTuple(r); + colors->InsertNextTypedTuple(g); + colors->InsertNextTypedTuple(b); + colors->InsertNextTypedTuple(r); + colors->InsertNextTypedTuple(g); vtkSmartPointer polydata =