Commit ad4a30c58ffb92aa8758190646062db9ef8131de

Authored by David Mayerich
1 parent 025d4bf3

changed grid_data to grid

Showing 2 changed files with 9 additions and 9 deletions   Show diff stats
stim/grids/grid_data.h
1   -#ifndef STIM_GRID_DATA_CUH
2   -#define STIM_GRID_DATA_CUH
  1 +#ifndef STIM_GRID_H
  2 +#define STIM_GRID_H
3 3  
4 4 #include <vector>
5 5 #include <string>
... ... @@ -18,7 +18,7 @@ namespace stim{
18 18 // data can be loaded in the form of images
19 19 // data can be saved in the form of binary files
20 20 template<typename T, unsigned int D = 1>
21   -class grid_data{
  21 +class grid{
22 22  
23 23 protected:
24 24  
... ...
stim/grids/image_stack.h
... ... @@ -3,22 +3,22 @@
3 3  
4 4 #include "../parser/wildcards.h"
5 5 #include "../parser/filename.h"
6   -#include "../grids/grid_data.h"
  6 +#include "../grids/grid.h"
7 7 #include "../image/image.h"
8 8  
9 9 namespace stim{
10 10  
11 11 //this creates a class that can be used to load 3D grid data from stacks of images
12   -// The class uses a 4D grid_data object, where the first dimension is color
  12 +// The class uses a 4D grid object, where the first dimension is color
13 13 template<typename T>
14   -class image_stack : public virtual grid_data<T, 4>{
  14 +class image_stack : public virtual stim::grid<T, 4>{
15 15  
16 16 enum image_type {stimAuto, stimMono, stimRGB, stimRGBA};
17 17  
18 18 protected:
19   - using grid_data<T, 4>::R;
20   - using grid_data<T, 4>::ptr;
21   - using grid_data<T, 4>::samples;
  19 + using stim::grid<T, 4>::R;
  20 + using stim::grid<T, 4>::ptr;
  21 + using stim::grid<T, 4>::samples;
22 22  
23 23 public:
24 24  
... ...