40#ifndef _GLSNURBCURVE_H
41#define _GLSNURBCURVE_H
48#if( defined( GLSGEN_EXPORT_GLSNURBCURVE ) || defined( GLSGEN_IMPORT_GLSNURBCURVE ) || defined( GLS_EXPORT_GENERATED ) || defined( GLS_IMPORT_GENERATED ) ) \
49 && defined( _MSC_VER )
50# if defined( GLSGEN_EXPORT_GLSNURBCURVE ) || defined( GLS_EXPORT_GENERATED )
51# define GLSGEN_GLSNURBCURVE_EXPORT __declspec( dllexport )
53# define GLSGEN_GLSNURBCURVE_EXPORT __declspec( dllimport )
56# define GLSGEN_GLSNURBCURVE_EXPORT
61#define LIB_BASE_NAME "gls_nurb_curve"
80 GLS_GLSNURBCURVE_FIRST_VALUE = GLS_LAST_INITIALIZER + 1,
81 GLS_GLSNURBCURVE_EMITEVENT
88 DISTI_DEPRECATED(
"This identifier is forbidden by the C++ standard. Use BaseClass instead." )
91 friend class GlsNurbCurveEditor;
99 Vertex* _tesselated_vertices;
100 unsigned int _tesselated_vertices_count;
Definition: dynamic_array.h:79
Definition: gls_color.h:54
Definition: gls_nurb_curve.h:86
virtual InterfaceListType * GetCppInterfaceDescription(InterfaceListType *addToThisList=NULL) DISTI_METHOD_OVERRIDE
virtual void CalculateTextureCoordinates() DISTI_METHOD_OVERRIDE
virtual void SetAvailableAttributes(unsigned int availableAttributes) DISTI_METHOD_OVERRIDE
virtual void Draw() DISTI_METHOD_OVERRIDE
virtual void GetCppInterfaceDescriptionFree(InterfaceListType *array) DISTI_METHOD_OVERRIDE
virtual void GetTransformedExtents(Vector &min, Vector &max, const GlsMatrixType &matrix, bool resetMinMax=true) DISTI_METHOD_OVERRIDE
virtual DisplayObject * CloneObject(bool generateNames=false) DISTI_METHOD_OVERRIDE
virtual void VaListSetVertices(unsigned int nPoints, va_list args) DISTI_METHOD_OVERRIDE
virtual bool Hit(float x, float y, float z, float scale, const Vector &directionVector, Vector *collisionPoint) DISTI_METHOD_OVERRIDE
virtual void PreDraw(const OpenGLMatrices &parentMatrices, Culler &culler) DISTI_METHOD_OVERRIDE
void DeleteVertexAt(unsigned int index) DISTI_METHOD_OVERRIDE
void Scale(float px, float py, float pz, Vertex *a, int handleBar) DISTI_METHOD_OVERRIDE
unsigned int NumberOfTessVertices() const
Definition: gls_nurb_curve.h:146
virtual void Rotate(const Vector &orig, float angle, const Vector &axis) DISTI_METHOD_OVERRIDE
void GenerateTessellatedVertices()
virtual void CalcNormals(int windingOrder=1)
static DisplayObject * CreateInstance()
virtual void CopyGeometry(DisplayObject *src) DISTI_METHOD_OVERRIDE
virtual void SetVertices(unsigned int nPoints, Vertex *vertices) DISTI_METHOD_OVERRIDE
Vertex * TessVertices()
Definition: gls_nurb_curve.h:151
virtual void SetVertexColor(unsigned int index, unsigned char col[]) DISTI_METHOD_OVERRIDE
virtual void GetExtents(float &x, float &y, float &z, float &x1, float &y1, float &z1) DISTI_METHOD_OVERRIDE
void GenerateSpline(unsigned int num_vertices, Vertex *vertices, unsigned int *curve_array_size, Vertex *curve_array)
virtual void SetFillColor(const GlsColor &color) DISTI_METHOD_OVERRIDE
Definition: gls_vertex_array.h:60
Class to contain current OpenGL view, projection and draw matrices.
Definition: util.h:544
The disti::DisplayObject class and global enumerations.
The disti::GLPolygon class. Implements Polygons.
Macros and helper code to determine what subset of C++11/14/17 is available.
#define DISTI_SPECIAL_MEM_FUN_DELETE
Macro to wrap function deletion, removed on compilers that don't support it.
Definition: gls_cpp_lang_support.h:235
#define DISTI_DEPRECATED(msg)
Defines whether this compiler supports the C++14 deprecated attribute.
Definition: gls_cpp_lang_support.h:457
#define DISTI_METHOD_OVERRIDE
Macro to wrap the override keyword, removed on compilers that don't support it.
Definition: gls_cpp_lang_support.h:214
#define GLSGEN_GLSNURBCURVE_EXPORT
Provides support for creating DLLs.
Definition: gls_nurb_curve.h:56
Force inclusion of the DirectShow library.
Definition: bmpimage.h:47
const int MAX_SPLINE_VERTICES
Definition: gls_nurb_curve.h:68
const int NUMBER_POINTS_TO_CONSIDER
Definition: gls_nurb_curve.h:75
const int MIN_NUMBER_POINTS
Definition: gls_nurb_curve.h:71