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

SpecFVR/Image_io.cpp File Reference

#include "Image_io.h"
#include <stdio.h>
#include <string.h>
#include <iostream.h>

Include dependency graph for SpecFVR/Image_io.cpp:

Include dependency graph

Go to the source code of this file.

Namespaces

namespace  SpecFVRNS

Functions

floatpad (float *v, dword n)
bytepad_r (byte *v, dword n)
dword readNumber (ifstream &fin)
void writeNumber (ofstream &fout, dword n)
void read_raw (ifstream &fin, float *vol, dword X, dword Y, dword Z, dword XSize, dword YSize, dword ZSize, dword d_size)
void read_raw (byte *data, float *vol, dword X, dword Y, dword Z, dword XSize, dword YSize, dword ZSize, dword d_size)
void read_raw_r (ifstream &fin, byte *vol, dword X, dword Y, dword Z, dword XSize, dword YSize, dword ZSize, dword d_size)
int read_head (ifstream &fin, dword &XSize, dword &YSize, dword &ZSize, dword &b_size)
bool write_pvp_head (ofstream &fout, dword XSize, dword YSize, dword ZSize, dword b_size)
bool write_fvr_head (ofstream &fout, dword XSize, dword YSize, dword ZSize, dword b_size)


Function Documentation

float* pad float v,
dword  n
[static]
 

Definition at line 10 of file SpecFVR/Image_io.cpp.

References dword.

Referenced by SpecFVRNS::read_raw(), and FVR_NS::read_raw().

byte* pad_r byte v,
dword  n
[static]
 

Definition at line 20 of file SpecFVR/Image_io.cpp.

References byte, and dword.

Referenced by FVR_NS::read_raw_fast(), SpecFVRNS::read_raw_r(), and FVR_NS::read_raw_r().

int SpecFVRNS::read_head ifstream &  in,
dword XSize,
dword YSize,
dword ZSize,
dword b_size
 

Definition at line 178 of file SpecFVR/Image_io.cpp.

References SpecFVRNS::readNumber().

Referenced by vu1112117::read_shfvr().

Here is the call graph for this function:

void SpecFVRNS::read_raw byte data,
float vol,
dword  X,
dword  Y,
dword  Z,
dword  XSize,
dword  YSize,
dword  ZSize,
dword  d_size
 

Definition at line 95 of file SpecFVR/Image_io.cpp.

References byte, data, dword, and SpecFVRNS::pad().

Referenced by Volume::convert(), and vu1112117::preprocess().

Here is the call graph for this function:

void SpecFVRNS::read_raw ifstream &  fin,
float vol,
dword  X,
dword  Y,
dword  Z,
dword  XSize,
dword  YSize,
dword  ZSize,
dword  d_size
 

Definition at line 51 of file SpecFVR/Image_io.cpp.

References dword, and SpecFVRNS::pad().

Here is the call graph for this function:

void SpecFVRNS::read_raw_r ifstream &  fin,
byte vol,
dword  X,
dword  Y,
dword  Z,
dword  XSize,
dword  YSize,
dword  ZSize,
dword  d_size
 

Definition at line 139 of file SpecFVR/Image_io.cpp.

References byte, dword, and SpecFVRNS::pad_r().

Referenced by Volume::read_fvr().

Here is the call graph for this function:

dword readNumber ifstream &  fin  )  [static]
 

Definition at line 28 of file SpecFVR/Image_io.cpp.

References dword.

Referenced by SpecFVRNS::read_head(), and FVR_NS::read_head().

bool SpecFVRNS::write_fvr_head ofstream &  fout,
dword  XSize,
dword  YSize,
dword  ZSize,
dword  b_size
 

Definition at line 218 of file SpecFVR/Image_io.cpp.

References SpecFVRNS::writeNumber().

Referenced by Volume::write_fvr(), and vu1112117::write_fvr().

Here is the call graph for this function:

bool SpecFVRNS::write_pvp_head ofstream &  fout,
dword  XSize,
dword  YSize,
dword  ZSize,
dword  b_size
 

Definition at line 207 of file SpecFVR/Image_io.cpp.

References SpecFVRNS::writeNumber().

Here is the call graph for this function:

void writeNumber ofstream &  fout,
dword  n
[static]
 

Definition at line 42 of file SpecFVR/Image_io.cpp.

Referenced by SpecFVRNS::write_fvr_head(), FVR_NS::write_fvr_head(), SpecFVRNS::write_pvp_head(), and FVR_NS::write_pvp_head().


Generated on Wed Dec 15 21:20:42 2004 for vuVolume by  doxygen 1.3.9.1