#include <LEDA/graphwin.h>#include <LEDA/color.h>#include <LEDA/impl/x_window.h>#include "DAG.h"#include "ShockGraph.h"#include "VisualDAG.h"#include "UnixFuncPrototypes.h"#include <stdio.h>Go to the source code of this file.
Functions | |
| unsigned char * | ReadPPMFile (const char *szPPMFileName, int *pnRows, int *pnCols) |
| Reads a ppm file. | |
| double | SetNodePos (leda_GraphWin &gw, DAG &g, leda_node v, POINT top_left, NodeIndexMap &map) |
| Recursive function that sets the position a node and all its children. | |
Copyright 2001 by the University of Toronto (UT).
All Rights Reserved
Permission to copy and modify this software and its documentation only for internal use in your organization is hereby granted, provided that this notice is retained thereon and on all copies. UT makes no representations as to the suitability and operability of this software for any purpose. It is provided "as is" without express or implied warranty.
UT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL UT BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
No other rights, including for example, the right to redistribute this software and its documentation or the right to prepare derivative works, are granted unless specifically provided in a separate license agreement.
Author: Diego Macrini (dmac@cs.toronto.edu)
Revision 1.4 2002/06/13 21:49:18 dmac Small changes
Revision 1.3 2002/06/10 18:41:33 dmac DAG's label is displayed again.
Revision 1.2 2002/05/16 22:51:05 dmac Several bugs fixed and a new DAG-derived class added
Revision 1.1.1.1 2002/03/10 07:38:07 dmac Imported sources
-----------------------------------------------------------------------
Definition in file VisualDAG.cpp.
|
||||||||||||||||
|
Reads a ppm file. Call delete[] with the eturned pointer when done!!!! Definition at line 710 of file VisualDAG.cpp. |
|
||||||||||||||||||||||||
|
Recursive function that sets the position a node and all its children. Parents position are set to be in an upper level at the center of all their child nodes. Definition at line 216 of file VisualDAG.cpp. References DAG::GetNodeLevel(). |
1.2.18