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

retinalobjs.c File Reference

Code to produce input objects. More...

#include <cmath>
#include <iomanip>
#include <strstream.h>
#include <numeric>
#include <fstream>
#include <utility>
#include "retinalobjs.h"
#include <stdio.h>
#include "stringutils.h"

Include dependency graph for retinalobjs.c:

Include dependency graph

Go to the source code of this file.

Compounds

class  ActivityAccumulator
class  DefaultActivityAccumulator

Defines

#define M_PI   3.14159265358979323846
#define RADIANS_TO_DEGREES(theta)    (180.0*(theta)/M_PI)
#define CONSTRAIN_ANGLE(angle)

Functions

string accumulate_stringreps (string val, Retinal_Object* r)
 Function to be called from accumulate to combine an ongoing sum of stringrep() results with a new value. More...

string pgm_full_pathname (const string& filename, const string& paths="")
 Helper function to expand a filename to path of first one found. More...


Detailed Description

Code to produce input objects.

Header:
/u/nn/cvsroot/lissom/src/retinalobjs.c,v 1.44 2000/08/21 01:07:10 jbednar Exp

Definition in file retinalobjs.c.


Define Documentation

#define CONSTRAIN_ANGLE( angle )
 

Initializer:

\
  (((angle)>=0) ?                                                  \
   fmod( (angle),                                          M_PI ) : \
   fmod( (angle) + 2*M_PI*(-1*floor((angle)/(M_PI*2))+1),  M_PI)     )

Definition at line 42 of file retinalobjs.c.

#define M_PI   3.14159265358979323846
 

Definition at line 34 of file retinalobjs.c.

#define RADIANS_TO_DEGREES( theta )   (180.0*(theta)/M_PI)
 

Definition at line 38 of file retinalobjs.c.


Function Documentation

string accumulate_stringreps ( string val,
Retinal_Object * r )
 

Function to be called from accumulate to combine an ongoing sum of stringrep() results with a new value.

Definition at line 306 of file retinalobjs.c.

string pgm_full_pathname ( const string & filename,
const string & paths = "" )
 

Helper function to expand a filename to path of first one found.

Definition at line 710 of file retinalobjs.c.


Generated at Mon Aug 21 00:31:10 2000 for RF-LISSOM by doxygen1.2.1 written by Dimitri van Heesch, © 1997-2000