DGtal  0.9.4beta
Public Member Functions | Private Attributes
DGtal::concepts::CDynamicSegmentComputer< T > Struct Template Reference

#include <DGtal/geometry/curves/CDynamicSegmentComputer.h>

Inheritance diagram for DGtal::concepts::CDynamicSegmentComputer< T >:
[legend]
Collaboration diagram for DGtal::concepts::CDynamicSegmentComputer< T >:
[legend]

Public Member Functions

 BOOST_CONCEPT_USAGE (CDynamicSegmentComputer)
 
- Public Member Functions inherited from DGtal::concepts::CIncrementalSegmentComputer< T >
 BOOST_CONCEPT_USAGE (CIncrementalSegmentComputer)
 
- Public Member Functions inherited from DGtal::concepts::CSegmentFactory< T >
 BOOST_STATIC_ASSERT ((boost::is_same< T, Self >::value))
 
 BOOST_CONCEPT_USAGE (CSegmentFactory)
 
- Public Member Functions inherited from DGtal::concepts::CSegment< T >
 BOOST_CONCEPT_USAGE (CSegment)
 

Private Attributes

myX
 
bool myB
 

Additional Inherited Members

- Public Types inherited from DGtal::concepts::CSegmentFactory< T >
typedef T::Self Self
 
typedef T::Reverse Reverse
 
- Public Types inherited from DGtal::concepts::CSegment< T >
typedef T::ConstIterator ConstIterator
 

Detailed Description

template<typename T>
struct DGtal::concepts::CDynamicSegmentComputer< T >

Aim: Defines the concept describing a dynamic segment computer, ie. a model of CSegment that can extend and retract itself (in the direction that is relative to the underlying iterator).

Description of concept 'CDynamicSegmentComputer'

Refinement of CForwardSegmentComputer

Associated types : the same as CForwardSegmentComputer

Notation

Definitions

Valid expressions and

Name Expression Type requirements Return type Precondition Semantics Post condition Complexity
Retraction x.retractBack() bool returns 'tru' if ++x.begin() != x.end() (and increments the begin iterator), 'false' otherwise

Invariants

Models

Notes

Template Parameters
Tthe type that should be a model of CDynamicSegmentComputer.

Definition at line 88 of file CDynamicSegmentComputer.h.

Member Function Documentation

template<typename T >
DGtal::concepts::CDynamicSegmentComputer< T >::BOOST_CONCEPT_USAGE ( CDynamicSegmentComputer< T >  )
inline

Field Documentation

template<typename T >
bool DGtal::concepts::CDynamicSegmentComputer< T >::myB
private
template<typename T >
T DGtal::concepts::CDynamicSegmentComputer< T >::myX
private

The documentation for this struct was generated from the following file: