Per Face Precomputed Edge/Plane. More...
#include <component_ep.h>
Public Types | |
typedef EdgePlaneInfo < typename T::VertexType::CoordType > | EdgePlaneType |
Public Member Functions | |
T::VertexType::CoordType | cEdge (const int j) const |
vcg::Plane3< typename T::VertexType::CoordType::ScalarType > | cPlane () const |
T::VertexType::CoordType & | Edge (const int j) |
vcg::Plane3< typename T::VertexType::CoordType::ScalarType > & | Plane () |
Static Public Member Functions | |
static bool | HasEdgePlane () |
static void | Name (std::vector< std::string > &name) |
Private Attributes | |
EdgePlaneType | _ep |
Per Face Precomputed Edge/Plane.
This component is used to speed up some geometric queries like the ray-triangle intersection or the Point-Triangle distance. Before using it you have to initialize it using UpdateComponentEP class
Definition at line 48 of file simplex/face/component_ep.h.
typedef EdgePlaneInfo<typename T::VertexType::CoordType> vcg::face::EdgePlane< T >::EdgePlaneType |
Definition at line 50 of file simplex/face/component_ep.h.
T::VertexType::CoordType vcg::face::EdgePlane< T >::cEdge | ( | const int | j | ) | const [inline] |
Definition at line 55 of file simplex/face/component_ep.h.
vcg::Plane3<typename T::VertexType::CoordType::ScalarType> vcg::face::EdgePlane< T >::cPlane | ( | ) | const [inline] |
Definition at line 62 of file simplex/face/component_ep.h.
T::VertexType::CoordType& vcg::face::EdgePlane< T >::Edge | ( | const int | j | ) | [inline] |
Definition at line 52 of file simplex/face/component_ep.h.
static bool vcg::face::EdgePlane< T >::HasEdgePlane | ( | ) | [inline, static] |
Definition at line 66 of file simplex/face/component_ep.h.
static void vcg::face::EdgePlane< T >::Name | ( | std::vector< std::string > & | name | ) | [inline, static] |
Reimplemented in vcg::face::Mark< Arity3< FaceBase< RTUsedTypes >, vcg::face::Normal3f, vcg::face::VertexRef, vcg::face::EdgePlane > >, vcg::face::Mark< Arity4< FaceBase< UsedTypes >, vcg::face::VertexRef, vcg::face::Normal3d, vcg::face::EdgePlane, vcg::face::Color4b > >, vcg::face::Color4b< Arity3< FaceBase< UsedTypes >, vcg::face::VertexRef, vcg::face::Normal3d, vcg::face::EdgePlane > >, vcg::face::Color< vcg::Color4b, Arity3< FaceBase< UsedTypes >, vcg::face::VertexRef, vcg::face::Normal3d, vcg::face::EdgePlane > >, vcg::face::BitFlags< Arity5< FaceBase< UsedTypes >, vcg::face::VertexRef, vcg::face::Normal3d, vcg::face::EdgePlane, vcg::face::Color4b, vcg::face::Mark > >, vcg::face::BitFlags< Arity3< FaceBase< MyUsedTypes >, face::VertexRef, face::Normal3f, face::EdgePlane > >, and vcg::face::BitFlags< Arity4< FaceBase< RTUsedTypes >, vcg::face::Normal3f, vcg::face::VertexRef, vcg::face::EdgePlane, vcg::face::Mark > >.
Definition at line 68 of file simplex/face/component_ep.h.
vcg::Plane3<typename T::VertexType::CoordType::ScalarType>& vcg::face::EdgePlane< T >::Plane | ( | ) | [inline] |
Definition at line 59 of file simplex/face/component_ep.h.
EdgePlaneType vcg::face::EdgePlane< T >::_ep [private] |
Definition at line 72 of file simplex/face/component_ep.h.