neuray API Programmer's Manual

igeometry_simplifier.h File Reference

Description

Simplification functor.

Code Example

igeometry_simplifier.h

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

#ifndef MI_NEURAYLIB_IGEOMETRY_SIMPLIFIER_H
#define MI_NEURAYLIB_IGEOMETRY_SIMPLIFIER_H

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

namespace mi {

namespace neuraylib {

class ITriangle_mesh;

class IGeometry_simplifier :
    public base::Interface_declare<0xc2afb90e,0x8aeb,0x49f5,0xae,0x92,0xba,0x7c,0xe7,0x32,0x99,0x77,
                                   neuraylib::IFunctor_base>
{
public:
    virtual ITriangle_mesh* run(
        const ITriangle_mesh* mesh, const IDictionary* options) = 0;

    virtual ITriangle_mesh* run(
        const ITriangle_mesh* mesh,
        const IDictionary* options,
        const Float32_3_struct& bbox_min,
        const Float32_3_struct& bbox_max) = 0;
};
 // end group mi_neuray_functors

} // namespace neuraylib

} // namespace mi

#endif // MI_NEURAYLIB_IGEOMETRY_SIMPLIFIER_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 simplify a triangle mesh. More...