neuray API Programmer's Manual

itessellator.h File Reference

Description

Tessellator functor.

Code Example

itessellator.h

‎//*****************************************************************************
// Copyright 1986, 2016 NVIDIA Corporation. All rights reserved.
//*****************************************************************************
//*****************************************************************************

#ifndef MI_NEURAYLIB_ITESSELLATOR_H
#define MI_NEURAYLIB_ITESSELLATOR_H

#include <mi/neuraylib/ifunctor.h>
#include <mi/neuraylib/version.h>

namespace mi {

namespace neuraylib {

class ITriangle_mesh;
class IPolygon_mesh;

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;
};
 // end group mi_neuray_functors

} // namespace neuraylib

#ifdef MI_NEURAYLIB_DEPRECATED_NAMESPACE_MI_TRANSITION
using neuraylib::IDictionary;
using neuraylib::IFunctor_base;
using neuraylib::IPolygon_mesh;
using neuraylib::ITessellator;
using neuraylib::ITriangle_mesh;
#endif // MI_NEURAYLIB_DEPRECATED_NAMESPACE_MI_TRANSITION

} // 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...