<div dir="ltr">Hello all,<div><br></div><div>This is about the vtkStringArray class.</div><div><br></div><div>With vtkDoubleArray it is possible to store a set of 3d coordinates as 3 "components" within one and the same array; no need to create 3 "parallel arrays" for this purpose.</div><div><br></div><div>Trying to do the same thing with vtkStringArray I am hitting the walls!</div><div><br></div><div>1) It is obviously possible to call SetNumberOfComponents() on a vtkStringArray. Conclusion: components seem to be supported.</div><div><br></div><div>2) There are no functions like SetTuple3 or the like, but there is some SetTuple function. But the strange thing is that it allows me only to copy a tuple from another vtkStringArray with the same structure. Which only pushes the problem back to that second array...</div><div><br></div><div>The problem being: How can I set and read the components in a vtkStringArray - either one by one or as a tuple?</div><div><br></div><div>Looks like I missed something basic here...</div><div><br></div><div>Regards and thanks for helpful hints!</div><div>Cornelis</div><div><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Cornelis Bockemühl<br>Basel, Schweiz<br></div>
</div></div>