29 while (!itnext.
isEnd()) {
34 cerr <<
"GetSteerableViewMapDensityF1D warning: no FEdge between " << i0D.
getId() <<
" and "
35 << i0Dnext.
getId() << endl;
51 vector<float>::iterator
v = values.begin(), vend = values.end();
57 for (;
v != vend; ++
v) {
67 for (;
v != vend; ++
v) {
85 for (;
v != vend; ++
v, ++
size) {
88 res /= (size ?
size : 1);
Functions taking 1D input.
Class to define a canvas designed to draw style modules.
Convenient access to the steerable ViewMap to which any element of the ViewMap belongs to.
ATTR_WARN_UNUSED_RESULT const BMVert * v
static DBVT_INLINE btScalar size(const btDbvtVolume &a)
static Canvas * getInstance()
SteerableViewMap * getSteerableViewMap()
int operator()(Interface1D &inter)
int operator()(Interface1D &inter)
int operator()(Interface1D &inter)
int operator()(Interface1D &inter)
virtual bool isEnd() const
virtual real getProjectedX() const
virtual Geometry::Vec2r getPoint2D() const
virtual FEdge * getFEdge(Interface0D &)
virtual real getProjectedY() const
virtual Interface0DIterator pointsEnd(float t=0.0f)
virtual Interface0DIterator pointsBegin(float t=0.0f)
uint getSVMNumber(Vec2f dir)
float readSteerableViewMapPixel(uint iOrientation, int iLevel, int x, int y)
IntegrationType _integration
T integrate(UnaryFunction0D< T > &fun, Interface0DIterator it, Interface0DIterator it_end, IntegrationType integration_type=MEAN)