Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes | Friends
vipl_section_container< DataType > Class Template Reference

#include <vipl_section_container.h>

Inheritance diagram for vipl_section_container< DataType >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef
vipl_section_descriptor
< DataType > 
value_type
typedef
vipl_section_descriptor
< DataType > & 
reference
typedef const
vipl_section_descriptor
< DataType > & 
const_reference
typedef
vipl_section_descriptor
< DataType > * 
pointer
typedef vipl_section_iterator
< DataType > 
iterator
typedef const
vipl_section_iterator
< DataType > 
const_iterator
typedef vcl_ptrdiff_t difference_type
typedef vcl_size_t size_type

Public Member Functions

 vipl_section_container (vipl_section_container< DataType > *pt)
 vipl_section_container (const vipl_section_container< DataType > *pt, int t)
virtual ~vipl_section_container ()
 vipl_section_container ()
 vipl_section_container (const vipl_section_container< DataType > &)
virtual vipl_section_iterator
< DataType > 
begin ()
virtual vipl_section_iterator
< DataType > 
end ()
virtual const
vipl_section_iterator
< DataType > 
begin () const
virtual const
vipl_section_iterator
< DataType > 
end () const
virtual bool operator== (const vipl_section_container< DataType > &b) const
virtual bool operator!= (const vipl_section_container< DataType > &b) const
virtual vipl_section_container
< DataType > & 
operator= (const vipl_section_container< DataType > &b)
virtual int size () const
virtual int max_size () const
virtual bool empty ()
virtual bool operator< (const vipl_section_container< DataType > &b) const
virtual bool operator> (const vipl_section_container< DataType > &b) const
virtual bool operator<= (const vipl_section_container< DataType > &b) const
virtual bool operator>= (const vipl_section_container< DataType > &b) const
virtual void swap (const vipl_section_container< DataType > &b) const
virtual int image_start (int axis) const
virtual int image_size (int axis) const
virtual int image_end (int axis) const
virtual int section_size (int axis) const
virtual bool is_pointer_safe () const
vipl_section_container
< DataType > * 
the () const
vipl_section_container
< DataType > *& 
ref_the ()
void put_the (vipl_section_container< DataType > *v)
vcl_vector< int > const & imgsz () const
vcl_vector< int > & ref_imgsz ()
void put_imgsz (vcl_vector< int > const &v)
vcl_vector< int > const & imgstart () const
vcl_vector< int > & ref_imgstart ()
void put_imgstart (vcl_vector< int > const &v)
vcl_vector< int > const & secsz () const
vcl_vector< int > & ref_secsz ()
void put_secsz (vcl_vector< int > const &v)
vcl_vector< int > const & overlap () const
vcl_vector< int > & ref_overlap ()
void put_overlap (vcl_vector< int > const &v)
DataType * rawdata () const
DataType *& ref_rawdata ()
void put_rawdata (DataType *v)
const void * imgptr () const
const void *& ref_imgptr ()
void put_imgptr (const void *v)
int refcount () const
int inc_refcount ()
int dec_refcount ()

Protected Member Functions

virtual bool next_section (vipl_section_descriptor< DataType > &in_out) const
virtual vipl_section_container
< DataType > * 
virtual_copy () const

Protected Attributes

vipl_section_container
< DataType > * 
hsthe
vcl_vector< int > hsimgsz
vcl_vector< int > hsimgstart
vcl_vector< int > hssecsz
vcl_vector< int > hsoverlap
DataType * hsrawdata
const void * hsimgptr

Private Attributes

int refcount_

Friends

class vipl_section_descriptor< DataType >
class vipl_section_iterator< DataType >

Detailed Description

template<class DataType>
class vipl_section_container< DataType >

Definition at line 15 of file vipl_section_container.h.


Member Typedef Documentation

template<class DataType>
typedef const vipl_section_iterator< DataType > vipl_section_container< DataType >::const_iterator

Definition at line 26 of file vipl_section_container.h.

template<class DataType>
typedef const vipl_section_descriptor< DataType >& vipl_section_container< DataType >::const_reference

Definition at line 23 of file vipl_section_container.h.

template<class DataType>
typedef vcl_ptrdiff_t vipl_section_container< DataType >::difference_type

Definition at line 27 of file vipl_section_container.h.

template<class DataType>
typedef vipl_section_iterator< DataType > vipl_section_container< DataType >::iterator

Definition at line 25 of file vipl_section_container.h.

template<class DataType>
typedef vipl_section_descriptor< DataType >* vipl_section_container< DataType >::pointer

Definition at line 24 of file vipl_section_container.h.

template<class DataType>
typedef vipl_section_descriptor< DataType >& vipl_section_container< DataType >::reference

Definition at line 22 of file vipl_section_container.h.

template<class DataType>
typedef vcl_size_t vipl_section_container< DataType >::size_type

Definition at line 28 of file vipl_section_container.h.

template<class DataType>
typedef vipl_section_descriptor< DataType > vipl_section_container< DataType >::value_type

Definition at line 21 of file vipl_section_container.h.


Constructor & Destructor Documentation

