Interface for inheriting classes for overriding mapper functionality.
More...
#include <vtkAnariPolyDataMapperInheritInterface.h>
|
| struct | ParameterFlags |
| | Specifies parameter flags, which can be used by inheriting classes to specify which parameter it takes responsibility for. More...
|
| |
|
| virtual | ~vtkAnariPolyDataMapperInheritInterface () |
| |
| virtual void | SetDevice (anari::Device &device, anari::Extensions &extensions, const char *const *anariExtensionStrings) |
| | Set the ANARI device to write to.
|
| |
| virtual int | GetSurfaceRepresentation (vtkProperty *property) const |
| | Inheriting classes can own (override) representation choice, creation of anari geometries and parameter updates thereof.
|
| |
| virtual ParameterFlags | GetBaseUpdateResponsibility () const |
| |
| virtual anari::Geometry | InitializeSpheres (vtkPolyData *polyData, vtkProperty *property, std::vector< vec3 > &vertices, std::vector< uint32_t > &indexArray, double pointSize, vtkDataArray *scaleArray, vtkPiecewiseFunction *scaleFunction, std::vector< vec2 > &textureCoords, std::vector< float > &pointValueTextureCoords, std::vector< vec4 > &pointColors, int cellFlag) |
| |
| virtual anari::Geometry | InitializeCurves (vtkPolyData *polyData, vtkProperty *property, std::vector< vec3 > &vertices, std::vector< uint32_t > &indexArray, double lineWidth, vtkDataArray *scaleArray, vtkPiecewiseFunction *scaleFunction, std::vector< vec2 > &textureCoords, std::vector< float > &pointValueTextureCoords, std::vector< vec4 > &pointColors, int cellFlag) |
| |
| virtual anari::Geometry | InitializeCylinders (vtkPolyData *polyData, vtkProperty *property, std::vector< vec3 > &vertices, std::vector< uint32_t > &indexArray, double lineWidth, vtkDataArray *scaleArray, vtkPiecewiseFunction *scaleFunction, std::vector< vec2 > &textureCoords, std::vector< float > &pointValueTextureCoords, std::vector< vec4 > &pointColors, int cellFlag) |
| |
| virtual anari::Geometry | InitializeTriangles (vtkPolyData *polyData, vtkProperty *property, std::vector< vec3 > &vertices, std::vector< uint32_t > &indexArray, std::vector< vec3 > &normals, std::vector< vec2 > &textureCoords, std::vector< float > &pointValueTextureCoords, std::vector< vec4 > &pointColors, int cellFlag) |
| |
| virtual const char * | GetSpheresPostfix () const |
| | Inheriting classes can also influence the postfix of the created prim names.
|
| |
| virtual const char * | GetCurvesPostfix () const |
| |
| virtual const char * | GetCylindersPostfix () const |
| |
| virtual const char * | GetTrianglesPostfix () const |
| |
Interface for inheriting classes for overriding mapper functionality.
Interface for inheriting classes for overriding mapper functionality
- Thanks:
- Kevin Griffin kgrif.nosp@m.fin@.nosp@m.nvidi.nosp@m.a.co.nosp@m.m for creating and contributing the class and NVIDIA for supporting this work.
Definition at line 34 of file vtkAnariPolyDataMapperInheritInterface.h.
◆ ~vtkAnariPolyDataMapperInheritInterface()
| virtual vtkAnariPolyDataMapperInheritInterface::~vtkAnariPolyDataMapperInheritInterface |
( |
| ) |
|
|
virtual |
◆ SetDevice()
| virtual void vtkAnariPolyDataMapperInheritInterface::SetDevice |
( |
anari::Device & |
device, |
|
|
anari::Extensions & |
extensions, |
|
|
const char *const * |
anariExtensionStrings |
|
) |
| |
|
virtual |
Set the ANARI device to write to.
◆ GetSurfaceRepresentation()
| virtual int vtkAnariPolyDataMapperInheritInterface::GetSurfaceRepresentation |
( |
vtkProperty * |
property | ) |
const |
|
virtual |
Inheriting classes can own (override) representation choice, creation of anari geometries and parameter updates thereof.
◆ GetBaseUpdateResponsibility()
| virtual ParameterFlags vtkAnariPolyDataMapperInheritInterface::GetBaseUpdateResponsibility |
( |
| ) |
const |
|
virtual |
◆ InitializeSpheres()
| virtual anari::Geometry vtkAnariPolyDataMapperInheritInterface::InitializeSpheres |
( |
vtkPolyData * |
polyData, |
|
|
vtkProperty * |
property, |
|
|
std::vector< vec3 > & |
vertices, |
|
|
std::vector< uint32_t > & |
indexArray, |
|
|
double |
pointSize, |
|
|
vtkDataArray * |
scaleArray, |
|
|
vtkPiecewiseFunction * |
scaleFunction, |
|
|
std::vector< vec2 > & |
textureCoords, |
|
|
std::vector< float > & |
pointValueTextureCoords, |
|
|
std::vector< vec4 > & |
pointColors, |
|
|
int |
cellFlag |
|
) |
| |
|
virtual |
◆ InitializeCurves()
| virtual anari::Geometry vtkAnariPolyDataMapperInheritInterface::InitializeCurves |
( |
vtkPolyData * |
polyData, |
|
|
vtkProperty * |
property, |
|
|
std::vector< vec3 > & |
vertices, |
|
|
std::vector< uint32_t > & |
indexArray, |
|
|
double |
lineWidth, |
|
|
vtkDataArray * |
scaleArray, |
|
|
vtkPiecewiseFunction * |
scaleFunction, |
|
|
std::vector< vec2 > & |
textureCoords, |
|
|
std::vector< float > & |
pointValueTextureCoords, |
|
|
std::vector< vec4 > & |
pointColors, |
|
|
int |
cellFlag |
|
) |
| |
|
virtual |
◆ InitializeCylinders()
| virtual anari::Geometry vtkAnariPolyDataMapperInheritInterface::InitializeCylinders |
( |
vtkPolyData * |
polyData, |
|
|
vtkProperty * |
property, |
|
|
std::vector< vec3 > & |
vertices, |
|
|
std::vector< uint32_t > & |
indexArray, |
|
|
double |
lineWidth, |
|
|
vtkDataArray * |
scaleArray, |
|
|
vtkPiecewiseFunction * |
scaleFunction, |
|
|
std::vector< vec2 > & |
textureCoords, |
|
|
std::vector< float > & |
pointValueTextureCoords, |
|
|
std::vector< vec4 > & |
pointColors, |
|
|
int |
cellFlag |
|
) |
| |
|
virtual |
◆ InitializeTriangles()
| virtual anari::Geometry vtkAnariPolyDataMapperInheritInterface::InitializeTriangles |
( |
vtkPolyData * |
polyData, |
|
|
vtkProperty * |
property, |
|
|
std::vector< vec3 > & |
vertices, |
|
|
std::vector< uint32_t > & |
indexArray, |
|
|
std::vector< vec3 > & |
normals, |
|
|
std::vector< vec2 > & |
textureCoords, |
|
|
std::vector< float > & |
pointValueTextureCoords, |
|
|
std::vector< vec4 > & |
pointColors, |
|
|
int |
cellFlag |
|
) |
| |
|
virtual |
◆ GetSpheresPostfix()
| virtual const char * vtkAnariPolyDataMapperInheritInterface::GetSpheresPostfix |
( |
| ) |
const |
|
virtual |
Inheriting classes can also influence the postfix of the created prim names.
◆ GetCurvesPostfix()
| virtual const char * vtkAnariPolyDataMapperInheritInterface::GetCurvesPostfix |
( |
| ) |
const |
|
virtual |
◆ GetCylindersPostfix()
| virtual const char * vtkAnariPolyDataMapperInheritInterface::GetCylindersPostfix |
( |
| ) |
const |
|
virtual |
◆ GetTrianglesPostfix()
| virtual const char * vtkAnariPolyDataMapperInheritInterface::GetTrianglesPostfix |
( |
| ) |
const |
|
virtual |
◆ AnariDevice
| anari::Device vtkAnariPolyDataMapperInheritInterface::AnariDevice { nullptr } |
◆ AnariExtensions
| anari::Extensions vtkAnariPolyDataMapperInheritInterface::AnariExtensions {} |
◆ AnariExtensionStrings
| const char* const* vtkAnariPolyDataMapperInheritInterface::AnariExtensionStrings { nullptr } |
The documentation for this class was generated from the following file: