Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members  

povray.h

00001 /***************************************************************************
00002                           povray.h  -  description
00003                              -------------------
00004     begin                : Sat Dec 8 2001
00005     copyright            : (C) 2001 by Rudiger Koch
00006     email                : rkoch@rkoch.org
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #ifndef POVRAY_H
00019 #define POVRAY_H
00020 
00021 using namespace std;
00022 #include <stdio.h>
00023 #include <string>
00024 #include <vector>
00025 
00026 #include <amygdala/types.h>
00027 
00028 class Network;
00029 class Neuron;
00030 
00031 
00046 class Povray {
00047 public:
00052     Povray(int ID, string headline, string dir="");
00053 
00059     Povray(Network *net, int ID, string headline, string dir);
00060 
00061     ~Povray();
00062 
00064     void WriteNetwork();
00065 
00069     void WriteTree(Neuron* rootNeuron, int depth);
00070 
00071 private: // Private attributes
00072     Network * net;
00073     FILE* povfile;
00074 protected: // Protected methods
00077     void WriteNeuron(Neuron *theNeuron);
00081     void WriteSynapse(Neuron *pre, Neuron *post);
00082 
00085     void mkPovHeader(int Id);
00086 private: // Private methods
00087   void OutFile(int ID, string headline, string dir);
00088   void WriteMpNetwork();
00089 };
00090 
00091 #endif

Generated on Wed Sep 4 02:30:35 2002 for Amygdala by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002