Skip to content
Snippets Groups Projects
Commit 41c73482 authored by Casey Goodlett's avatar Casey Goodlett
Browse files

Fix test compilation

parent 18af3e8b
No related branches found
No related tags found
No related merge requests found
......@@ -81,7 +81,7 @@ int TestCubeAxesInnerGridAll( int argc, char * argv [] )
axes->SetDrawXGridlines(1);
axes->SetDrawYGridlines(1);
axes->SetDrawZGridlines(1);
axes->SetGridLineLocation(VTK_GRID_LINES_ALL);
axes->SetGridLineLocation(vtkCubeAxesActor::VTK_GRID_LINES_ALL);
axes->SetCornerOffset( .0 );
// Use red color for X axis
......
......@@ -81,7 +81,7 @@ int TestCubeAxesInnerGridClosest( int argc, char * argv [] )
axes->SetDrawXGridlines(1);
axes->SetDrawYGridlines(1);
axes->SetDrawZGridlines(1);
axes->SetGridLineLocation(VTK_GRID_LINES_CLOSEST);
axes->SetGridLineLocation(vtkCubeAxesActor::VTK_GRID_LINES_CLOSEST);
axes->SetCornerOffset( .0 );
// Use red color for X axis
......
......@@ -81,7 +81,7 @@ int TestCubeAxesInnerGridFurthest( int argc, char * argv [] )
axes->SetDrawXGridlines(1);
axes->SetDrawYGridlines(1);
axes->SetDrawZGridlines(1);
axes->SetGridLineLocation(VTK_GRID_LINES_FURTHEST);
axes->SetGridLineLocation(vtkCubeAxesActor::VTK_GRID_LINES_FURTHEST);
axes->SetCornerOffset( .0 );
// Use red color for X axis
......
......@@ -470,6 +470,13 @@ public:
vtkGetMacro(CenterStickyAxes,int);
vtkBooleanMacro(CenterStickyAxes,int);
enum GridVisibility
{
VTK_GRID_LINES_ALL = 0,
VTK_GRID_LINES_CLOSEST = 1,
VTK_GRID_LINES_FURTHEST = 2
};
protected:
vtkCubeAxesActor();
~vtkCubeAxesActor();
......@@ -527,13 +534,6 @@ protected:
void FindBoundaryEdge(int &indexOfAxisX, int &indexOfAxisY, int &indexOfAxisZ,
double pts[8][3]);
enum GridVisibility
{
VTK_GRID_LINES_ALL = 0,
VTK_GRID_LINES_CLOSEST = 1,
VTK_GRID_LINES_FURTHEST = 2
};
// Description:
// This will Update AxisActors with GridVisibility when those should be
// dynamaic regarding the viewport.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment