vrecko
virtual reality framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
APSpacePartitioning::PointShell_Object_Data_Geometry_Analyser Class Reference

#include <PointShell_Object_Data_Geometry_Analyser.h>

Inheritance diagram for APSpacePartitioning::PointShell_Object_Data_Geometry_Analyser:
APSpacePartitioning::PointShell_Object_Data_Geometry

Classes

struct  EExt
 
struct  PExt
 
struct  VExt
 

Public Member Functions

 PointShell_Object_Data_Geometry_Analyser ()
 
 ~PointShell_Object_Data_Geometry_Analyser ()
 
void setVerticesCount (int count)
 
void setPolygonsCount (int count)
 
void setEdgesCount (int count)
 
void writeVertex (int seqnum, osg::Vec3f pos, osg::Vec3f norm)
 
void writeVertex (int seqnum, osg::Vec3f pos)
 
void writeEdge (int seqnum, int vertexPos1, int vertexPos2)
 
void writeEdge (int seqnum, int vertexPos1, int vertexPos2, int polygonPos1, int polygonPos2)
 
void writePolygon (int seqnum, int v1, int v2, int v3)
 
void finishStructureBuild ()
 
vector
< PointShell_Object_Data_Geometry::V
getVertices ()
 
vector
< PointShell_Object_Data_Geometry::E
getEdges ()
 
vector
< PointShell_Object_Data_Geometry::P
getPolygons ()
 
PointShell_Object_Data_Geometry::V getVertex (int seqnum)
 
float getMaxDistance ()
 
osg::Vec3f getMaxDistanceVector ()
 
- Public Member Functions inherited from APSpacePartitioning::PointShell_Object_Data_Geometry
 PointShell_Object_Data_Geometry ()
 
virtual ~PointShell_Object_Data_Geometry ()
 

Protected Member Functions

void calculateEdgesLength ()
 
void calculateEdgeLength (int edge)
 
void calculateNormalOfPolygons ()
 
void calculateNormalOfPolygon (int seqnum)
 
void calculateVerticesNormals ()
 
void calculateVertexNormal (int seqnum)
 
void cleanVertexEdges ()
 
void handleEdges (int polygon)
 
vector< int > getEdges (int polygon)
 

Protected Attributes

VExt vertices [FIELD_SIZE]
 
EExt edges [3 *FIELD_SIZE-2]
 
PExt polygons [2 *FIELD_SIZE-2]
 
int iVerticesCount
 
int iEdgesCount
 
int iPolygonsCount
 
float maxDistance
 
int maxDistanceV1
 
int maxDistanceV2
 

Constructor & Destructor Documentation

APSpacePartitioning::PointShell_Object_Data_Geometry_Analyser::PointShell_Object_Data_Geometry_Analyser ( )
APSpacePartitioning::PointShell_Object_Data_Geometry_Analyser::~PointShell_Object_Data_Geometry_Analyser ( )
inline

Member Function Documentation

void APSpacePartitioning::PointShell_Object_Data_Geometry_Analyser::calculateEdgeLength ( int  edge)
protected
void APSpacePartitioning::PointShell_Object_Data_Geometry_Analyser::calculateEdgesLength ( )
protected
void APSpacePartitioning::PointShell_Object_Data_Geometry_Analyser::calculateNormalOfPolygon ( int  seqnum)
protected
void APSpacePartitioning::PointShell_Object_Data_Geometry_Analyser::calculateNormalOfPolygons ( )
protected
void APSpacePartitioning::PointShell_Object_Data_Geometry_Analyser::calculateVertexNormal ( int  seqnum)
protected
void APSpacePartitioning::PointShell_Object_Data_Geometry_Analyser::calculateVerticesNormals ( )
protected
void APSpacePartitioning::PointShell_Object_Data_Geometry_Analyser::cleanVertexEdges ( )
protected
void APSpacePartitioning::PointShell_Object_Data_Geometry_Analyser::finishStructureBuild ( )
vector< PointShell_Object_Data_Geometry::E > APSpacePartitioning::PointShell_Object_Data_Geometry_Analyser::getEdges ( )
virtual
vector< int > APSpacePartitioning::PointShell_Object_Data_Geometry_Analyser::getEdges ( int  polygon)
protected
float APSpacePartitioning::PointShell_Object_Data_Geometry_Analyser::getMaxDistance ( )
osg::Vec3f APSpacePartitioning::PointShell_Object_Data_Geometry_Analyser::getMaxDistanceVector ( )
vector< PointShell_Object_Data_Geometry::P > APSpacePartitioning::PointShell_Object_Data_Geometry_Analyser::getPolygons ( )
virtual
PointShell_Object_Data_Geometry::V APSpacePartitioning::PointShell_Object_Data_Geometry_Analyser::getVertex ( int  seqnum)
virtual
vector< PointShell_Object_Data_Geometry::V > APSpacePartitioning::PointShell_Object_Data_Geometry_Analyser::getVertices ( )
virtual
void APSpacePartitioning::PointShell_Object_Data_Geometry_Analyser::handleEdges ( int  polygon)
protected
void APSpacePartitioning::PointShell_Object_Data_Geometry_Analyser::setEdgesCount ( int  count)
virtual
void APSpacePartitioning::PointShell_Object_Data_Geometry_Analyser::setPolygonsCount ( int  count)
virtual
void APSpacePartitioning::PointShell_Object_Data_Geometry_Analyser::setVerticesCount ( int  count)
virtual
void APSpacePartitioning::PointShell_Object_Data_Geometry_Analyser::writeEdge ( int  seqnum,
int  vertexPos1,
int  vertexPos2 
)
virtual
void APSpacePartitioning::PointShell_Object_Data_Geometry_Analyser::writeEdge ( int  seqnum,
int  vertexPos1,
int  vertexPos2,
int  polygonPos1,
int  polygonPos2 
)
void APSpacePartitioning::PointShell_Object_Data_Geometry_Analyser::writePolygon ( int  seqnum,
int  v1,
int  v2,
int  v3 
)
virtual
void APSpacePartitioning::PointShell_Object_Data_Geometry_Analyser::writeVertex ( int  seqnum,
osg::Vec3f  pos,
osg::Vec3f  norm 
)
virtual
void APSpacePartitioning::PointShell_Object_Data_Geometry_Analyser::writeVertex ( int  seqnum,
osg::Vec3f  pos 
)
virtual

Member Data Documentation

EExt APSpacePartitioning::PointShell_Object_Data_Geometry_Analyser::edges[3 *FIELD_SIZE-2]
protected
int APSpacePartitioning::PointShell_Object_Data_Geometry_Analyser::iEdgesCount
protected
int APSpacePartitioning::PointShell_Object_Data_Geometry_Analyser::iPolygonsCount
protected
int APSpacePartitioning::PointShell_Object_Data_Geometry_Analyser::iVerticesCount
protected
float APSpacePartitioning::PointShell_Object_Data_Geometry_Analyser::maxDistance
protected
int APSpacePartitioning::PointShell_Object_Data_Geometry_Analyser::maxDistanceV1
protected
int APSpacePartitioning::PointShell_Object_Data_Geometry_Analyser::maxDistanceV2
protected
PExt APSpacePartitioning::PointShell_Object_Data_Geometry_Analyser::polygons[2 *FIELD_SIZE-2]
protected
VExt APSpacePartitioning::PointShell_Object_Data_Geometry_Analyser::vertices[FIELD_SIZE]
protected

The documentation for this class was generated from the following files: