Commit d0a0c45e authored by David Cole's avatar David Cole
Browse files

ENH: Merge changes from main tree into VTK-5-0 branch. (cvs -q up -j1.46...

ENH: Merge changes from main tree into VTK-5-0 branch. (cvs -q up -j1.46 -j1.47 Imaging/vtkImageCanvasSource2D.cxx)
parent b5e6d95b
......@@ -41,7 +41,7 @@ public:
vtkCxxRevisionMacro(vtkImageCanvasSource2D, "1.44");
vtkCxxRevisionMacro(vtkImageCanvasSource2D, "1.44.4.1");
vtkStandardNewMacro(vtkImageCanvasSource2D);
//----------------------------------------------------------------------------
......@@ -49,12 +49,20 @@ vtkStandardNewMacro(vtkImageCanvasSource2D);
vtkImageCanvasSource2D::vtkImageCanvasSource2D()
{
this->SetNumberOfInputPorts(0);
this->DrawColor[0] = this->DrawColor[1] =
this->DrawColor[2] = this->DrawColor[3] = 0.0;
this->ImageData = vtkImageData::New();
this->ImageData->SetScalarType(VTK_DOUBLE);
this->WholeExtent[0] = 0;
this->WholeExtent[1] = 0;
this->WholeExtent[2] = 0;
this->WholeExtent[3] = 0;
this->WholeExtent[4] = 0;
this->WholeExtent[5] = 0;
this->DrawColor[0] = this->DrawColor[1] =
this->DrawColor[2] = this->DrawColor[3] = 0.0;
this->DefaultZ = 0;
this->Ratio[0] = this->Ratio[1] = this->Ratio[2] = 1.0;
......
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