A_Polygon Class Reference

List of all members.

Public Member Functions

 A_Polygon (MeshRemapper::Coords *face)
 A_Polygon ()
A_Polygon Clip (const double clip_line[3])
void AddVertex (Vertex v)
std::vector< MeshRemapper::ArrayCoordsConvertToQuads ()

Private Member Functions

bool Inside (const unsigned int vertex, const double clip_line[3]) const
Vertex Intersect (const unsigned int v1, const unsigned int v2, const double clip_line[3]) const

Private Attributes

std::vector< Vertexverts

Constructor & Destructor Documentation

A_Polygon::A_Polygon MeshRemapper::Coords face  ) 
 

Definition at line 141 of file MeshRemapper.cpp.

References HuginBase::SrcPanoImage::resize(), MeshRemapper::Coords::tex_c, MeshRemapper::Coords::vertex_c, and verts.

A_Polygon::A_Polygon  )  [inline]
 

Definition at line 120 of file MeshRemapper.cpp.


Member Function Documentation

void A_Polygon::AddVertex Vertex  v  )  [inline]
 

Definition at line 157 of file MeshRemapper.cpp.

References verts.

Referenced by Clip().

A_Polygon A_Polygon::Clip const double  clip_line[3]  ) 
 

Definition at line 208 of file MeshRemapper.cpp.

References AddVertex(), Inside(), Intersect(), and verts.

Referenced by MeshRemapper::ClipFace().

std::vector< MeshRemapper::ArrayCoords > A_Polygon::ConvertToQuads  ) 
 

Definition at line 235 of file MeshRemapper.cpp.

References MeshRemapper::ArrayCoords::tex_c, MeshRemapper::ArrayCoords::vertex_c, and verts.

Referenced by MeshRemapper::ClipFace().

bool A_Polygon::Inside const unsigned int  vertex,
const double  clip_line[3]
const [inline, private]
 

Definition at line 162 of file MeshRemapper.cpp.

References MeshRemapper::Coords::tex_c, and verts.

Referenced by Clip().

Vertex A_Polygon::Intersect const unsigned int  v1,
const unsigned int  v2,
const double  clip_line[3]
const [private]
 

Definition at line 167 of file MeshRemapper.cpp.

References Vertex::tex_c, Vertex::vertex_c, and verts.

Referenced by Clip().


Member Data Documentation

std::vector<Vertex> A_Polygon::verts [private]
 

Definition at line 131 of file MeshRemapper.cpp.

Referenced by A_Polygon(), AddVertex(), Clip(), ConvertToQuads(), Inside(), and Intersect().


The documentation for this class was generated from the following file:
Generated on Tue Jul 29 01:25:49 2014 for Hugintrunk by  doxygen 1.3.9.1