Commit 3d33f45e authored by Jan Möbius's avatar Jan Möbius
Browse files

Added PolyLine type at runtime

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@6293 383ad7c9-94d9-4d36-a494-682f7c89f535
parent ad1076ac
...@@ -116,10 +116,6 @@ void initialize() { ...@@ -116,10 +116,6 @@ void initialize() {
typeToTypeInfo[DATA_POLY_MESH_CONST_ID] = types.size(); typeToTypeInfo[DATA_POLY_MESH_CONST_ID] = types.size();
types.push_back( TypeInfo(DATA_POLY_MESH_CONST_ID ,"PolyMesh" ,"PolyType.png") ); types.push_back( TypeInfo(DATA_POLY_MESH_CONST_ID ,"PolyMesh" ,"PolyType.png") );
stringToTypeInfo["PolyLine"] = types.size();
typeToTypeInfo[DATA_POLY_LINE] = types.size();
types.push_back( TypeInfo(DATA_POLY_LINE ,"PolyLine" ,"PolyLineType.png") );
stringToTypeInfo["BSplineCurve"] = types.size(); stringToTypeInfo["BSplineCurve"] = types.size();
typeToTypeInfo[DATA_BSPLINE_CURVE] = types.size(); typeToTypeInfo[DATA_BSPLINE_CURVE] = types.size();
types.push_back( TypeInfo(DATA_BSPLINE_CURVE ,"BSplineCurve" ,"BSplineCurveType.png") ); types.push_back( TypeInfo(DATA_BSPLINE_CURVE ,"BSplineCurve" ,"BSplineCurveType.png") );
...@@ -149,7 +145,6 @@ void initialize() { ...@@ -149,7 +145,6 @@ void initialize() {
typeToString[DATA_POINTS] = "Points"; typeToString[DATA_POINTS] = "Points";
typeToString[DATA_TRIANGLE_MESH_CONST_ID] = "TriangleMesh"; typeToString[DATA_TRIANGLE_MESH_CONST_ID] = "TriangleMesh";
typeToString[DATA_POLY_MESH_CONST_ID] = "PolyMesh"; typeToString[DATA_POLY_MESH_CONST_ID] = "PolyMesh";
typeToString[DATA_POLY_LINE] = "PolyLine";
typeToString[DATA_BSPLINE_CURVE] = "BSplineCurve"; typeToString[DATA_BSPLINE_CURVE] = "BSplineCurve";
typeToString[DATA_VOLUME] = "Volume"; typeToString[DATA_VOLUME] = "Volume";
typeToString[DATA_BSPLINE_SURFACE] = "BSplineSurface"; typeToString[DATA_BSPLINE_SURFACE] = "BSplineSurface";
......
...@@ -79,23 +79,20 @@ ...@@ -79,23 +79,20 @@
//#define DATA_POLY_MESH 8 //#define DATA_POLY_MESH 8
#define DATA_POLY_MESH_CONST_ID 8 #define DATA_POLY_MESH_CONST_ID 8
/// PolyLine objects
const unsigned int DATA_POLY_LINE = 16;
/// BSpline objects /// BSpline objects
const unsigned int DATA_BSPLINE_CURVE = 32; const unsigned int DATA_BSPLINE_CURVE = 16;
/// Volumetric objects /// Volumetric objects
const unsigned int DATA_VOLUME = 64; const unsigned int DATA_VOLUME = 32;
/// BSpline Surface objects /// BSpline Surface objects
const unsigned int DATA_BSPLINE_SURFACE = 128; const unsigned int DATA_BSPLINE_SURFACE = 64;
/// Skeletons /// Skeletons
const unsigned int DATA_SKELETON = 256; const unsigned int DATA_SKELETON = 128;
/// Gis Data /// Gis Data
const unsigned int DATA_GIS = 512; const unsigned int DATA_GIS = 256;
/// Identifier for all available objects /// Identifier for all available objects
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment