Viskores  1.0
ViskoresANARITypes.h
Go to the documentation of this file.
1 //============================================================================
2 // The contents of this file are covered by the Viskores license. See
3 // LICENSE.txt for details.
4 //
5 // By contributing to this file, all contributors agree to the Developer
6 // Certificate of Origin Version 1.1 (DCO 1.1) as stated in DCO.txt.
7 //============================================================================
8 
9 //============================================================================
10 // Copyright (c) Kitware, Inc.
11 // All rights reserved.
12 // See LICENSE.txt for details.
13 //
14 // This software is distributed WITHOUT ANY WARRANTY; without even
15 // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
16 // PURPOSE. See the above copyright notice for more information.
17 //============================================================================
18 
19 #ifndef viskores_interop_anari_ViskoresANARITypes_h
20 #define viskores_interop_anari_ViskoresANARITypes_h
21 
22 // viskores
23 #include <viskores/Types.h>
24 // anari
25 #include <anari/anari_cpp.hpp>
26 #include <anari/anari_cpp/ext/linalg.h>
27 
28 namespace anari_cpp
29 {
30 
32 
33 using namespace ::anari;
34 using namespace ::anari::math;
35 
36 } // namespace anari_cpp
37 
38 namespace anari
39 {
40 
44 
54 
55 } // namespace anari
56 
57 #endif
anari
Definition: ViskoresANARITypes.h:38
anari_cpp
Definition: ViskoresANARITypes.h:28
Types.h
anari::ANARI_TYPEFOR_SPECIALIZATION
ANARI_TYPEFOR_SPECIALIZATION(viskores::Vec2f_32, ANARI_FLOAT32_VEC2)
These declarations let ANARI C++ bindings infer the correct ANARIDataType enum value from Viskores's ...
viskores::Vec< viskores::Float32, 2 >