MantisBT - VTK
View Issue Details
0000840VTK(No Category)public2004-05-13 16:102011-01-13 17:00
Mathieu Malaterre 
Mathieu Malaterre 
lowminoralways
closedfixed 
 
 
0000840: vtkDEMReader bug
In vtkDEMReader, the origin is being set twice in the following lines of
code:

  //
  // get the origin from the ground coordinates
  //
  origin[0] = this->GroundCoords[VTK_SW][0];
  origin[1] = this->GroundCoords[VTK_SW][1];
  origin[2] = this->ElevationBounds[0];
  origin[0] = 0;
  origin[1] = 0;
  origin[2] = 0;

I believe this should just be:

  //
  // get the origin from the ground coordinates
  //
  origin[0] = this->GroundCoords[VTK_SW][0];
  origin[1] = this->GroundCoords[VTK_SW][1];
  origin[2] = this->ElevationBounds[0];
No tags attached.
Issue History
2010-11-29 17:59Mathieu MalaterreSource_changeset_attached => VTK master 992d61e9
2011-01-13 17:00Source_changeset_attached => VTK master a2bd8391
2011-01-13 17:00Source_changeset_attached => VTK master 020ef709
2011-06-16 13:11Zack GalbreathCategory => (No Category)

Notes
(0001044)
Mathieu Malaterre   
2004-05-14 11:10   
Checking in vtkDEMReader.cxx;
/cvsroot/VTK/VTK/IO/vtkDEMReader.cxx,v <-- vtkDEMReader.cxx
new revision: 1.33; previous revision: 1.32
done