contourLine.h File Reference

Go to the source code of this file.

Classes

class  BALL::TContourLine< T >

Namespaces

namespace  BALL

Defines

#define INTERPOL12
#define INTERPOL18
#define INTERPOL24
#define INTERPOL48

Typedefs

typedef TContourLine< floatBALL::ContourLine

Define Documentation

#define INTERPOL12
Value:
{ \
            vec = from.getCoordinates(from.getClosestIndex(Vector2(act_cell_x, act_cell_y)));\
            d1  = from[act_cell_x + act_cell_y*(number_of_cells_x+1)];\
            d2  = from[act_cell_x + 1 + act_cell_y*(number_of_cells_x+1)];\
            vec2 = from.getCoordinates(from.getClosestIndex(Vector2(act_cell_x + 1, act_cell_y + 1)));\
            slope = (d2 - d1) / (vec2.x - vec.x);\
            vec.x += (threshold - d1)/slope;\
            data_.push_back(vec);\
  }

Definition at line 22 of file contourLine.h.

#define INTERPOL18
Value:
{ \
            vec = from.getCoordinates(from.getClosestIndex(Vector2(act_cell_x, act_cell_y)));\
            d1  = from[act_cell_x + act_cell_y*(number_of_cells_x+1)];\
            d2  = from[act_cell_x + (act_cell_y+1)*(number_of_cells_x+1)];\
            vec2 = from.getCoordinates(from.getClosestIndex(Vector2(act_cell_x, act_cell_y+1)));\
            slope = (d2 - d1) / (vec2.y - vec.y);\
            vec.y += (threshold - d1)/slope;\
            data_.push_back(vec);\
  }

Definition at line 32 of file contourLine.h.

#define INTERPOL24
Value:
{  \
            vec = from.getCoordinates(from.getClosestIndex(Vector2(act_cell_x+1, act_cell_y)));\
            d1  = from[act_cell_x+1 + act_cell_y*(number_of_cells_x+1)];\
            d2  = from[act_cell_x+1 + (act_cell_y+1)*(number_of_cells_x+1)];\
            vec2 = from.getCoordinates(from.getClosestIndex(Vector2(act_cell_x+1, act_cell_y+1)));\
            slope = (d2 - d1) / (vec2.y - vec.y);\
            vec.y += (threshold - d1)/slope;\
            data_.push_back(vec);\
  }

Definition at line 42 of file contourLine.h.

#define INTERPOL48
Value:
{  \
            vec = from.getCoordinates(from.getClosestIndex(Vector2(act_cell_x+1, act_cell_y+1)));\
            d1  = from[act_cell_x+1 + (act_cell_y+2)*(number_of_cells_x+1)];\
            d2  = from[act_cell_x   + (act_cell_y+1)*(number_of_cells_x+1)];\
            vec2 = from.getCoordinates(from.getClosestIndex(Vector2(act_cell_x, act_cell_y+1)));\
            slope = (d2 - d1) / (vec2.x - vec.x);\
            vec.x += (threshold - d1)/slope;\
            data_.push_back(vec);\
  }

Definition at line 53 of file contourLine.h.

Generated by  doxygen 1.6.3