Commit 9b2883aa authored by Sankhesh Jhaveri's avatar Sankhesh Jhaveri

Improve documentation of new variable in vtkSmartVolumeMapper

parent 40ec94e5
......@@ -52,8 +52,9 @@ vtkSmartVolumeMapper::vtkSmartVolumeMapper()
this->LowResGPUNecessary = 0;
this->InterpolationMode=VTK_RESLICE_CUBIC;
// If the render window has a desired update rate of at least 1 frame
// per second or more, we'll consider this interactive
// If the render window has a desired update greater than or equal to the
// interactive update rate, we apply certain optimizations to ensure that the
// rendering is interactive.
this->InteractiveUpdateRate = 1.0;
// Enable checking whether the render is interactive and use the appropriate
// sample distance for rendering
......
......@@ -200,7 +200,6 @@ public:
double viewUp[3] );
// Description:
// Set the rate at or above this render will be considered interactive.
// If the DesiredUpdateRate of the vtkRenderWindow that caused the Render
// falls at or above this rate, the render is considered interactive and
// the mapper may be adjusted (depending on the render mode).
......@@ -219,8 +218,6 @@ public:
// AutoAdjustSampleDistances flag on the internal volume mapper. This flag
// along with InteractiveUpdateRate is useful to adjust volume mapper sample
// distance based on whether the render is interactive or still.
// Note that, if this flag is enabled,
// vtkSmartVolumeMapper::AutoAdjustSampleDistances flag is ignored.
// By default, InteractiveAdjustSampleDistances is enabled.
vtkSetClampMacro( InteractiveAdjustSampleDistances, int, 0, 1);
vtkGetMacro( InteractiveAdjustSampleDistances, int);
......@@ -344,8 +341,6 @@ protected:
// AutoAdjustSampleDistances flag on the internal volume mapper. This flag
// along with InteractiveUpdateRate is useful to adjust volume mapper sample
// distance based on whether the render is interactive or still.
// Note that, if this flag is enabled,
// vtkSmartVolumeMapper::AutoAdjustSampleDistances flag is ignored.
int InteractiveAdjustSampleDistances;
private:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment