Commit 392c1447 authored by Ken Martin's avatar Ken Martin
Browse files

fix bugs

parent c2ca1748
......@@ -21,7 +21,7 @@
#include "vtkCompositeDataVisitor.h"
#include "vtkDataSet.h"
vtkCxxRevisionMacro(vtkCompositeDataSet, "1.1");
vtkCxxRevisionMacro(vtkCompositeDataSet, "1.2");
//----------------------------------------------------------------------------
vtkCompositeDataSet::vtkCompositeDataSet()
......@@ -60,6 +60,7 @@ void vtkCompositeDataSet::GetUpdateExtent(int &piece, int &numPieces, int &ghost
//----------------------------------------------------------------------------
void vtkCompositeDataSet::PrintSelf(ostream& os, vtkIndent indent)
{
// this->UpdateExtent
this->Superclass::PrintSelf(os,indent);
}
......@@ -66,6 +66,10 @@ public:
{this->SetUpdateExtent(piece, numPieces, 0);}
void GetUpdateExtent(int &piece, int &numPieces, int &ghostLevel);
// Description:
// We need this here to keep from hiding superclass method
vtkGetVector6Macro( UpdateExtent, int );
// Description:
// Call superclass method to avoid hiding
// Since this data type does not use 3D extents, this set method
......
......@@ -43,9 +43,13 @@ struct vtkHDSNodeRef
vtkstd_bool operator==(const vtkHDSNodeRef& rhs)
{
return (this->Level == rhs.Level) && (this->Index && rhs.Index);
return (this->Level == rhs.Level) && (this->Index == rhs.Index);
}
vtkstd_bool operator!=(const vtkHDSNodeRef& rhs)
{
return (this->Level != rhs.Level) || (this->Index != rhs.Index);
}
int Level;
int Index;
};
......
......@@ -37,7 +37,7 @@
#include "vtkTransformPolyDataFilter.h"
#include "vtkTransform.h"
vtkCxxRevisionMacro(vtkImageTracerWidget, "1.1");
vtkCxxRevisionMacro(vtkImageTracerWidget, "1.2");
vtkStandardNewMacro(vtkImageTracerWidget);
vtkCxxSetObjectMacro(vtkImageTracerWidget, HandleProperty, vtkProperty);
......@@ -380,7 +380,7 @@ void vtkImageTracerWidget::PrintSelf(ostream& os, vtkIndent indent)
{
os << indent << "Handle Property: (none)\n";
}
os << indent << "Number of Handles: " << this->NumberOfHandles << "\n";
if ( this->SelectedHandleProperty )
{
os << indent << "Selected Handle Property: "
......
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