template<class DataType>
vipl_section_container< DataType >::vipl_section_container ( vipl_section_container< DataType > *  pt)

Definition at line 13 of file vipl_section_container.txx.

template<class DataType>
vipl_section_container< DataType >::vipl_section_container ( const vipl_section_container< DataType > *  pt,
int  t 
)

Definition at line 26 of file vipl_section_container.txx.

template<class DataType >
vipl_section_container< DataType >::~vipl_section_container ( ) [virtual]

Definition at line 40 of file vipl_section_container.txx.

template<class DataType>
vipl_section_container< DataType >::vipl_section_container ( )

Definition at line 47 of file vipl_section_container.txx.

template<class DataType>
vipl_section_container< DataType >::vipl_section_container ( const vipl_section_container< DataType > &  t)

Definition at line 60 of file vipl_section_container.txx.


Member Function Documentation

template<class DataType >
vipl_section_iterator< DataType > vipl_section_container< DataType >::begin ( ) [virtual]

Definition at line 81 of file vipl_section_container.txx.

template<class DataType >
const vipl_section_iterator< DataType > vipl_section_container< DataType >::begin ( ) const [virtual]

Definition at line 108 of file vipl_section_container.txx.

template<class DataType>
int vipl_section_container< DataType >::dec_refcount ( ) [inline]

Definition at line 156 of file vipl_section_container.h.

template<class DataType >
bool vipl_section_container< DataType >::empty ( ) [virtual]

Definition at line 175 of file vipl_section_container.txx.

template<class DataType >
vipl_section_iterator< DataType > vipl_section_container< DataType >::end ( ) [virtual]

Definition at line 100 of file vipl_section_container.txx.

template<class DataType >
const vipl_section_iterator< DataType > vipl_section_container< DataType >::end ( ) const [virtual]

Definition at line 126 of file vipl_section_container.txx.

template<class DataType >
int vipl_section_container< DataType >::image_end ( int  axis) const [virtual]

Definition at line 368 of file vipl_section_container.txx.

template<class DataType >
int vipl_section_container< DataType >::image_size ( int  axis) const [virtual]

Definition at line 358 of file vipl_section_container.txx.

template<class DataType >
int vipl_section_container< DataType >::image_start ( int  axis) const [virtual]

Definition at line 348 of file vipl_section_container.txx.

template<class DataType>
const void* vipl_section_container< DataType >::imgptr ( ) const [inline]

Definition at line 148 of file vipl_section_container.h.

template<class DataType>
vcl_vector< int > const& vipl_section_container< DataType >::imgstart ( ) const [inline]

Definition at line 136 of file vipl_section_container.h.

template<class DataType>
vcl_vector< int > const& vipl_section_container< DataType >::imgsz ( ) const [inline]

Definition at line 133 of file vipl_section_container.h.

template<class DataType>
int vipl_section_container< DataType >::inc_refcount ( ) [inline]

Definition at line 155 of file vipl_section_container.h.

template<class DataType >
bool vipl_section_container< DataType >::is_pointer_safe ( ) const [virtual]

Definition at line 390 of file vipl_section_container.txx.

template<class DataType >
int vipl_section_container< DataType >::max_size ( ) const [virtual]

Definition at line 171 of file vipl_section_container.txx.

template<class DataType>
bool vipl_section_container< DataType >::next_section ( vipl_section_descriptor< DataType > &  in_out) const [protected, virtual]

Definition at line 222 of file vipl_section_container.txx.

template<class DataType>
bool vipl_section_container< DataType >::operator!= ( const vipl_section_container< DataType > &  b) const [virtual]

Definition at line 145 of file vipl_section_container.txx.

template<class DataType>
bool vipl_section_container< DataType >::operator< ( const vipl_section_container< DataType > &  b) const [virtual]

Definition at line 181 of file vipl_section_container.txx.

template<class DataType>
bool vipl_section_container< DataType >::operator<= ( const vipl_section_container< DataType > &  b) const [virtual]

Definition at line 195 of file vipl_section_container.txx.

template<class DataType>
vipl_section_container< DataType > & vipl_section_container< DataType >::operator= ( const vipl_section_container< DataType > &  b) [virtual]

Definition at line 151 of file vipl_section_container.txx.

template<class DataType>
bool vipl_section_container< DataType >::operator== ( const vipl_section_container< DataType > &  b) const [virtual]

Definition at line 135 of file vipl_section_container.txx.

template<class DataType>
bool vipl_section_container< DataType >::operator> ( const vipl_section_container< DataType > &  b) const [virtual]

Definition at line 188 of file vipl_section_container.txx.

template<class DataType>
bool vipl_section_container< DataType >::operator>= ( const vipl_section_container< DataType > &  b) const [virtual]

Definition at line 202 of file vipl_section_container.txx.

template<class DataType>
vcl_vector< int > const& vipl_section_container< DataType >::overlap ( ) const [inline]

Definition at line 142 of file vipl_section_container.h.

template<class DataType>
void vipl_section_container< DataType >::put_imgptr ( const void *  v) [inline]

