1 #ifndef POINTSHELL_OBJECT_DATA_LOD_BUILDER_H
2 #define POINTSHELL_OBJECT_DATA_LOD_BUILDER_H
11 namespace APSpacePartitioning {
18 bool operator() (
const std::pair<float,int>& first,
const std::pair<float,int>& second)
const{
19 if (first.first >= second.first){
32 bool operator() (
const std::pair<float,int>& first,
const std::pair<float,int>& second)
const{
33 if (first.first >= second.first){
105 void writeVertex(
int seqnum,osg::Vec3f pos, osg::Vec3f norm);
107 void writeEdge(
int seqnum,
int vertexPos1,
int vertexPos2);
108 void writeEdge(
int seqnum,
int vertexPos1,
int vertexPos2,
int polygon1,
int polygon2);
130 vector<PointShell_Object_Data_Geometry::V>
getVertices();
131 vector<PointShell_Object_Data_Geometry::E>
getEdges();
132 vector<PointShell_Object_Data_Geometry::P>
getPolygons();
201 inline float getAngle(osg::Vec3f vec1,osg::Vec3f vec2);
202 list<int>
getSame(
int* a,
int* b);