Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ITK
- //#include "itkIndex.h"
- #include <iostream>
- namespace itk
- {
- template <unsigned int N>
- struct Index
- {
- long coords[N];
- };
- }
- int main(int, char* [] )
- {
- // itk::Index<2> index = {{5, -3}};
- itk::Index<2> index;
- index.coords[0] = 5;
- index.coords[1] = -3;
- std::cout << index.coords[0];
- return 0;
- }
Add Comment
Please, Sign In to add comment