template<class PLANE_T>
class Cvb::PlaneTraits< PLANE_T >
- Template Parameters
-
PLANE_T | The plane type to provide the traits for. |
Provides the following concept for supported plane types:
using PlaneT = PLANE_T;
using TypeList = DispatchableTypeList<...>;
static constexpr bool HasVpat = ..;
static int GetWidth(const PlaneT &plane);
static int GetHeight(const PlaneT &plane);
static int GetRank(const PlaneT &);
static Cvb::Vpat GetVpat(
const PlaneT &plane);
Providing this for custom plane types allows using the Visit(As) infrastructure with those planes.