Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Christian Butz
VTK
Commits
ba1f2769
Commit
ba1f2769
authored
Nov 08, 2017
by
Allison Vacanti
Browse files
Fix new test failure.
The vtkControlPointItems now need XAxis and YAxis set.
parent
fd1b3364
Changes
1
Hide whitespace changes
Inline
Side-by-side
Charts/Core/Testing/Cxx/TestControlPointsItemEvents.cxx
View file @
ba1f2769
...
...
@@ -14,6 +14,7 @@
=========================================================================*/
// Charts includes
#include
"vtkChartXY.h"
#include
"vtkContextInteractorStyle.h"
#include
"vtkContextScene.h"
#include
"vtkControlPointsItem.h"
...
...
@@ -82,8 +83,8 @@ int TestControlPointsItemEvents(int, char*[])
vtkNew
<
vtkColorTransferControlPointsItem
>
controlPoints
;
controlPoints
->
SetColorTransferFunction
(
transferFunction
);
//
vtkNew<vtkChartXY> chart;
//
chart->AddPlot(controlPoints);
vtkNew
<
vtkChartXY
>
chart
;
chart
->
AddPlot
(
controlPoints
);
vtkNew
<
vtkContextScene
>
scene
;
scene
->
AddItem
(
controlPoints
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment