Commit a16f9fed authored by Robert Maynard's avatar Robert Maynard

Reduce the amount of vtables that vtkm::rendering produce.

parent 4387dcf0
......@@ -78,6 +78,7 @@ set(sources
WorldAnnotator.cxx
internal/RunTriangulator.cxx
raytracing/Ray.cxx
)
set(opengl_headers
......@@ -121,7 +122,7 @@ vtkm_configure_component_OpenGL()
if(VTKm_OpenGL_FOUND)
list(APPEND headers ${opengl_headers})
list(APPEND sources ${opengl_sources})
vtkm_configure_component_OSMesa()
if(VTKm_OSMesa_FOUND)
list(APPEND headers ${osmesa_headers})
......
//============================================================================
// Copyright (c) Kitware, Inc.
// All rights reserved.
// See LICENSE.txt for details.
// This software is distributed WITHOUT ANY WARRANTY; without even
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURPOSE. See the above copyright notice for more information.
//
// Copyright 2015 Sandia Corporation.
// Copyright 2015 UT-Battelle, LLC.
// Copyright 2015 Los Alamos National Security.
//
// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
// the U.S. Government retains certain rights in this software.
//
// Under the terms of Contract DE-AC52-06NA25396 with Los Alamos National
// Laboratory (LANL), the U.S. Government retains certain rights in
// this software.
//============================================================================
#include <vtkm/rendering/raytracing/Ray.h>
namespace vtkm {
namespace rendering {
namespace raytracing {
RayBase::~RayBase()
{
}
}
}
} // namespace vtkm::rendering::raytracing
......@@ -29,14 +29,10 @@ namespace raytracing {
class RayBase
{
public:
VTKM_CONT
RayBase()
{
}
RayBase() {}
virtual ~RayBase();
VTKM_CONT
virtual ~RayBase(){}
VTKM_CONT
virtual void resize(const vtkm::Int32 vtkmNotUsed(newSize)){}
};
template<typename DeviceAdapter>
......
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