Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

vimt_vil_v2i.cxx File Reference


Detailed Description

Definition in file vimt_vil_v2i.cxx.

#include "vimt_vil_v2i.h"
#include <vcl_cassert.h>
#include <vcl_cstring.h>
#include <vcl_fstream.h>
#include <vxl_config.h>
#include <vil/vil_exception.h>
#include <vil/vil_property.h>
#include <vil/vil_copy.h>
#include <vil/vil_stream.h>
#include <vil/vil_stream_fstream.h>
#include <vil/vil_image_resource.h>
#include <vil/vil_image_view.h>
#include <vsl/vsl_binary_io.h>
#include <vsl/vsl_binary_loader.h>
#include <vimt/vimt_image_2d_of.h>

Go to the source code of this file.

Classes

class  vimt_vil_fstream

Defines

#define macro(F, T)
#define macro(F, T)
#define macro(F, T)
#define macro(F, T)
#define macro(F, T)
#define macro(F, T)

Variables

const unsigned V2I_MAGIC = 987123872U


Define Documentation

#define macro F,
 ) 
 

Value:

case  F : \
    vil_copy_to_window(static_cast<vil_image_view< T >const&>(vv), \
                       static_cast<vimt_image_2d_of< T >&>(*im_).image(), i0, j0); \
    return true;

#define macro F,
 ) 
 

Value:

case  F : { \
    const vil_image_view< T > &v = \
      static_cast<const vil_image_view< T > &>(view); \
    return new vil_image_view< T >(v.memory_chunk(), &v(i0,j0), \
                                   ni, nj, v.nplanes(), \
                                   v.istep(), v.jstep(), v.planestep()); }

#define macro F,
 ) 
 

Value:

case  F : { \
    const vil_image_view< T > &v = \
      static_cast<const vil_image_view< T > &>(view); \
    vil_image_view< T > w(v.memory_chunk(), &v(i0,j0), \
                          ni, nj, v.nplanes(), \
                          v.istep(), v.jstep(), v.planestep()); \
    return new vil_image_view< T >(vil_copy_deep(w)); }

#define macro F,
 ) 
 

Value:

case  F : \
    im_ = new vimt_image_2d_of< T > (ni, nj, nplanes); \
    break;

#define macro F,
 ) 
 

Value:

case  F : \
    im_ = new vimt_image_2d_of< T >(); \
    vsl_b_read(vslstream, *static_cast<vimt_image_2d_of< T >*>(im_)); \
    break;

#define macro F,
 ) 
 

Value:

case  F : \
    { vimt_image_2d_of< T > im; vsl_b_read(vslstream, im); if (!vslstream) return 0; } \
    break;


Variable Documentation

const unsigned V2I_MAGIC = 987123872U
 

Definition at line 24 of file vimt_vil_v2i.cxx.


Generated on Thu Jan 10 14:43:58 2008 for contrib/mul/vimt by  doxygen 1.4.4