NVIDIA Iray API Home  Up
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mi::neuraylib::ITessellator Class Referenceabstract

Functor to tessellate a polygon mesh into a triangle mesh. More...

Inheritance diagram for mi::neuraylib::ITessellator:
Inheritance graph
[legend]

Public Member Functions

virtual ITriangle_mesh run (const IPolygon_mesh *mesh, const IDictionary *options)=0
  Tessellates a polygon mesh into a triangle mesh. More...
 
virtual ITriangle_mesh run (const IPolygon_mesh *mesh)=0
  Tessellates a polygon mesh into a triangle mesh. More...
 

Additional Inherited Members

- Public Types inherited from mi::base::Interface_declare< 0xb65adad6, 0xbfcf, 0x40d3, 0xaa, 0x22, 0xe7, 0x01, 0xd8, 0xdb, 0xba, 0x4a, neuraylib::IFunctor_base >
typedef Interface_declare< id1,
id2, id3, id4, id5, id6, id7,
id8, id9, id10, id11,
neuraylib::IFunctor_base
Self
  Own type. More...
 
typedef Uuid_t< id1, id2, id3,
id4, id5, id6, id7, id8, id9,
id10, id11 > 
IID
  Declares the interface ID (IID) of this interface. More...
 
- Static Public Member Functions inherited from mi::base::Interface_declare< 0xb65adad6, 0xbfcf, 0x40d3, 0xaa, 0x22, 0xe7, 0x01, 0xd8, 0xdb, 0xba, 0x4a, neuraylib::IFunctor_base >
static bool  compare_iid (const Uuid &iid)
  Compares the interface ID iid against the interface ID of this interface and of its ancestors. More...
 

Detailed Description

Functor to tessellate a polygon mesh into a triangle mesh.

Options to customize the tessellation algorithm.

The tessellation algorithm offers at this point no options to customize its behavior.

Member Function Documentation

virtual ITriangle_mesh* mi::neuraylib::ITessellator::run ( const IPolygon_mesh mesh,
const IDictionary options 
)
pure virtual

Tessellates a polygon mesh into a triangle mesh.

Attributes and point attribute vectors are copied to the triangle mesh.

Parameters
mesh The input polygon mesh. The input mesh will not be modified. Note that the input mesh really needs to be a polygon, a subdivision surface is not feasible.
options An option set to customize the algorithms behavior. A default options set can be obtained from mi::neuraylib::IFunctor_base::get_default_options() const. Currently no options are supported for tessellation.
Returns
The tessellated triangle mesh.
virtual ITriangle_mesh* mi::neuraylib::ITessellator::run ( const IPolygon_mesh mesh)
pure virtual

Tessellates a polygon mesh into a triangle mesh.

Attributes and point attribute vectors are copied to the triangle mesh.

This variant of the function call uses the default options. Note that currently no options are supported for tessellation.

Parameters
mesh The input polygon mesh. The input mesh will not be modified. Note that the input mesh really needs to be a polygon mesh, a subdivision surface is not feasible.
Returns
The tessellated triangle mesh.