37#include "DGtal/base/Common.h"
38#include "DGtal/kernel/SpaceND.h"
39#include "DGtal/kernel/domains/HyperRectDomain.h"
40#include "DGtal/images/ImageContainerBySTLVector.h"
49 typedef Space3Type::Point
Point;
53 const Point::Component t[ ] = { 0, 0, 0};
54 const Point::Component t2[ ] = { 5, 5, 5};
55 const Point::Component t3[ ] = { 0, 0, 0};
61 TContainerV myImageV ( TDomain(a,b ));
65 for ( TContainerV::Iterator it = myImageV.begin();
76 for ( TContainerV::SpanIterator it = myImageV.spanBegin(c,0), itend = myImageV.spanEnd(c,0);
84 for ( TContainerV::SpanIterator it = myImageV.spanBegin(c,1), itend = myImageV.spanEnd(c,1);
92 for ( TContainerV::SpanIterator it = myImageV.spanBegin(c,2), itend = myImageV.spanEnd(c,2);
100 trace.
info()<<
"SetValue Slice dim 1 "<<endl;
101 for ( TContainerV::SpanIterator it = myImageV.spanBegin(c,1), itend = myImageV.spanEnd(c,1);
104 myImageV.setValue(it, 12);
108 for ( TContainerV::SpanIterator it = myImageV.spanBegin(c,1), itend = myImageV.spanEnd(c,1);
Aim: Parallelepidec region of a digital space, model of a 'CDomain'.
void beginBlock(const std::string &keyword="")
DGtal is the top-level namespace which contains all DGtal functions and types.