CAPD RedHom Library
CubSetT< P_EuclSet > Class Template Reference

#include <capd/cubSet/CubSetT.h>

Public Types

typedef P_EuclSet::Pixel Pixel
 
typedef P_EuclSet::BitCoordIterator BitCoordIterator
 
typedef P_EuclSet::BitIterator BitIterator
 
typedef P_EuclSet::PointIterator PointIterator
 
typedef P_EuclSet::WordIterator WordIterator
 
typedef P_EuclSet::PointCoordIterator PointCoordIterator
 
typedef P_EuclSet::NeighbIterator NeighbIterator
 
typedef P_EuclSet::NeighbSliceIterator NeighbSliceIterator
 
typedef bool(CubSetT::* BoolBCI_Ptr) (const BitCoordIterator &it) const
 
typedef bool(CubSetT::* BoolBI_Ptr) (const BitIterator &it) const
 
typedef int(CubSetT::* IntBI_Ptr) (const BitIterator &it) const
 
typedef CubSetT &(CubSetT::* CubSetT_void_Ptr) ()
 
typedef int(CubSetT::* CubSetT_CubSetT_Ptr) (CubSetT &) const
 
typedef P_EuclSet BaseClass
 

Public Member Functions

 CubSetT (int size=0)
 
 CubSetT (const int *w)
 
 CubSetT (const int *w, const char *bytes)
 
 CubSetT (const CubSetT &org, bool clear=false)
 
 CubSetT (const CubSetT &org, const std::vector< int > &lc, const std::vector< int > &uc)
 
 CubSetT (const CubSetT &org, const Pixel &lc, const Pixel &uc)
 
 CubSetT (const RepSet< ElementaryCube > &A_RepSetOfElementaryCube)
 
template<typename P_CubCellSetSimplificator >
 CubSetT (const CubCellSetT< P_EuclSet, P_CubCellSetSimplificator > &org)
 
const P_EuclSetgetBaseObject () const
 
int embDim () const
 
void getNeighbors (const Pixel &p, vector< Pixel > &neighbors) const
 
void getNeighborhood3 (const Pixel &p, CubSetT &neighborhood) const
 
void getNeighborhood5 (const Pixel &p, CubSetT &neighborhood) const
 
uint neighbSignatureLT (const BitIterator &it) const
 
uint neighbSignatureD4 (const BitIterator &it, unsigned int sliceDir, unsigned int sliceCoord) const
 
int neighbCyclicLT (const BitIterator &it) const
 
int neighbCyclicD4 (const BitIterator &it) const
 
bool neighbAcyclicLT (const BitIterator &it) const
 
bool neighbAcyclicLT (const BitIterator &it, int &count) const
 
bool neighbAcyclicD4 (const BitIterator &it) const
 
bool neighbAcyclicD4a (const BitIterator &it) const
 
bool neighbAcyclicD4a0 (const BitIterator &it) const
 
bool neighbAcyclicMD (const BitIterator &it) const
 
bool neighbAcyclicSI_BI (const BitIterator &it) const
 
bool neighbAcyclicLT_BCI (const BitCoordIterator &it) const
 
bool neighbAcyclicHOM (const BitCoordIterator &it) const
 
bool neighbAcyclicOSSI (const BitCoordIterator &it) const
 
bool neighbAcyclicSI (const BitCoordIterator &it) const
 
bool neighbAcyclicSIR (const BitCoordIterator &it) const
 
void addEmptyCollar ()
 
CubSetTexpandToComponentOf (const Pixel &p, const CubSetT &set2)
 
CubSetTexpandToComponentOf (const Pixel &p, const CubSetT &set2, Pixel &lc, Pixel &uc)
 
bool extractComponent (CubSetT &component, CubSetT &rest)
 
bool extractComponent (CubSetT &component, CubSetT &rest, Pixel &lc, Pixel &uc)
 
int decomposeToComponents (std::vector< CubSetT > &components) const
 
CubSetTexpandToComponentOf (const CubSetT &set2)
 
CubSetTshaveBCI ()
 
CubSetTshaveBI ()
 
CubSetTshaveWithChecksBI ()
 
CubSetTshave ()
 
CubSetTshaveWithFixedSubset (const CubSetT &A_subset)
 
int simpleIntersection (vector< Pixel > pixels) const
 
int acyclicSubspaceBCI (CubSetT &acSubsp) const
 
int acyclicSubspaceBI (CubSetT &acSubsp) const
 
int multiAcyclicSubspaceBI (CubSetT &acSubsp) const
 
int acyclicSubspaceOrg (CubSetT &acSubsp) const
 
int acyclicSubspace (CubSetT &acSubsp) const
 

Static Public Member Functions

static bool isSignAcyclic (uint s)
 

Static Public Attributes

static const unsigned int midBit =13
 
static const unsigned int mask = (1 << midBit)-1
 
static BoolBCI_Ptr neighbAcyclicBCI
 
static BoolBI_Ptr neighbAcyclicBI
 
static IntBI_Ptr neighbCyclicBI
 

Protected Types

typedef P_EuclSet::PixelNeighborOffset PixelNeighborOffset
 

