bitquad_support.h File Reference

#include <vector>
#include <vcg/complex/trimesh/subset.h>
#include <vcg/simplex/face/jumping_pos.h>
#include <vcg/space/planar_polygon_tessellation.h>
Include dependency graph for bitquad_support.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  vcg::tri::BitQuad< _MeshType, Interpolator >
class  vcg::tri::GeometricInterpolator< VertexType >
class  vcg::tri::BitQuad< _MeshType, Interpolator >::Iterator
class  vcg::tri::BitQuad< _MeshType, Interpolator >::Pos

Namespaces

namespace  vcg
 

*


namespace  vcg::tri

Defines

#define DELETE_VERTICES   1
#define LENGTH_CRITERION   1

Define Documentation

#define DELETE_VERTICES   1

BIT-QUAD creation support: a few basic operations to work with bit-quads simplices (quads defined by faux edges over a tri mesh backbone)

[ basic operations: ]

bool IsDoublet(const FaceType& f, int wedge) void RemoveDoublet(FaceType &f, int wedge, MeshType& m)

  • identifies and removed "Doublets" (pair of quads sharing two consecutive edges)

bool IsSinglet(const FaceType& f, int wedge) void RemoveSinglet(FaceType &f, int wedge, MeshType& m)

void FlipDiag(FaceType &f)

  • rotates the faux edge of a quad (quad only change internally)

bool RotateEdge(FaceType& f, int w0a);

  • rotate a quad edge (clockwise or counterclockwise, specified via template)

bool RotateVertex(FaceType &f, int w0)

  • rotate around a quad vertex ("wind-mill" operation)

void CollapseDiag(FaceType &f, ... p , MeshType& m)

  • collapses a quad on its diagonal.
  • p identifies the pos of collapsed point (as either the parametric pos on the diagonal, or a fresh coordtype)

[ helper functions: ]

ScalarType quadQuality( ... );

  • returns the quality for a given quad
  • (should be made into a template parameter for methods using it)
  • currently measures how squared each angle is

int FauxIndex(const FaceType* f);

  • returns index of the only faux edge of a quad (otherwise, assert)

int CountBitPolygonInternalValency(const FaceType& f, int wedge)

  • returns valency of vertex in terms of polygons (quads, tris...)

Definition at line 54 of file bitquad_support.h.

#define LENGTH_CRITERION   1

Definition at line 60 of file bitquad_support.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


vcglib
Author(s): Christian Bersch
autogenerated on Fri Jan 11 09:18:34 2013