9 #ifndef GlobeEngine_DrawablePolyLine_h
10 #define GlobeEngine_DrawablePolyLine_h
14 #include "OpenGL_Includes.h"
37 void create(std::vector<vmml::Vector3d> _points);
38 void create(std::shared_ptr<geData::PolyLine> _polyLine);
39 void create(
int _pointCount,
double* _points);
40 void create(
int _pointCount,
const vmml::Vector3d* _points);
41 void create(
int _pointCount,
double* _points_x,
double* _points_y,
double* _points_alti,
int _start);
49 void recreate(
int _pointCount,
double* _points);
50 void recreate(
int _pointCount,
const vmml::Vector3d* _points);
54 return this->drawMode;
58 void draw(std::shared_ptr<ge::Camera> _cam);
71 void computeIntervals(
int* u,
int n,
int t);
73 void getOpenGLError(std::string _input);
80 unsigned int triangleCount;
84 GLuint occlusionGroundTruth;
85 GLuint renderPixelInLastFrame;
86 GLuint checkForOcclusionResult;
90 int gpusplinesKnotVectorSize;
Definition: DrawableComponent.h:25
void setupGeometryBuffersWithBSPlineInformation()
Definition: DrawablePolyLine.cpp:245
void createRibbonIndices()
Definition: DrawablePolyLine.cpp:471
Definition: AvalancheTrainingSimulationEngine.h:39
void activateGPUSplineInterpolation(bool _in)
Definition: DrawablePolyLine.cpp:578
GEOMETRYDRAWMODE
Definition: DrawablePolyLine.h:27
Definition: DrawablePolyLine.h:27
Definition: DrawablePolyLine.h:18
void clear()
Definition: DrawablePolyLine.cpp:14
void drawWithOcclusionQueries(DrawableComponent::RENDERSTATE _state, std::shared_ptr< ge::Camera > _cam)
Definition: DrawablePolyLine.cpp:540
Definition: DrawablePolyLine.h:30
Definition: DrawablePolyLine.h:31
void setupGeometryBuffersAsRibbons()
Definition: DrawablePolyLine.cpp:343
void draw(std::shared_ptr< ge::Camera > _cam)
Definition: DrawablePolyLine.cpp:520
void createVAO(GEOMETRYDRAWMODE _in)
Definition: DrawablePolyLine.cpp:148
void createTriangleIndices()
Definition: DrawablePolyLine.cpp:457
void recreate(int _pointCount, double *_points)
Definition: DrawablePolyLine.cpp:103
void update()
Definition: DrawablePolyLine.cpp:32
Definition: PolyLine.h:24
DrawablePolyLine()
Definition: DrawablePolyLine.cpp:4
void setGPUSplineKnotVectorSize(int _size)
Definition: DrawablePolyLine.cpp:583
void setLineThickness(double _thickness)
Definition: DrawablePolyLine.cpp:569
Definition: DrawablePolyLine.h:29
void create()
Definition: DrawablePolyLine.h:36
void drawWithMultipleLines(std::shared_ptr< ge::Camera > _cam)
Definition: DrawablePolyLine.cpp:483
Definition: DrawablePolyLine.h:28
void setupGeometryBuffersWithLineStripInformation()
Definition: DrawablePolyLine.cpp:226
~DrawablePolyLine()
Definition: DrawablePolyLine.cpp:9
bool isNeedingRefinement() const
Definition: DrawablePolyLine.cpp:559
enum GEOMETRYDRAWMODE getDrawMode() const
Definition: DrawablePolyLine.h:53