Commit 83cfc2d2 authored by Mathieu Malaterre's avatar Mathieu Malaterre

FIX: PrintSelf

parent b76b6b88
......@@ -20,7 +20,7 @@
#include "vtkColorTransferFunction.h"
#include "vtkPiecewiseFunction.h"
vtkCxxRevisionMacro(vtkUnstructuredGridTestRayIntegrator, "1.2");
vtkCxxRevisionMacro(vtkUnstructuredGridTestRayIntegrator, "1.3");
vtkStandardNewMacro(vtkUnstructuredGridTestRayIntegrator);
template<class T>
......@@ -35,6 +35,7 @@ static void TemplateIntegrateColor(
//----------------------------------------------------------------------------
//-----------------------------------------------------------------------------
vtkUnstructuredGridTestRayIntegrator::vtkUnstructuredGridTestRayIntegrator()
{
this->ColorTable = NULL;
......@@ -52,18 +53,21 @@ vtkUnstructuredGridTestRayIntegrator::vtkUnstructuredGridTestRayIntegrator()
this->SavedParametersScalars = NULL;
}
//-----------------------------------------------------------------------------
vtkUnstructuredGridTestRayIntegrator::~vtkUnstructuredGridTestRayIntegrator()
{
this->SetNumberOfComponents(0);
}
//-----------------------------------------------------------------------------
void vtkUnstructuredGridTestRayIntegrator::PrintSelf(ostream& os, vtkIndent indent)
{
this->Superclass::PrintSelf(os,indent);
os << indent << "ScalarOpacityUnitDistance: "
<< this->ScalarOpacityUnitDistance << "\n";
}
//-----------------------------------------------------------------------------
void vtkUnstructuredGridTestRayIntegrator::SetNumberOfComponents(int num)
{
if ( num == this->SavedNumberOfComponents )
......
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