#include <component_polygon.h>
Public Types | |
typedef T::VertexType::CoordType | CoordType |
typedef T::VertexType::ScalarType | ScalarType |
typedef T::VertexType | VertexType |
Public Member Functions | |
void | Alloc (const int &ns) |
CoordType | cP (const int j) const |
CoordType | cP0 (const int j) const |
CoordType | cP1 (const int j) const |
CoordType | cP2 (const int j) const |
T::VertexType * | cV (const int j) const |
const VertexType *const & | cV0 (const int j) const |
const VertexType *const & | cV1 (const int j) const |
const VertexType *const & | cV2 (const int j) const |
void | Dealloc () |
template<class LeftF > | |
void | ImportData (const LeftF &leftF) |
CoordType & | P (const int j) |
CoordType & | P0 (const int j) |
CoordType & | P1 (const int j) |
CoordType & | P2 (const int j) |
PFVAdj () | |
T::VertexType *& | V (const int j) |
T::VertexType *const & | V (const int j) const |
VertexType *& | V0 (const int j) |
const VertexType *const & | V0 (const int j) const |
VertexType *& | V1 (const int j) |
const VertexType *const & | V1 (const int j) const |
VertexType *& | V2 (const int j) |
const VertexType *const & | V2 (const int j) const |
Static Public Member Functions | |
static bool | HasFVAdjacency () |
static void | Name (std::vector< std::string > &name) |
Private Member Functions | |
void | __Dealloc () |
Private Attributes | |
T::VertexPointer * | _vpoly |
Definition at line 57 of file component_polygon.h.
typedef T::VertexType::CoordType vcg::face::PFVAdj< T >::CoordType |
Reimplemented in vcg::face::PFVAdj< Arity2< FaceBase< PUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj > >.
Definition at line 59 of file component_polygon.h.
typedef T::VertexType::ScalarType vcg::face::PFVAdj< T >::ScalarType |
Reimplemented in vcg::FaceArityMax< PolyUsedTypes, face::PolyInfo, face::PFVAdj, face::BitFlags, face::Normal3f, DefaultDeriver, DefaultDeriver, DefaultDeriver, DefaultDeriver, DefaultDeriver, DefaultDeriver, DefaultDeriver, DefaultDeriver >, vcg::FaceArityMax< PolyUsedTypes, face::PolyInfo, face::PFVAdj, face::PFFAdj, face::PFHAdj, face::BitFlags, face::Normal3f, face::Mark, DefaultDeriver, DefaultDeriver, DefaultDeriver, DefaultDeriver, DefaultDeriver >, vcg::FaceArityMax< PolyUsedTypes, vcg::face::PolyInfo, vcg::face::Normal3f, vcg::face::BitFlags, vcg::face::PFVAdj, vcg::face::PFFAdj, DefaultDeriver, DefaultDeriver, DefaultDeriver, DefaultDeriver, DefaultDeriver, DefaultDeriver, DefaultDeriver >, vcg::FaceArityMax< PUsedTypes, vcg::face::PolyInfo, vcg::face::PFVAdj, vcg::face::PFVAdj, vcg::face::PFFAdj, vcg::face::PFHAdj, vcg::face::BitFlags, vcg::face::Normal3f, DefaultDeriver, DefaultDeriver, DefaultDeriver, DefaultDeriver, DefaultDeriver >, and vcg::face::PFVAdj< Arity2< FaceBase< PUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj > >.
Definition at line 60 of file component_polygon.h.
typedef T::VertexType vcg::face::PFVAdj< T >::VertexType |
Reimplemented in vcg::face::PFVAdj< Arity2< FaceBase< PUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj > >.
Definition at line 61 of file component_polygon.h.
vcg::face::PFVAdj< T >::PFVAdj | ( | ) | [inline] |
Reimplemented in vcg::face::PFVAdj< Arity2< FaceBase< PUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj > >.
Definition at line 63 of file component_polygon.h.
void vcg::face::PFVAdj< T >::__Dealloc | ( | ) | [inline, private] |
Reimplemented in vcg::face::PFFAdj< Arity2< FaceBase< PolyUsedTypes >, face::PolyInfo, face::PFVAdj > >, vcg::face::PFFAdj< Arity4< FaceBase< PolyUsedTypes >, vcg::face::PolyInfo, vcg::face::Normal3f, vcg::face::BitFlags, vcg::face::PFVAdj > >, vcg::face::PFFAdj< Arity3< FaceBase< PUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj, vcg::face::PFVAdj > >, and vcg::face::PFVAdj< Arity2< FaceBase< PUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj > >.
Definition at line 115 of file component_polygon.h.
void vcg::face::PFVAdj< T >::Alloc | ( | const int & | ns | ) | [inline] |
Reimplemented in vcg::face::BitFlags< Arity5< FaceBase< PUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj, vcg::face::PFVAdj, vcg::face::PFFAdj, vcg::face::PFHAdj > >, vcg::face::BitFlags< Arity2< FaceBase< PolyUsedTypes >, face::PolyInfo, face::PFVAdj > >, vcg::face::BitFlags< Arity4< FaceBase< PolyUsedTypes >, face::PolyInfo, face::PFVAdj, face::PFFAdj, face::PFHAdj > >, vcg::face::PFHAdj< Arity3< FaceBase< PolyUsedTypes >, face::PolyInfo, face::PFVAdj, face::PFFAdj > >, vcg::face::PFHAdj< Arity4< FaceBase< PUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj, vcg::face::PFVAdj, vcg::face::PFFAdj > >, vcg::face::NormalAbs< vcg::Point3f, Arity6< FaceBase< PUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj, vcg::face::PFVAdj, vcg::face::PFFAdj, vcg::face::PFHAdj, vcg::face::BitFlags > >, vcg::face::NormalAbs< vcg::Point3f, Arity3< FaceBase< PolyUsedTypes >, face::PolyInfo, face::PFVAdj, face::BitFlags > >, vcg::face::NormalAbs< vcg::Point3f, Arity5< FaceBase< PolyUsedTypes >, face::PolyInfo, face::PFVAdj, face::PFFAdj, face::PFHAdj, face::BitFlags > >, vcg::face::PFFAdj< Arity2< FaceBase< PolyUsedTypes >, face::PolyInfo, face::PFVAdj > >, vcg::face::PFFAdj< Arity4< FaceBase< PolyUsedTypes >, vcg::face::PolyInfo, vcg::face::Normal3f, vcg::face::BitFlags, vcg::face::PFVAdj > >, vcg::face::PFFAdj< Arity3< FaceBase< PUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj, vcg::face::PFVAdj > >, and vcg::face::PFVAdj< Arity2< FaceBase< PUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj > >.
Definition at line 100 of file component_polygon.h.
CoordType vcg::face::PFVAdj< T >::cP | ( | const int | j | ) | const [inline] |
Reimplemented in vcg::face::PFVAdj< Arity2< FaceBase< PUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj > >.
Definition at line 89 of file component_polygon.h.
CoordType vcg::face::PFVAdj< T >::cP0 | ( | const int | j | ) | const [inline] |
Reimplemented in vcg::face::PFVAdj< Arity2< FaceBase< PUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj > >.
Definition at line 94 of file component_polygon.h.
CoordType vcg::face::PFVAdj< T >::cP1 | ( | const int | j | ) | const [inline] |
Reimplemented in vcg::face::PFVAdj< Arity2< FaceBase< PUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj > >.
Definition at line 95 of file component_polygon.h.
CoordType vcg::face::PFVAdj< T >::cP2 | ( | const int | j | ) | const [inline] |
Reimplemented in vcg::face::PFVAdj< Arity2< FaceBase< PUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj > >.
Definition at line 96 of file component_polygon.h.
T::VertexType* vcg::face::PFVAdj< T >::cV | ( | const int | j | ) | const [inline] |
Reimplemented in vcg::face::PFVAdj< Arity2< FaceBase< PUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj > >.
Definition at line 72 of file component_polygon.h.
const VertexType* const& vcg::face::PFVAdj< T >::cV0 | ( | const int | j | ) | const [inline] |
Reimplemented in vcg::face::PFVAdj< Arity2< FaceBase< PUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj > >.
Definition at line 84 of file component_polygon.h.
const VertexType* const& vcg::face::PFVAdj< T >::cV1 | ( | const int | j | ) | const [inline] |
Reimplemented in vcg::face::PFVAdj< Arity2< FaceBase< PUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj > >.
Definition at line 85 of file component_polygon.h.
const VertexType* const& vcg::face::PFVAdj< T >::cV2 | ( | const int | j | ) | const [inline] |
Reimplemented in vcg::face::PFVAdj< Arity2< FaceBase< PUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj > >.
Definition at line 86 of file component_polygon.h.
void vcg::face::PFVAdj< T >::Dealloc | ( | ) | [inline] |
Reimplemented in vcg::face::BitFlags< Arity5< FaceBase< PUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj, vcg::face::PFVAdj, vcg::face::PFFAdj, vcg::face::PFHAdj > >, vcg::face::BitFlags< Arity2< FaceBase< PolyUsedTypes >, face::PolyInfo, face::PFVAdj > >, vcg::face::BitFlags< Arity4< FaceBase< PolyUsedTypes >, face::PolyInfo, face::PFVAdj, face::PFFAdj, face::PFHAdj > >, vcg::face::PFHAdj< Arity3< FaceBase< PolyUsedTypes >, face::PolyInfo, face::PFVAdj, face::PFFAdj > >, vcg::face::PFHAdj< Arity4< FaceBase< PUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj, vcg::face::PFVAdj, vcg::face::PFFAdj > >, vcg::face::NormalAbs< vcg::Point3f, Arity6< FaceBase< PUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj, vcg::face::PFVAdj, vcg::face::PFFAdj, vcg::face::PFHAdj, vcg::face::BitFlags > >, vcg::face::NormalAbs< vcg::Point3f, Arity3< FaceBase< PolyUsedTypes >, face::PolyInfo, face::PFVAdj, face::BitFlags > >, vcg::face::NormalAbs< vcg::Point3f, Arity5< FaceBase< PolyUsedTypes >, face::PolyInfo, face::PFVAdj, face::PFFAdj, face::PFHAdj, face::BitFlags > >, vcg::face::PFFAdj< Arity2< FaceBase< PolyUsedTypes >, face::PolyInfo, face::PFVAdj > >, vcg::face::PFFAdj< Arity4< FaceBase< PolyUsedTypes >, vcg::face::PolyInfo, vcg::face::Normal3f, vcg::face::BitFlags, vcg::face::PFVAdj > >, vcg::face::PFFAdj< Arity3< FaceBase< PUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj, vcg::face::PFVAdj > >, and vcg::face::PFVAdj< Arity2< FaceBase< PUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj > >.
Definition at line 106 of file component_polygon.h.
static bool vcg::face::PFVAdj< T >::HasFVAdjacency | ( | ) | [inline, static] |
Reimplemented in vcg::face::PFVAdj< Arity2< FaceBase< PUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj > >.
Definition at line 111 of file component_polygon.h.
void vcg::face::PFVAdj< T >::ImportData | ( | const LeftF & | leftF | ) | [inline] |
Reimplemented in vcg::face::PFHAdj< Arity3< FaceBase< PolyUsedTypes >, face::PolyInfo, face::PFVAdj, face::PFFAdj > >, vcg::face::PFHAdj< Arity4< FaceBase< PUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj, vcg::face::PFVAdj, vcg::face::PFFAdj > >, vcg::face::PFFAdj< Arity2< FaceBase< PolyUsedTypes >, face::PolyInfo, face::PFVAdj > >, vcg::face::PFFAdj< Arity4< FaceBase< PolyUsedTypes >, vcg::face::PolyInfo, vcg::face::Normal3f, vcg::face::BitFlags, vcg::face::PFVAdj > >, vcg::face::PFFAdj< Arity3< FaceBase< PUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj, vcg::face::PFVAdj > >, and vcg::face::PFVAdj< Arity2< FaceBase< PUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj > >.
Definition at line 99 of file component_polygon.h.
static void vcg::face::PFVAdj< T >::Name | ( | std::vector< std::string > & | name | ) | [inline, static] |
Reimplemented in vcg::face::Mark< Arity6< FaceBase< PolyUsedTypes >, face::PolyInfo, face::PFVAdj, face::PFFAdj, face::PFHAdj, face::BitFlags, face::Normal3f > >, vcg::face::BitFlags< Arity5< FaceBase< PUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj, vcg::face::PFVAdj, vcg::face::PFFAdj, vcg::face::PFHAdj > >, vcg::face::BitFlags< Arity2< FaceBase< PolyUsedTypes >, face::PolyInfo, face::PFVAdj > >, vcg::face::BitFlags< Arity4< FaceBase< PolyUsedTypes >, face::PolyInfo, face::PFVAdj, face::PFFAdj, face::PFHAdj > >, vcg::face::Normal3f< Arity5< FaceBase< PolyUsedTypes >, face::PolyInfo, face::PFVAdj, face::PFFAdj, face::PFHAdj, face::BitFlags > >, vcg::face::Normal3f< Arity6< FaceBase< PUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj, vcg::face::PFVAdj, vcg::face::PFFAdj, vcg::face::PFHAdj, vcg::face::BitFlags > >, vcg::face::Normal3f< Arity3< FaceBase< PolyUsedTypes >, face::PolyInfo, face::PFVAdj, face::BitFlags > >, vcg::face::PFHAdj< Arity3< FaceBase< PolyUsedTypes >, face::PolyInfo, face::PFVAdj, face::PFFAdj > >, vcg::face::PFHAdj< Arity4< FaceBase< PUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj, vcg::face::PFVAdj, vcg::face::PFFAdj > >, vcg::face::NormalAbs< vcg::Point3f, Arity6< FaceBase< PUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj, vcg::face::PFVAdj, vcg::face::PFFAdj, vcg::face::PFHAdj, vcg::face::BitFlags > >, vcg::face::NormalAbs< vcg::Point3f, Arity3< FaceBase< PolyUsedTypes >, face::PolyInfo, face::PFVAdj, face::BitFlags > >, vcg::face::NormalAbs< vcg::Point3f, Arity5< FaceBase< PolyUsedTypes >, face::PolyInfo, face::PFVAdj, face::PFFAdj, face::PFHAdj, face::BitFlags > >, vcg::face::PFFAdj< Arity2< FaceBase< PolyUsedTypes >, face::PolyInfo, face::PFVAdj > >, vcg::face::PFFAdj< Arity4< FaceBase< PolyUsedTypes >, vcg::face::PolyInfo, vcg::face::Normal3f, vcg::face::BitFlags, vcg::face::PFVAdj > >, vcg::face::PFFAdj< Arity3< FaceBase< PUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj, vcg::face::PFVAdj > >, and vcg::face::PFVAdj< Arity2< FaceBase< PUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj > >.
Definition at line 112 of file component_polygon.h.
CoordType& vcg::face::PFVAdj< T >::P | ( | const int | j | ) | [inline] |
Reimplemented in vcg::face::PFVAdj< Arity2< FaceBase< PUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj > >.
Definition at line 88 of file component_polygon.h.
CoordType& vcg::face::PFVAdj< T >::P0 | ( | const int | j | ) | [inline] |
Reimplemented in vcg::face::PFVAdj< Arity2< FaceBase< PUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj > >.
Definition at line 91 of file component_polygon.h.
CoordType& vcg::face::PFVAdj< T >::P1 | ( | const int | j | ) | [inline] |
Reimplemented in vcg::face::PFVAdj< Arity2< FaceBase< PUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj > >.
Definition at line 92 of file component_polygon.h.
CoordType& vcg::face::PFVAdj< T >::P2 | ( | const int | j | ) | [inline] |
Reimplemented in vcg::face::PFVAdj< Arity2< FaceBase< PUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj > >.
Definition at line 93 of file component_polygon.h.
T::VertexType* & vcg::face::PFVAdj< T >::V | ( | const int | j | ) | [inline] |
Reimplemented in vcg::face::PFVAdj< Arity2< FaceBase< PUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj > >.
Definition at line 70 of file component_polygon.h.
T::VertexType* const& vcg::face::PFVAdj< T >::V | ( | const int | j | ) | const [inline] |
Reimplemented in vcg::face::PFVAdj< Arity2< FaceBase< PUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj > >.
Definition at line 71 of file component_polygon.h.
VertexType* & vcg::face::PFVAdj< T >::V0 | ( | const int | j | ) | [inline] |
Return the pointer to the ((j+1)%3)-th vertex of the face.
j | Index of the face vertex. |
Reimplemented in vcg::face::PFVAdj< Arity2< FaceBase< PUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj > >.
Definition at line 78 of file component_polygon.h.
const VertexType* const& vcg::face::PFVAdj< T >::V0 | ( | const int | j | ) | const [inline] |
Reimplemented in vcg::face::PFVAdj< Arity2< FaceBase< PUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj > >.
Definition at line 81 of file component_polygon.h.
VertexType* & vcg::face::PFVAdj< T >::V1 | ( | const int | j | ) | [inline] |
Reimplemented in vcg::face::PFVAdj< Arity2< FaceBase< PUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj > >.
Definition at line 79 of file component_polygon.h.
const VertexType* const& vcg::face::PFVAdj< T >::V1 | ( | const int | j | ) | const [inline] |
Reimplemented in vcg::face::PFVAdj< Arity2< FaceBase< PUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj > >.
Definition at line 82 of file component_polygon.h.
VertexType* & vcg::face::PFVAdj< T >::V2 | ( | const int | j | ) | [inline] |
Reimplemented in vcg::face::PFVAdj< Arity2< FaceBase< PUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj > >.
Definition at line 80 of file component_polygon.h.
const VertexType* const& vcg::face::PFVAdj< T >::V2 | ( | const int | j | ) | const [inline] |
Reimplemented in vcg::face::PFVAdj< Arity2< FaceBase< PUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj > >.
Definition at line 83 of file component_polygon.h.
T::VertexPointer* vcg::face::PFVAdj< T >::_vpoly [private] |
Reimplemented in vcg::face::PFVAdj< Arity2< FaceBase< PUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj > >.
Definition at line 120 of file component_polygon.h.