Exports Color class, adding visibility to static members
Color class contains predefined colors as static members and needs to be exported for them to be accessible outside the library.
This commit is contained in:
parent
6eb38b4bde
commit
68648863bc
@ -20,6 +20,8 @@
|
||||
#ifndef vtk_m_rendering_Color_h
|
||||
#define vtk_m_rendering_Color_h
|
||||
|
||||
#include <vtkm/rendering/vtkm_rendering_export.h>
|
||||
|
||||
#include <iostream>
|
||||
#include <vtkm/Types.h>
|
||||
namespace vtkm
|
||||
@ -33,7 +35,7 @@ namespace rendering
|
||||
/// Ported from EAVL. Originally created by Jeremy Meredith, Dave Pugmire,
|
||||
/// and Sean Ahern.
|
||||
///
|
||||
class Color
|
||||
class VTKM_RENDERING_EXPORT Color
|
||||
{
|
||||
public:
|
||||
vtkm::Vec<vtkm::Float32, 4> Components;
|
||||
|
Loading…
Reference in New Issue
Block a user