Commit d7c295f4 authored by Dave Pugmire's avatar Dave Pugmire Committed by Robert Maynard
Browse files

added rectilinear to test.

parent a8c7f92d
......@@ -67,6 +67,7 @@ void TestSceneRendererOSMesa()
sceneRenderer.SetView(view);
vtkm::cont::DataSet expDS = maker.Make3DExplicitDataSet4();
vtkm::cont::DataSet rectDS = maker.Make3DRectilinearDataSet0();
//New way.
vtkm::rendering::Scene3D scene;
......@@ -80,6 +81,12 @@ void TestSceneRendererOSMesa()
expDS.GetCoordinateSystem(),
expDS.GetField("pointvar"),
colorTable));
/*
scene.plots.push_back(vtkm::rendering::Plot(rectDS.GetCellSet(),
rectDS.GetCoordinateSystem(),
rectDS.GetField("pointvar"),
colorTable));
*/
vtkm::rendering::Window3D<vtkm::rendering::SceneRendererOSMesa<VTKM_DEFAULT_DEVICE_ADAPTER_TAG>,
vtkm::rendering::RenderSurfaceOSMesa>
......
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