Go to the documentation of this file.00001
00019 #ifndef __INC_OPTIMIZER_IV
00020 #define __INC_OPTIMIZER_IV
00021
00022 #include <optimizer.h>
00023
00024 namespace robotLibPbD {
00025
00026 class COptimizerIv : public COptimizer
00027 {
00028 protected:
00029 double ivLineWidth, ivSphereRadius, ivCoordScale;
00030
00031 public:
00032 COptimizerIv() : COptimizer(), ivLineWidth(1.0), ivSphereRadius(1.0), ivCoordScale(0.3) {};
00033
00034 std::string addLine(CVec &first, CVec &second, double width);
00035 std::string getInventorCoordinateSystem(double scaleFactor, std::string ivCoordFilename = "data/coord.iv");
00036 bool generateInventor(std::vector<double> values, std::string filename, std::string ivCoordFilename = "data/coord.iv");
00037
00038 void setIvLineWidth(double ivLineWidth) { this->ivLineWidth = ivLineWidth; };
00039 void setIvSphereRadius(double ivSphereRadius) { this->ivSphereRadius = ivSphereRadius; };
00040 void setIvCoordScale(double ivCoordScale) { this->ivCoordScale = ivCoordScale; };
00041 };
00042
00043 };
00044
00045 #endif