Go to the documentation of this file.
11 #ifndef vtk_m_interop_anari_ANARIMapperGlyphs_h
12 #define vtk_m_interop_anari_ANARIMapperGlyphs_h
30 anari_cpp::Array1D
Radius{
nullptr };
54 anari_cpp::Device device,
56 const char* name =
"<glyphs>",
69 void SetActor(
const ANARIActor& actor)
override;
76 void SetOffsetGlyphs(
bool enabled);
81 anari_cpp::Geometry GetANARIGeometry()
override;
86 anari_cpp::Surface GetANARISurface()
override;
92 void ConstructArrays(
bool regenerate =
false);
94 void UpdateGeometry();
99 anari_cpp::Device Device{
nullptr };
100 anari_cpp::Geometry Geometry{
nullptr };
101 anari_cpp::Material Material{
nullptr };
102 anari_cpp::Surface Surface{
nullptr };
105 void ReleaseArrays();
Definition: VtkmANARITypes.h:30
Manages an array-worth of data.
Definition: ArrayHandle.h:300
std::shared_ptr< vtkm::cont::Token > Token
Definition: ANARIMapperGlyphs.h:42
GlyphsParameters Parameters
Definition: ANARIMapperGlyphs.h:103
Groups connected points that have the same field value.
Definition: Atomic.h:19
Color Table for coloring arbitrary fields.
Definition: cont/ColorTable.h:89
GlyphArrays Arrays
Definition: ANARIMapperGlyphs.h:111
This is the base class used for all ANARI mappers.
Definition: ANARIMapper.h:37
Container of all relevant ANARI scene object handles.
Definition: ANARIMapperGlyphs.h:97
unsigned int NumPrimitives
Definition: ANARIMapperGlyphs.h:33
anari_cpp::Array1D Position
Definition: ANARIMapperGlyphs.h:29
Raw ANARI arrays and parameter values set on the ANARIGeometry.
Definition: ANARIMapperGlyphs.h:25
A token to hold the scope of an ArrayHandle or other object.
Definition: Token.h:35
VTK-m data arrays underlying the ANARIArray handles created by the mapper.
Definition: ANARIMapperGlyphs.h:38
vtkm::cont::ArrayHandle< vtkm::Vec3f_32 > Vertices
Definition: ANARIMapperGlyphs.h:40
anari_cpp::Array1D Radius
Definition: ANARIMapperGlyphs.h:30
Collects cells, coords, and 0-4 fields for ANARI mappers to consume.
Definition: ANARIActor.h:52
struct vtkm::interop::anari::GlyphsParameters::VertexData Vertex
Mapper which turns vector data into arrow glyphs.
Definition: ANARIMapperGlyphs.h:49
std::shared_ptr< ANARIHandles > Handles
Definition: ANARIMapperGlyphs.h:108
Definition: ANARIMapperGlyphs.h:27
vtkm::Float32 Offset
Definition: Wireframer.h:393
vtkm::cont::ArrayHandle< vtkm::Float32 > Radii
Definition: ANARIMapperGlyphs.h:41