Revision 1891,
719 bytes
checked in by bittner, 18 years ago
(diff) |
combined preprocessor
|
-
Property svn:executable set to
*
|
Line | |
---|
1 | #ifndef _CombinedPreprocessor_H__
|
---|
2 | #define _CombinedPreprocessor_H__
|
---|
3 |
|
---|
4 | #include <fstream>
|
---|
5 | using namespace std;
|
---|
6 |
|
---|
7 | #include "Preprocessor.h"
|
---|
8 | #include "VssRay.h"
|
---|
9 |
|
---|
10 | namespace GtpVisibilityPreprocessor {
|
---|
11 |
|
---|
12 | class Exporter;
|
---|
13 | class MixtureDistribution;
|
---|
14 |
|
---|
15 | /** Sampling based visibility preprocessing. The implementation is based on heuristical
|
---|
16 | sampling of view space
|
---|
17 | */
|
---|
18 | class CombinedPreprocessor : public Preprocessor {
|
---|
19 | public:
|
---|
20 |
|
---|
21 | CombinedPreprocessor();
|
---|
22 | virtual ~CombinedPreprocessor() {}
|
---|
23 |
|
---|
24 | virtual bool ComputeVisibility();
|
---|
25 |
|
---|
26 | protected:
|
---|
27 | MixtureDistribution *mMixtureDistribution;
|
---|
28 |
|
---|
29 | int mTotalSamples;
|
---|
30 | int mSamplesPerPass;
|
---|
31 | int mSamplesPerEvaluation;
|
---|
32 |
|
---|
33 | };
|
---|
34 |
|
---|
35 | }
|
---|
36 |
|
---|
37 | #endif
|
---|
Note: See
TracBrowser
for help on using the repository browser.