Iray SDK API nvidia_logo_transpbg.gif Up
itessellator.h
Go to the documentation of this file.
1/***************************************************************************************************
2 * Copyright 2024 NVIDIA Corporation. All rights reserved.
3 **************************************************************************************************/
6
7#ifndef MI_NEURAYLIB_ITESSELLATOR_H
8#define MI_NEURAYLIB_ITESSELLATOR_H
9
11
12namespace mi {
13
14namespace neuraylib {
15
20class ITriangle_mesh;
21class IPolygon_mesh;
22class IFreeform_surface;
23class ISubdivision_surface;
24
31 public base::Interface_declare<0xb65adad6,0xbfcf,0x40d3,0xaa,0x22,0xe7,0x01,0xd8,0xdb,0xba,0x4a,
32 neuraylib::IFunctor_base>
33{
34public:
50 const IPolygon_mesh* mesh, const IDictionary* options) = 0;
51
64 virtual ITriangle_mesh* run( const IPolygon_mesh* mesh) = 0;
65
79 const IFreeform_surface* ffs, const IDictionary* options) = 0;
80
95 const ISubdivision_surface* sds, const IDictionary* options) = 0;
96};
97 // end group mi_neuray_functors
99
100} // namespace neuraylib
101
102} // namespace mi
103
104#endif // MI_NEURAYLIB_ITESSELLATOR_H
Mixin class template for deriving new interface declarations.
Definition: interface_declare.h:43
The dictionary is a data structure that stores a mapping from a fixed set of keys to a their modifiab...
Definition: idictionary.h:42
Interface representing a freeform surface.
Definition: ifreeform_surface.h:99
Interface representing a polygon mesh.
Definition: ipolygon_mesh.h:128
Interface representing a subdivision surface.
Definition: isubdivision_surface.h:58
Functor to tessellate a polygon mesh into a triangle mesh.
Definition: itessellator.h:33
virtual ITriangle_mesh * run(const ISubdivision_surface *sds, const IDictionary *options)=0
Tessellates a subdivision surface object into a triangle mesh.
virtual ITriangle_mesh * run(const IPolygon_mesh *mesh, const IDictionary *options)=0
Tessellates a polygon mesh into a triangle mesh.
virtual ITriangle_mesh * run(const IFreeform_surface *ffs, const IDictionary *options)=0
Tessellates a freeform surface object into a triangle mesh.
virtual ITriangle_mesh * run(const IPolygon_mesh *mesh)=0
Tessellates a polygon mesh into a triangle mesh.
Interface representing a triangle mesh.
Definition: itriangle_mesh.h:122
Base interface for functors.
Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH.
Definition: neuraylib.h:179