NVIDIA Iray API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
itessellator.h
Go to the documentation of this file.
1 //*****************************************************************************
2 // Copyright 1986, 2014 NVIDIA Corporation. All rights reserved.
3 //*****************************************************************************
6 //*****************************************************************************
7 
8 #ifndef MI_NEURAYLIB_ITESSELLATOR_H
9 #define MI_NEURAYLIB_ITESSELLATOR_H
10 
11 #include <mi/neuraylib/ifunctor.h>
12 
13 namespace mi {
14 
19 class ITriangle_mesh;
20 class IPolygon_mesh;
21 
27 class ITessellator :
28  public base::Interface_declare<0xb65adad6,0xbfcf,0x40d3,0xaa,0x22,0xe7,0x01,0xd8,0xdb,0xba,0x4a,
29  IFunctor_base>
30 {
31 public:
45  virtual ITriangle_mesh* run(
46  const IPolygon_mesh* mesh, const IDictionary* options) = 0;
47 
60  virtual ITriangle_mesh* run( const IPolygon_mesh* mesh) = 0;
61 };
62  // end group mi_neuray_functors
64 
65 } // namespace mi
66 
67 #endif // MI_NEURAYLIB_ITESSELLATOR_H