From dc4be79cde9aba9ff9ee9ba7d172c6efa45cf5b7 Mon Sep 17 00:00:00 2001 From: "v.gromova" Date: Mon, 4 Mar 2024 11:05:36 +0300 Subject: [PATCH] Replaced InsertNextTupleValue with InsertNextTypedTuple --- src/example_vectorfield.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) 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 =