Commit 736af62d authored by Berk Geveci's avatar Berk Geveci
Browse files

COMP: Fixed compile/link errors

parent cd803d92
......@@ -523,7 +523,7 @@ protected:
vtkVoxel *Voxel;
vtkCellLinks* Links;
void vtkHyperOctree::BuildLinks();
void BuildLinks();
// This toggles the data set API between the leaf cells and
// the dual grid (leaves are points, corners are cells).
......@@ -535,7 +535,7 @@ private:
};
//BTX
class VTK_FILTERING_EXPORT vtkHyperOctreeLightWeightCursor
{
......@@ -557,6 +557,6 @@ private:
unsigned short Level;
};
//ETX
#endif
......@@ -27,7 +27,7 @@
#include "vtkFloatArray.h"
#include "vtkGarbageCollector.h"
vtkCxxRevisionMacro(vtkHyperOctreeFractalSource, "1.1");
vtkCxxRevisionMacro(vtkHyperOctreeFractalSource, "1.2");
vtkStandardNewMacro(vtkHyperOctreeFractalSource);
//----------------------------------------------------------------------------
......@@ -65,6 +65,21 @@ vtkHyperOctreeFractalSource::~vtkHyperOctreeFractalSource()
{
}
//----------------------------------------------------------------------------
void vtkHyperOctreeFractalSource::SetProjectionAxes(int x, int y, int z)
{
if (this->ProjectionAxes[0] != x ||
this->ProjectionAxes[1] != y ||
this->ProjectionAxes[2] != z )
{
this->ProjectionAxes[0] = x;
this->ProjectionAxes[1] = y;
this->ProjectionAxes[2] = z;
this->Modified();
}
}
//----------------------------------------------------------------------------
// Description:
// Return the maximum number of levels of the hyperoctree.
......
Supports Markdown
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