Definition at line 150 of file vipl_section_container.h.

template<class DataType>
void vipl_section_container< DataType >::put_imgstart ( vcl_vector< int > const &  v) [inline]

Definition at line 138 of file vipl_section_container.h.

template<class DataType>
void vipl_section_container< DataType >::put_imgsz ( vcl_vector< int > const &  v) [inline]

Definition at line 135 of file vipl_section_container.h.

template<class DataType>
void vipl_section_container< DataType >::put_overlap ( vcl_vector< int > const &  v) [inline]

Definition at line 144 of file vipl_section_container.h.

template<class DataType>
void vipl_section_container< DataType >::put_rawdata ( DataType *  v) [inline]

Definition at line 147 of file vipl_section_container.h.

template<class DataType>
void vipl_section_container< DataType >::put_secsz ( vcl_vector< int > const &  v) [inline]

Definition at line 141 of file vipl_section_container.h.

template<class DataType>
void vipl_section_container< DataType >::put_the ( vipl_section_container< DataType > *  v) [inline]

Definition at line 132 of file vipl_section_container.h.

template<class DataType>
DataType* vipl_section_container< DataType >::rawdata ( ) const [inline]

Definition at line 145 of file vipl_section_container.h.

template<class DataType>
const void* & vipl_section_container< DataType >::ref_imgptr ( ) [inline]

Definition at line 149 of file vipl_section_container.h.

template<class DataType>
vcl_vector< int >& vipl_section_container< DataType >::ref_imgstart ( ) [inline]

Definition at line 137 of file vipl_section_container.h.

template<class DataType>
vcl_vector< int >& vipl_section_container< DataType >::ref_imgsz ( ) [inline]

Definition at line 134 of file vipl_section_container.h.

template<class DataType>
vcl_vector< int >& vipl_section_container< DataType >::ref_overlap ( ) [inline]

Definition at line 143 of file vipl_section_container.h.

template<class DataType>
DataType* & vipl_section_container< DataType >::ref_rawdata ( ) [inline]

Definition at line 146 of file vipl_section_container.h.

template<class DataType>
vcl_vector< int >& vipl_section_container< DataType >::ref_secsz ( ) [inline]

Definition at line 140 of file vipl_section_container.h.

template<class DataType>
vipl_section_container< DataType >* & vipl_section_container< DataType >::ref_the ( ) [inline]

Definition at line 131 of file vipl_section_container.h.

template<class DataType>
int vipl_section_container< DataType >::refcount ( ) const [inline]

Definition at line 154 of file vipl_section_container.h.

template<class DataType>
vcl_vector< int > const& vipl_section_container< DataType >::secsz ( ) const [inline]

Definition at line 139 of file vipl_section_container.h.

template<class DataType >
int vipl_section_container< DataType >::section_size ( int  axis) const [virtual]

Definition at line 381 of file vipl_section_container.txx.

template<class DataType >
int vipl_section_container< DataType >::size ( ) const [virtual]

Definition at line 164 of file vipl_section_container.txx.

template<class DataType>
void vipl_section_container< DataType >::swap ( const vipl_section_container< DataType > &  b) const [virtual]

Definition at line 209 of file vipl_section_container.txx.

template<class DataType>
vipl_section_container< DataType >* vipl_section_container< DataType >::the ( ) const [inline]

Definition at line 130 of file vipl_section_container.h.

template<class DataType >
vipl_section_container< DataType > * vipl_section_container< DataType >::virtual_copy ( ) const [protected, virtual]

Definition at line 398 of file vipl_section_container.txx.


Friends And Related Function Documentation

template<class DataType>
friend class vipl_section_descriptor< DataType > [friend]

Definition at line 17 of file vipl_section_container.h.

template<class DataType>
friend class vipl_section_iterator< DataType > [friend]

Definition at line 18 of file vipl_section_container.h.


Member Data Documentation

template<class DataType>
const void* vipl_section_container< DataType >::hsimgptr [protected]

Definition at line 43 of file vipl_section_container.h.

template<class DataType>
vcl_vector< int > vipl_section_container< DataType >::hsimgstart [protected]

Definition at line 35 of file vipl_section_container.h.

template<class DataType>
vcl_vector< int > vipl_section_container< DataType >::hsimgsz [protected]

Definition at line 33 of file vipl_section_container.h.

template<class DataType>
vcl_vector< int > vipl_section_container< DataType >::hsoverlap [protected]

Definition at line 39 of file vipl_section_container.h.

template<class DataType>
DataType* vipl_section_container< DataType >::hsrawdata [protected]

Definition at line 41 of file vipl_section_container.h.

template<class DataType>
vcl_vector< int > vipl_section_container< DataType >::hssecsz [protected]

Definition at line 37 of file vipl_section_container.h.

template<class DataType>
vipl_section_container< DataType >* vipl_section_container< DataType >::hsthe [protected]

Definition at line 31 of file vipl_section_container.h.

template<class DataType>
int vipl_section_container< DataType >::refcount_ [private]

Definition at line 153 of file vipl_section_container.h.


The documentation for this class was generated from the following files: