Skip to content
  • Marcus D. Hanwell's avatar
    ENH: Added a Cast() function to vtkVector. · 522fa94f
    Marcus D. Hanwell authored
    Also added testing, which allows user to cast a vtkVector to a different
    type, and with GetData() allows you to pass that cast type into normal
    VTK functions that take float*, double* etc. Additional constructors
    were added to make initialization from int, float and double pointers
    easier too.
    
    Change-Id: I90a2502a21072c271c16c96233a3f9fa6f14e355
    522fa94f