ImageSuperClasses.cpp
Go to the documentation of this file.
00001 #include <string>
00002 #include <typeinfo>
00003 #include <iostream>
00004 #include "ImageSuperClasses.h"
00005 #include "PumaException.h"
00006 
00007 #include <stdio.h>
00008 
00009 using namespace puma2;
00010 
00011 void Image::readFromFile(const char * fileName)
00012 {
00013   char buffer [1024];
00014   sprintf (buffer,"Try to read from %s -- not implemeted for current class", fileName);
00015   throw buffer;
00016 }
00017 
00018 void Image::writeToFile(const char * fileName) const
00019 {
00020   char buffer [1024];
00021   sprintf (buffer,"Try to write to %s -- not implemeted for current class", fileName);
00022   throw buffer;
00023 }
00024 
00025 Image::Image ()
00026 {
00027 }
00028 
00029 Image::~Image() {}
00030 
00031 void Image::setupImageBaseVariables ()
00032 {
00033   // std::cout << std::endl << "Image::setupImageBaseVariables() called for class >" << typeid(*this).name() << "<" << std::endl;
00034   mValueRangeMinimum = this->getElementTypeMinimum();
00035   mValueRangeMaximum = this->getElementTypeMaximum();
00036   // std::cout << "Image::setupImageBaseVariables() max is " << mValueRangeMaximum << std::endl;
00037 }
00038 
00039 
00040 
00041 


obj_rec_gui
Author(s): AGAS/agas@uni-koblenz.de
autogenerated on Mon Oct 6 2014 02:53:43