IMPORTANT: The setters functions' names were normalized due to constant confusion regarding capitalization. All the function names start with set... instead of Set.... This convention was changed all throughout Freestyle. To use Freestyle as an external renderer, the SWIG library MUST be regenerated.
32 lines
728 B
C++
32 lines
728 B
C++
#ifndef FREESTYLE_PYTHON_VIEWVERTEX_H
|
|
#define FREESTYLE_PYTHON_VIEWVERTEX_H
|
|
|
|
#include "../../view_map/ViewMap.h"
|
|
#include "../Interface0D.h"
|
|
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
///////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
#include <Python.h>
|
|
|
|
extern PyTypeObject ViewVertex_Type;
|
|
|
|
#define BPy_ViewVertex_Check(v) (( (PyObject *) v)->ob_type == &ViewVertex_Type)
|
|
|
|
/*---------------------------Python BPy_ViewVertex structure definition----------*/
|
|
typedef struct {
|
|
BPy_Interface0D py_if0D;
|
|
} BPy_ViewVertex;
|
|
|
|
///////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* FREESTYLE_PYTHON_VIEWVERTEX_H */
|