#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) |
const CoordType & | cP (const int j) const |
const CoordType & | cP0 (const int j) const |
const CoordType & | cP1 (const int j) const |
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 | ImportLocal (const LeftF &leftF) |
const CoordType & | P (const int j) const |
CoordType & | P (const int j) |
const CoordType & | P0 (const int j) const |
CoordType & | P0 (const int j) |
Shortcut per accedere ai punti delle facce. | |
const CoordType & | P1 (const int j) const |
CoordType & | P1 (const int j) |
const CoordType & | P2 (const int j) const |
CoordType & | P2 (const int j) |
PFVAdj () | |
T::VertexType *const & | V (const int j) const |
T::VertexType *& | V (const int j) |
const VertexType *const & | V0 (const int j) const |
VertexType *& | V0 (const int j) |
const VertexType *const & | V1 (const int j) const |
VertexType *& | V1 (const int j) |
const VertexType *const & | V2 (const int j) const |
VertexType *& | V2 (const int j) |
Static Public Member Functions | |
static bool | HasFVAdjacency () |
static void | Name (std::vector< std::string > &name) |
Private Attributes | |
T::VertexPointer * | _vpoly |
Definition at line 109 of file component_polygon.h.
typedef T::VertexType::CoordType vcg::face::PFVAdj< T >::CoordType |
Reimplemented in vcg::face::PFVAdj< Arity2< FaceBase< PolyUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj > >.
Definition at line 111 of file component_polygon.h.
typedef T::VertexType::ScalarType vcg::face::PFVAdj< T >::ScalarType |
Reimplemented in vcg::FaceArityMax< PolyUsedTypes, vcg::face::PolyInfo, vcg::face::PFVAdj, vcg::face::PFVAdj, vcg::face::PFFAdj, vcg::face::PFHAdj, vcg::face::BitFlags, vcg::face::Normal3f, DefaultDeriver, DefaultDeriver, DefaultDeriver >, and vcg::face::PFVAdj< Arity2< FaceBase< PolyUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj > >.
Definition at line 112 of file component_polygon.h.
typedef T::VertexType vcg::face::PFVAdj< T >::VertexType |
Reimplemented in vcg::face::PFVAdj< Arity2< FaceBase< PolyUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj > >.
Definition at line 113 of file component_polygon.h.
vcg::face::PFVAdj< T >::PFVAdj | ( | ) | [inline] |
Reimplemented in vcg::face::PFVAdj< Arity2< FaceBase< PolyUsedTypes >, 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::NormalAbs< vcg::Point3f, Arity6< FaceBase< PolyUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj, vcg::face::PFVAdj, vcg::face::PFFAdj, vcg::face::PFHAdj, vcg::face::BitFlags > >, vcg::face::BitFlags< Arity5< FaceBase< PolyUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj, vcg::face::PFVAdj, vcg::face::PFFAdj, vcg::face::PFHAdj > >, vcg::face::PFVAdj< Arity2< FaceBase< PolyUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj > >, vcg::face::PFFAdj< Arity3< FaceBase< PolyUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj, vcg::face::PFVAdj > >, and vcg::face::PFHAdj< Arity4< FaceBase< PolyUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj, vcg::face::PFVAdj, vcg::face::PFFAdj > >.
Definition at line 152 of file component_polygon.h.
const CoordType& vcg::face::PFVAdj< T >::cP | ( | const int | j | ) | const [inline] |
Reimplemented in vcg::face::PFVAdj< Arity2< FaceBase< PolyUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj > >.
Definition at line 137 of file component_polygon.h.
const CoordType& vcg::face::PFVAdj< T >::cP0 | ( | const int | j | ) | const [inline] |
Reimplemented in vcg::face::PFVAdj< Arity2< FaceBase< PolyUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj > >.
Definition at line 146 of file component_polygon.h.
const CoordType& vcg::face::PFVAdj< T >::cP1 | ( | const int | j | ) | const [inline] |
Reimplemented in vcg::face::PFVAdj< Arity2< FaceBase< PolyUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj > >.
Definition at line 147 of file component_polygon.h.
const CoordType& vcg::face::PFVAdj< T >::cP2 | ( | const int | j | ) | const [inline] |
Reimplemented in vcg::face::PFVAdj< Arity2< FaceBase< PolyUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj > >.
Definition at line 148 of file component_polygon.h.
T::VertexType* vcg::face::PFVAdj< T >::cV | ( | const int | j | ) | const [inline] |
Reimplemented in vcg::face::PFVAdj< Arity2< FaceBase< PolyUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj > >.
Definition at line 118 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< PolyUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj > >.
Definition at line 130 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< PolyUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj > >.
Definition at line 131 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< PolyUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj > >.
Definition at line 132 of file component_polygon.h.
void vcg::face::PFVAdj< T >::Dealloc | ( | ) | [inline] |
Reimplemented in vcg::face::NormalAbs< vcg::Point3f, Arity6< FaceBase< PolyUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj, vcg::face::PFVAdj, vcg::face::PFFAdj, vcg::face::PFHAdj, vcg::face::BitFlags > >, vcg::face::BitFlags< Arity5< FaceBase< PolyUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj, vcg::face::PFVAdj, vcg::face::PFFAdj, vcg::face::PFHAdj > >, vcg::face::PFVAdj< Arity2< FaceBase< PolyUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj > >, vcg::face::PFFAdj< Arity3< FaceBase< PolyUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj, vcg::face::PFVAdj > >, and vcg::face::PFHAdj< Arity4< FaceBase< PolyUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj, vcg::face::PFVAdj, vcg::face::PFFAdj > >.
Definition at line 159 of file component_polygon.h.
static bool vcg::face::PFVAdj< T >::HasFVAdjacency | ( | ) | [inline, static] |
Reimplemented in vcg::face::PFVAdj< Arity2< FaceBase< PolyUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj > >.
Definition at line 166 of file component_polygon.h.
void vcg::face::PFVAdj< T >::ImportLocal | ( | const LeftF & | leftF | ) | [inline] |
Reimplemented in vcg::face::PFVAdj< Arity2< FaceBase< PolyUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj > >, vcg::face::PFFAdj< Arity3< FaceBase< PolyUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj, vcg::face::PFVAdj > >, and vcg::face::PFHAdj< Arity4< FaceBase< PolyUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj, vcg::face::PFVAdj, vcg::face::PFFAdj > >.
Definition at line 151 of file component_polygon.h.
static void vcg::face::PFVAdj< T >::Name | ( | std::vector< std::string > & | name | ) | [inline, static] |
Reimplemented in vcg::face::NormalAbs< vcg::Point3f, Arity6< FaceBase< PolyUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj, vcg::face::PFVAdj, vcg::face::PFFAdj, vcg::face::PFHAdj, vcg::face::BitFlags > >, vcg::face::Normal3f< Arity6< FaceBase< PolyUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj, vcg::face::PFVAdj, vcg::face::PFFAdj, vcg::face::PFHAdj, vcg::face::BitFlags > >, vcg::face::BitFlags< Arity5< FaceBase< PolyUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj, vcg::face::PFVAdj, vcg::face::PFFAdj, vcg::face::PFHAdj > >, vcg::face::PFVAdj< Arity2< FaceBase< PolyUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj > >, vcg::face::PFFAdj< Arity3< FaceBase< PolyUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj, vcg::face::PFVAdj > >, and vcg::face::PFHAdj< Arity4< FaceBase< PolyUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj, vcg::face::PFVAdj, vcg::face::PFFAdj > >.
Definition at line 167 of file component_polygon.h.
const CoordType& vcg::face::PFVAdj< T >::P | ( | const int | j | ) | const [inline] |
Reimplemented in vcg::face::PFVAdj< Arity2< FaceBase< PolyUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj > >.
Definition at line 136 of file component_polygon.h.
CoordType& vcg::face::PFVAdj< T >::P | ( | const int | j | ) | [inline] |
Reimplemented in vcg::face::PFVAdj< Arity2< FaceBase< PolyUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj > >.
Definition at line 135 of file component_polygon.h.
const CoordType& vcg::face::PFVAdj< T >::P0 | ( | const int | j | ) | const [inline] |
Reimplemented in vcg::face::PFVAdj< Arity2< FaceBase< PolyUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj > >.
Definition at line 143 of file component_polygon.h.
CoordType& vcg::face::PFVAdj< T >::P0 | ( | const int | j | ) | [inline] |
Shortcut per accedere ai punti delle facce.
Reimplemented in vcg::face::PFVAdj< Arity2< FaceBase< PolyUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj > >.
Definition at line 140 of file component_polygon.h.
const CoordType& vcg::face::PFVAdj< T >::P1 | ( | const int | j | ) | const [inline] |
Reimplemented in vcg::face::PFVAdj< Arity2< FaceBase< PolyUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj > >.
Definition at line 144 of file component_polygon.h.
CoordType& vcg::face::PFVAdj< T >::P1 | ( | const int | j | ) | [inline] |
Reimplemented in vcg::face::PFVAdj< Arity2< FaceBase< PolyUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj > >.
Definition at line 141 of file component_polygon.h.
const CoordType& vcg::face::PFVAdj< T >::P2 | ( | const int | j | ) | const [inline] |
Reimplemented in vcg::face::PFVAdj< Arity2< FaceBase< PolyUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj > >.
Definition at line 145 of file component_polygon.h.
CoordType& vcg::face::PFVAdj< T >::P2 | ( | const int | j | ) | [inline] |
Reimplemented in vcg::face::PFVAdj< Arity2< FaceBase< PolyUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj > >.
Definition at line 142 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< PolyUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj > >.
Definition at line 117 of file component_polygon.h.
T::VertexType* & vcg::face::PFVAdj< T >::V | ( | const int | j | ) | [inline] |
Reimplemented in vcg::face::PFVAdj< Arity2< FaceBase< PolyUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj > >.
Definition at line 116 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< PolyUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj > >.
Definition at line 127 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< PolyUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj > >.
Definition at line 124 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< PolyUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj > >.
Definition at line 128 of file component_polygon.h.
VertexType* & vcg::face::PFVAdj< T >::V1 | ( | const int | j | ) | [inline] |
Reimplemented in vcg::face::PFVAdj< Arity2< FaceBase< PolyUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj > >.
Definition at line 125 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< PolyUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj > >.
Definition at line 129 of file component_polygon.h.
VertexType* & vcg::face::PFVAdj< T >::V2 | ( | const int | j | ) | [inline] |
Reimplemented in vcg::face::PFVAdj< Arity2< FaceBase< PolyUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj > >.
Definition at line 126 of file component_polygon.h.
T::VertexPointer* vcg::face::PFVAdj< T >::_vpoly [private] |
Reimplemented in vcg::face::PFVAdj< Arity2< FaceBase< PolyUsedTypes >, vcg::face::PolyInfo, vcg::face::PFVAdj > >.
Definition at line 170 of file component_polygon.h.