8 #ifndef GlobeEngine_FDEBCommand_h
9 #define GlobeEngine_FDEBCommand_h
12 #include <vmmlib/vmmlib.hpp>
13 #include "OpenGL_Includes.h"
112 vmml::Vector2d
rotation(vmml::Vector2d _point,
double _alpha);
118 std::shared_ptr<geData::PolyLine>
getResultLine(
int _idx)
const;
132 void clearLineData();
133 vmml::Vector3d leftTilt(vmml::Vector3d _in);
134 vmml::Vector3d rightTilt(vmml::Vector3d _in);
135 double getDistToIm(vmml::Vector3d _Qmid, vmml::Vector3d _Q0Q1,vmml::Vector3d _P0, vmml::Vector3d _P0P1);
136 double getDistToImTest(vmml::Vector3d _Qmid, vmml::Vector3d _normQ0Q1,vmml::Vector3d _P0, vmml::Vector3d _P0P1,
double s);
137 double getDistanceWheighting(vmml::Vector3d _Pm, vmml::Vector3d _Im, vmml::Vector3d _I0, vmml::Vector3d _I1);
138 double calculateCVMeasure(
int _idx1,
int _idx2);
140 std::vector<vmml::Vector3d> midpoints;
141 std::vector<vmml::Vector3d> lineDirections;
142 std::vector<vmml::Vector3d> lineStrips;
143 std::vector<double> lengths;
145 std::vector< std::shared_ptr<FDEBCompatibilityMeasure> > measures;
152 int measure_arrayssize;
157 double* resultSubDivLines;
161 std::vector< std::shared_ptr<geData::PolyLine> > resPolyLines;
171 int multiObjectRefID;
void setMoveFactor(double _input)
Definition: FDEBCommand.cpp:700
bool isGPUModeOn()
Definition: FDEBCommand.h:101
virtual void processing()
Definition: BundlingCommand.h:25
double move_factor
Definition: FDEBCommand.h:32
std::shared_ptr< geData::PolyLine > getResultLine(int _idx) const
Definition: FDEBCommand.cpp:403
void processingGPU()
Definition: FDEBCommand.cpp:412
void setIterations(int _input)
Definition: FDEBCommand.cpp:695
Definition: BundlingCommand.h:18
void create(CommuterObject *_refInformation, const FDEBCommandProperties *_properties)
Definition: FDEBCommand.cpp:65
void calculateForcesGPU()
Definition: FDEBCommand.cpp:538
int getSubdivisions() const
Definition: FDEBCommand.cpp:680
Definition: ClusterGrid.h:17
int getPointsPerLine() const
Definition: FDEBCommand.cpp:710
Definition: GPUProgramFactory.h:24
void calculateMeasureCS(int _idx_1, int _idx_2)
Definition: FDEBCommand.cpp:358
void setThreshold(double _input)
Definition: FDEBCommand.cpp:690
int getSegementsPerLine() const
Definition: FDEBCommand.cpp:715
void setMultiObjectReferenceID(int _idx)
Definition: FDEBCommand.cpp:725
void clear()
Definition: FDEBCommand.cpp:20
void setStiffness(double _input)
Definition: FDEBCommand.cpp:685
void calculateMeasures()
Definition: FDEBCommand.cpp:231
bool isOnlyUpdate()
Definition: FDEBCommand.h:102
~FDEBCommand()
Definition: FDEBCommand.cpp:15
int subdivisions
Definition: FDEBCommand.h:29
double stiffness
Definition: FDEBCommand.h:30
void setGPUMode(bool _input)
Definition: FDEBCommand.cpp:705
virtual void create(CommuterObject *_refInformation)
Definition: BundlingCommand.cpp:22
void setInitialValues()
Definition: FDEBCommand.cpp:55
void createSubdivisionsCPU()
Definition: FDEBCommand.cpp:115
int iterations
Definition: FDEBCommand.h:28
Definition: FDEBCommand.h:26
void calculateMeasureCA(int _idx_1, int _idx_2)
Definition: FDEBCommand.cpp:351
Definition: CommuterObject.h:39
void setSubdivisions(int _input)
Definition: FDEBCommand.cpp:674
double threshold
Definition: FDEBCommand.h:31
const std::vector< vmml::Vector3d > getBundlingResult() const
Definition: FDEBCommand.cpp:398
int getMultiObjectReferenceID() const
Definition: FDEBCommand.cpp:720
void calculateForcesCPU()
Definition: FDEBCommand.cpp:273
FDEBCommand()
Definition: FDEBCommand.cpp:7
Definition: GPUProgramFactory.h:30
vmml::Vector2d rotation(vmml::Vector2d _point, double _alpha)
Definition: FDEBCommand.cpp:197
Definition: FDEBCommand.h:36
void calculateMeasureCP(int _idx_1, int _idx_2)
Definition: FDEBCommand.cpp:374
void printMeasures()
Definition: FDEBCommand.cpp:380