Friends

void swap (CubSetT &A_set1, CubSetT &A_set2)
 

Member Typedef Documentation

template<typename P_EuclSet >
typedef P_EuclSet CubSetT< P_EuclSet >::BaseClass
template<typename P_EuclSet >
typedef P_EuclSet::BitCoordIterator CubSetT< P_EuclSet >::BitCoordIterator
template<typename P_EuclSet >
typedef P_EuclSet::BitIterator CubSetT< P_EuclSet >::BitIterator
template<typename P_EuclSet >
typedef bool(CubSetT::* CubSetT< P_EuclSet >::BoolBCI_Ptr) (const BitCoordIterator &it) const
template<typename P_EuclSet >
typedef bool(CubSetT::* CubSetT< P_EuclSet >::BoolBI_Ptr) (const BitIterator &it) const
template<typename P_EuclSet >
typedef int(CubSetT::* CubSetT< P_EuclSet >::CubSetT_CubSetT_Ptr) (CubSetT &) const
template<typename P_EuclSet >
typedef CubSetT&(CubSetT::* CubSetT< P_EuclSet >::CubSetT_void_Ptr) ()
template<typename P_EuclSet >
typedef int(CubSetT::* CubSetT< P_EuclSet >::IntBI_Ptr) (const BitIterator &it) const
template<typename P_EuclSet >
typedef P_EuclSet::NeighbIterator CubSetT< P_EuclSet >::NeighbIterator
template<typename P_EuclSet >
typedef P_EuclSet::NeighbSliceIterator CubSetT< P_EuclSet >::NeighbSliceIterator
template<typename P_EuclSet >
typedef P_EuclSet::Pixel CubSetT< P_EuclSet >::Pixel
template<typename P_EuclSet >
typedef P_EuclSet::PixelNeighborOffset CubSetT< P_EuclSet >::PixelNeighborOffset
protected
template<typename P_EuclSet >
typedef P_EuclSet::PointCoordIterator CubSetT< P_EuclSet >::PointCoordIterator
template<typename P_EuclSet >
typedef P_EuclSet::PointIterator CubSetT< P_EuclSet >::PointIterator
template<typename P_EuclSet >
typedef P_EuclSet::WordIterator CubSetT< P_EuclSet >::WordIterator

Constructor & Destructor Documentation

template<typename P_EuclSet >
CubSetT< P_EuclSet >::CubSetT ( int  size = 0)
inlineexplicit
template<typename P_EuclSet >
CubSetT< P_EuclSet >::CubSetT ( const int *  w)
inlineexplicit
template<typename P_EuclSet >
CubSetT< P_EuclSet >::CubSetT ( const int *  w,
const char *  bytes 
)
inlineexplicit
template<typename P_EuclSet >
CubSetT< P_EuclSet >::CubSetT ( const CubSetT< P_EuclSet > &  org,
bool  clear = false 
)
inline
template<typename P_EuclSet >
CubSetT< P_EuclSet >::CubSetT ( const CubSetT< P_EuclSet > &  org,
const std::vector< int > &  lc,
const std::vector< int > &  uc 
)
inline
template<typename P_EuclSet >
CubSetT< P_EuclSet >::CubSetT ( const CubSetT< P_EuclSet > &  org,
const Pixel lc,
const Pixel uc 
)
inline
template<typename P_EuclSet >
CubSetT< P_EuclSet >::CubSetT ( const RepSet< ElementaryCube > &  A_RepSetOfElementaryCube)
inline
template<typename P_EuclSet >
template<typename P_CubCellSetSimplificator >
CubSetT< P_EuclSet >::CubSetT ( const CubCellSetT< P_EuclSet, P_CubCellSetSimplificator > &  org)
inline

Member Function Documentation

template<typename P_EuclSet >
int CubSetT< P_EuclSet >::acyclicSubspace ( CubSetT< P_EuclSet > &  acSubsp) const
inline
template<typename P_EuclSet >
int CubSetT< P_EuclSet >::embDim ( ) const
inline
template<typename P_EuclSet >
const P_EuclSet& CubSetT< P_EuclSet >::getBaseObject ( ) const
inline
template<typename P_EuclSet >
static bool CubSetT< P_EuclSet >::isSignAcyclic ( uint  s)
inlinestatic

Friends And Related Function Documentation

template<typename P_EuclSet >
void swap ( CubSetT< P_EuclSet > &  A_set1,
CubSetT< P_EuclSet > &  A_set2 
)
friend

Member Data Documentation

template<typename P_EuclSet >
const unsigned int CubSetT< P_EuclSet >::mask = (1 << midBit)-1
static
template<typename P_EuclSet >
const unsigned int CubSetT< P_EuclSet >::midBit =13
static
template<typename P_EuclSet >
BoolBCI_Ptr CubSetT< P_EuclSet >::neighbAcyclicBCI
static
template<typename P_EuclSet >
BoolBI_Ptr CubSetT< P_EuclSet >::neighbAcyclicBI
static
template<typename P_EuclSet >
IntBI_Ptr CubSetT< P_EuclSet >::neighbCyclicBI
static