#include <Visualizer.h>
Collaboration diagram for Visualizer:
Static Public Member Functions | |
static void | visualize (const char *title, TriangleSetExt *te) |
Initiate interactive scene visualization. | |
static void | takeScreenshot (char *fileName, TriangleSetExt *te) |
Take screenshot from default camera position and save to file. |
Definition at line 25 of file Visualizer.h.
static void Visualizer::visualize | ( | const char * | title, | |
TriangleSetExt * | te | |||
) | [static] |
Initiate interactive scene visualization.
title | Title of visualizer's window | |
te | Filled patch container with computed patch and vertex colors. |
static void Visualizer::takeScreenshot | ( | char * | fileName, | |
TriangleSetExt * | te | |||
) | [static] |
Take screenshot from default camera position and save to file.
Using TGA image format to save screenshot.
fileName | Name of file to save screenshot to. Existing file will be replaced. | |
te | Filled patch container with computed patch and vertex colors. |