Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

MCGlobalData.cpp

Go to the documentation of this file.
00001 
00013 #include "MCGlobalData.h"
00014 
00015 #define DEBUG_MODE 99
00016 #include "General/vuMarchingCubes/debug.h"
00017 
00018 MCGlobalData::MCGlobalData() // {{{
00019 : thres(100.0),
00020   valueMin(0),
00021   valueMax(4095),
00022   smooth(0.001),
00023   recursions(1),
00024   compileData(false),
00025   frameRadius(0.1),
00026   drawLines(false),
00027   cubeBrowser(false),
00028   cube(255),
00029   cullMode(0),
00030   linesMode(0),
00031   drawNormals(false),
00032   normalsLength(1.0),
00033   compileNormals(true),         // initially the normals array should be compiled.
00034   doMeshStatistics(true),
00035   meshSize(0),
00036   fpsThres(3.0),
00037   drawObject(true),
00038   termProgress(false)
00039 {
00040         DEBUG0("MCGlobalData::MCGlobalData()\n");
00041         cubeSize[0] = cubeSize[1] = cubeSize[2] = 1.0;
00042         for(int i = 0; i < 256; ++i) {
00043                 isObjectColor[i] = true;
00044         }
00045 } // }}} MCGlobalData::MCGlobalData()

Generated on Wed Dec 15 21:20:29 2004 for vuVolume by  doxygen 1.3.9.1