Changeset 2187 for GTP/trunk/Lib/Vis/Preprocessing/src/Preprocessor.h
- Timestamp:
- 03/05/07 11:07:44 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/Preprocessor.h
r2183 r2187 57 57 58 58 /** Load the input scene. 59 @param filename file to load60 @return true on success59 @param filename file to load 60 @return true on success 61 61 */ 62 62 virtual bool LoadScene(const string filename); 63 63 64 64 /** Export all preprocessed data in a XML format understandable by the 65 PreprocessingInterface of the GtpVisibilityPreprocessor Module.66 The file can be compressed depending on the environement settings.67 @return true on successful export65 PreprocessingInterface of the GtpVisibilityPreprocessor Module. 66 The file can be compressed depending on the environement settings. 67 @return true on successful export 68 68 */ 69 69 virtual bool ExportPreprocessedData(const string filename); 70 70 71 71 /** Build the KdTree of currently loaded occluders/occludees/viewcells. The construction 72 is driven by the environment settings, which also sais which of the three types of73 entities should be used to drive the heuristical construction (only occluders by default)72 is driven by the environment settings, which also sais which of the three types of 73 entities should be used to drive the heuristical construction (only occluders by default) 74 74 */ 75 75 virtual bool BuildKdTree(); 76 76 77 77 /** Compute visibility method. This method has to be reimplemented by the actual 78 Preprocessor implementation (e.g. SamplingPreprocessor, ExactPreprocessor,79 GlobalSamplingpreprocessor)78 Preprocessor implementation (e.g. SamplingPreprocessor, ExactPreprocessor, 79 GlobalSamplingpreprocessor) 80 80 */ 81 81 virtual bool ComputeVisibility() = 0; 82 82 83 83 /** Post Process the computed visibility. By default applys the visibility filter 84 (if specified in the environment and export the preprocessed data */ 84 (if specified in the environment and export the preprocessed data 85 */ 85 86 virtual bool PostProcessVisibility(); 86 87 87 88 /** View cells are either loaded or prepared for generation, according to the chosen environment 88 object. Important evironment options are, e.g, the view cell type.89 Should be done after scene loading (i.e., some options are based on scene type).89 object. Important evironment options are, e.g, the view cell type. 90 Should be done after scene loading (i.e., some options are based on scene type). 90 91 */ 91 92 bool PrepareViewCells(); … … 111 112 @returns true if samples were loaded successfully 112 113 */ 113 bool LoadSamples(VssRayContainer &samples, 114 ObjectContainer &objects) const; 114 bool LoadSamples(VssRayContainer &samples, ObjectContainer &objects) const; 115 115 116 116 /** Exports samples to file. 117 @returns true if samples were written successfully117 @returns true if samples were written successfully 118 118 */ 119 119 bool ExportSamples(const VssRayContainer &samples) const; … … 158 158 ); 159 159 160 /** Compute pixel error of the current PVS solution by sampling given number of viewpoints 160 /** Compute pixel error of the current PVS solution by sampling given number of viewpoints. 161 161 */ 162 162 virtual void ComputeRenderError(); … … 223 223 bool mUseGlRenderer; 224 224 bool mUseGlDebugger; 225 bool mUseHwGlobalLines; 225 226 bool mUseHwGlobalLines; 226 227 bool mLoadViewCells; 227 228 … … 261 262 RayCaster *mRayCaster; 262 263 264 263 265 protected: 264 266 … … 288 290 vector<FaceParentInfo> mFaceParents; 289 291 290 291 292 292 /// if box around view space should be used 293 293 bool mUseViewSpaceBox;
Note: See TracChangeset
for help on using the changeset viewer.