Skip to content

Commit

Permalink
Added dependency graph
Browse files Browse the repository at this point in the history
Also added an include to pythonscript so they work (even though they do nothing).
  • Loading branch information
Zack Moratto committed Apr 23, 2010
1 parent 8d68620 commit 8eb2488
Show file tree
Hide file tree
Showing 5 changed files with 76 additions and 4 deletions.
10 changes: 9 additions & 1 deletion docs/book/Makefile
@@ -1,4 +1,12 @@
all: setup final
all: graph setup final

.SUFFIXES:.dot .pdf

.dot.pdf:
@dot -Teps $< | epstopdf -f -o=$@

graph: graph/asp_deps.pdf
@echo "Graphing ..."

setup:
@echo "Running Latex pass 1/3 ..."
Expand Down
58 changes: 58 additions & 0 deletions docs/book/graph/asp_deps.dot
@@ -0,0 +1,58 @@
graph g {

layout="sfdp";
//maxiter=1000000000;
//overlap=false;
mode="KK";
//defaultdist=5;
//normalize=true;
//Damping=0.6;
pad=0.1;


node [fontname="Helvetica"];
// ASP
node [fontsize=15,shape=ellipse,style=bold];
"Ames Stereo Pipeline";
// Important Nodes
node [fontsize=12,shape=box,style=bold];
"Vision Workbench"; "ISIS";
// Minor Nodes
node [fontsize=9,shape=ellipse,style=filled];
"GDAL"; "OpenEXR"; "Lapack"; "Boost 1.35+";"Qt 4.6.2";
"Jama"; "TNT"; "GSL 1.14"; "GMM 3.0.0"; "Proj4";
"SuperLU 3.0"; "CSpice"; "Qwt 5.2.1"; "Geos"; "Z";
"Xerces-C 2.7"; "ILM Base";

// Optional Nodes
node [fontsize=9,style=dashed]; "Open Scene Graph";
"Kakadu";


"Vision Workbench" -- "Ames Stereo Pipeline"
"Open Scene Graph" -- "Ames Stereo Pipeline"
"ISIS" -- "Ames Stereo Pipeline"
"Boost 1.35+" -- "Ames Stereo Pipeline"

"GDAL" -- "Vision Workbench"
"OpenEXR" -- "Vision Workbench";
"ILM Base" -- "OpenEXR";
"Lapack" -- "Vision Workbench";
"Boost 1.35+" -- "Vision Workbench";
"Proj4" -- "Vision Workbench";
"Z" -- "Vision Workbench";

"Qt 4.6.2" -- "ISIS";
"Jama" -- "ISIS";
"Boost 1.35+" -- "ISIS";
"TNT" -- "ISIS";
"GSL 1.14" -- "ISIS";
"GMM 3.0.0" -- "ISIS";
"SuperLU 3.0" -- "ISIS";
"CSpice" -- "ISIS";
"Qwt 5.2.1" -- "ISIS";
"Xerces-C 2.7" -- "ISIS";
"Kakadu" -- "ISIS";
"Geos" -- "ISIS";

}
8 changes: 7 additions & 1 deletion docs/book/installation.tex
Expand Up @@ -97,13 +97,19 @@ \subsection{Common Traps}
\pagebreak
\section{\label{sec:Source-Installation}Source Installation}

This method is for advanced users only.
This method is for advanced users with moderate build system experience. Some dependencies such as ISIS and it's dependencies \emph{(like SuperLU, Qwt, CSpice)} use custom build systems. Because of this and time, we won't help with questions on how to build dependencies.

\subsection{Dependency List}

This is a list of direct dependencies of Stereo Pipeline. Some libraries
(like \ac{ISIS}) have dependencies of their own which are not covered here.

\begin{figure}[h]
\centering
\includegraphics[width=5in]{graph/asp_deps.pdf}
\caption{Graph outlining some dependencies.}
\end{figure}

\begin{description}
\item [{Boost}] (Required) \url{http://www.boost.org/}\\
Version 1.35 or greater is required. Along with the base library
Expand Down
2 changes: 1 addition & 1 deletion src/asp/PhotometryTK/phoinit.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python

import os, optparse, multiprocessing;
import os, optparse, multiprocessing, sys;

class Usage(Exception):
def __init__(self,msg):
Expand Down
2 changes: 1 addition & 1 deletion src/asp/PhotometryTK/phosolve.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python

import os, optparse, multiprocessing;
import os, optparse, multiprocessing, sys;

class Usage(Exception):
def __init__(self,msg):
Expand Down

0 comments on commit 8eb2488

Please sign in to comment.