Reader/Writer for v3i format images. More...
#include "vimt3d_vil3d_v3i.h"
#include <vcl_cstdlib.h>
#include <vcl_cstring.h>
#include <vcl_sstream.h>
#include <vcl_cassert.h>
#include <vcl_ios.h>
#include <vcl_algorithm.h>
#include <vsl/vsl_binary_loader.h>
#include <vsl/vsl_block_binary.h>
#include <vgl/vgl_point_3d.h>
#include <vgl/vgl_vector_3d.h>
#include <vil3d/vil3d_image_view.h>
#include <vil3d/vil3d_copy.h>
#include <vil3d/vil3d_property.h>
#include <vimt3d/vimt3d_image_3d_of.h>
#include <vil/vil_exception.h>
Go to the source code of this file.
Defines | |
#define | macro(F, T) |
#define | macro(F, T) |
#define | macro(F, T) |
#define | macro(F, T) |
Reader/Writer for v3i format images.
Definition in file vimt3d_vil3d_v3i.cxx.
#define macro | ( | F, | |
T | |||
) |
case F : \ im_ = new vimt3d_image_3d_of< T > (ni, nj, nk, nplanes); \ break;
#define macro | ( | F, | |
T | |||
) |
case F : { \ const vil3d_image_view< T > &v = \ static_cast<const vil3d_image_view< T > &>(view); \ vil3d_image_view< T > w(v.memory_chunk(), &v(i0,j0,k0), \ ni, nj, nk, v.nplanes(), \ v.istep(), v.jstep(), v.kstep(), v.planestep()); \ return new vil3d_image_view< T >(vil3d_copy_deep(w)); }
#define macro | ( | F, | |
T | |||
) |
case F : { \ const vil3d_image_view< T > &v = \ static_cast<const vil3d_image_view< T > &>(view); \ return new vil3d_image_view< T >(v.memory_chunk(), v.size() ? &v(i0,j0,k0) : 0, \ ni, nj, nk, v.nplanes(), \ v.istep(), v.jstep(), v.kstep(), \ v.planestep()); }
#define macro | ( | F, | |
T | |||
) |
case F : \ vil3d_copy_to_window(static_cast<vil3d_image_view<T >const&>(vv), \ static_cast<vimt3d_image_3d_of<T >&>(*im_).image(), \ i0, j0, k0); \ return true;