~ubuntu-branches/ubuntu/raring/openwalnut/raring

« back to all changes in this revision

Viewing changes to src/modules/directVolumeRendering/WMDirectVolumeRendering.h

  • Committer: Package Import Robot
  • Author(s): Sebastian Eichelbaum
  • Date: 2012-12-12 11:26:32 UTC
  • mfrom: (3.1.1 sid)
  • Revision ID: package-import@ubuntu.com-20121212112632-xhiuwkxuz5h0idkh
Tags: 1.3.1+hg5849-1
* Minor changes compared to 1.3.0 but included several bug fixes.
* See http://www.openwalnut.org/versions/4

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
class WMDirectVolumeRendering: public WModule
46
46
{
47
47
public:
48
 
 
49
48
    /**
50
49
     * Default constructor.
51
50
     */
83
82
    virtual const char** getXPMIcon() const;
84
83
 
85
84
protected:
86
 
 
87
85
    /**
88
86
     * Entry point after loading the module. Runs in separate thread.
89
87
     */
105
103
    virtual void requirements();
106
104
 
107
105
private:
 
106
    /**
 
107
     * The transfer function as an input data set
 
108
     */
 
109
    boost::shared_ptr< WModuleInputData< WDataSetSingle > > m_transferFunction;
108
110
 
109
111
    /**
110
112
     * An input connector used to get datasets from other modules. The connection management between connectors must not be handled by the module.
141
143
    WPropSelection m_localIlluminationAlgo;
142
144
 
143
145
    /**
144
 
     * The group containing the tf loader path and trigger.
145
 
     */
146
 
    WPropGroup m_tfLoaderGroup;
147
 
 
148
 
    /**
149
 
     * If true, the texture is used for transfer functions.
150
 
     */
151
 
    WPropBool m_tfLoaderEnabled;
152
 
 
153
 
    /**
154
 
     * The path to the file to load.
155
 
     */
156
 
    WPropFilename m_tfLoaderFile;
157
 
 
158
 
    /**
159
 
     * Triggered to actually do loading
160
 
     */
161
 
    WPropTrigger m_tfLoaderTrigger;
162
 
 
163
 
    /**
164
146
     * All properties for those nice improvement methods.
165
147
     */
166
148
    WPropGroup m_improvementGroup;
177
159
    WPropBool m_opacityCorrectionEnabled;
178
160
 
179
161
    /**
 
162
     * If active, Maximum intensity projection is used based on the alpha value of the points
 
163
     */
 
164
    WPropBool m_maximumIntensityProjectionEnabled;
 
165
 
 
166
    /**
 
167
     * If active, color coding is done by depth projection mode where the intensity is taken from the alpha channel and the color from the color channel ( last part not implemented, yet )
 
168
     */
 
169
    WPropBool m_depthProjectionEnabled;
 
170
 
 
171
    /**
180
172
     * A condition used to notify about changes in several properties.
181
173
     */
182
174
    boost::shared_ptr< WCondition > m_propCondition;
185
177
     * the DVR shader.
186
178
     */
187
179
    osg::ref_ptr< WGEShader > m_shader;
 
180
 
 
181
    /**
 
182
     * the main geometry node
 
183
     */
 
184
    osg::ref_ptr< osg::Node > cube;
188
185
};
189
186
 
190
187
#endif  // WMDIRECTVOLUMERENDERING_H