Ordered Treemap Layouts


Informationsvisualiesierung, SS 2003

by

Thomas Rongitsch (e9825730@stud3.tuwien.ac.at)

Robert Liebo (robert@fuckingdesign.com)

 

Home

dowload source

view application


Class Overview

COTMApp

COTMDlg

CAboutDlg

COpenGL

CPanel

CFileElement

CDataReader

CRenderer

 

Class OverView

 

 

COTMApp

COTMApp provides the application entry. Because it is inherited completely by MFC there has nothing to be done in here. In other words this class has been untouched since its creation by the wizzard.

COTMDlg

COTMDlg is the main Window of this application. It provides pointers to COpenGL (the rendering window), to the panel on the right side of the application and to some other common window controls (e.g. status bar, menu, ...). The whole communication between the controls and the application-logic is transferred (indirectely) over COTMDlg.

CAboutDlg

This class just provides a Dialog which shows version information.

COpenGL

COpenGL is inherited from CWnd and provides the drawing routines. This class even holds the very important CRenderer object, which is a private member and can only be accessed by COpenGL.
All necessary environment variables are first controlled in COpenGL, before they are submitted to the Renderer and further processed.

CPanel

CPanel provides the functionality for the User Interaction. In other words it implements the GUI.

CFileElement

CFileElement is meta-data and data in one class. It provides functionality for addinf directories and files, finding them via name and position and randomizing sizes (pseudo random-function). For further details see: FileElement.h and FileElement.cpp.

CDataReader

This class parses a directory and adds the read files and subdirectories to the CFileElement. There has also been defined a method called ReadXML() for further implementations for parsing XML-Files.

CRenderer

This class handles all the pre-rendering routines. It calculates positions for slice-and-dice rendering, pivot-by-middle and pivot-by-size rendering. Further CRenderer determines color by a applied attribute (size, creation-date, last-modified-date or random).