neuray API Programmer's Manual

itessellator.h File Reference

Description

Tessellator functor.

Code Example

itessellator.h

‎/***************************************************************************************************
 * Copyright 2024 NVIDIA Corporation. All rights reserved.
 **************************************************************************************************/

#ifndef MI_NEURAYLIB_ITESSELLATOR_H
#define MI_NEURAYLIB_ITESSELLATOR_H

#include <mi/neuraylib/ifunctor.h>

namespace mi {

namespace neuraylib {

class ITriangle_mesh;
class IPolygon_mesh;
class IFreeform_surface;
class ISubdivision_surface;

class ITessellator :
    public base::Interface_declare<0xb65adad6,0xbfcf,0x40d3,0xaa,0x22,0xe7,0x01,0xd8,0xdb,0xba,0x4a,
                                   neuraylib::IFunctor_base>
{
public:
    virtual ITriangle_mesh* run(
        const IPolygon_mesh* mesh, const IDictionary* options) = 0;

    virtual ITriangle_mesh* run( const IPolygon_mesh* mesh) = 0;

    virtual ITriangle_mesh* run(
        const IFreeform_surface* ffs, const IDictionary* options) = 0;

    virtual ITriangle_mesh* run(
        const ISubdivision_surface* sds, const IDictionary* options) = 0;
};
 // end group mi_neuray_functors

} // namespace neuraylib

} // namespace mi

#endif // MI_NEURAYLIB_ITESSELLATOR_H

Namespaces

namespace 
Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH. More...
namespace 
Namespace for the neuray API. More...

Classes

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