Template Class QueryPoint

Class Documentation

template<typename BaseVecT>
class QueryPoint

A query Vector for marching cubes reconstructions. It represents a Vector in space together with a ‘distance’ value that is used by the marching cubes algorithm.

Public Functions

QueryPoint()

Default constructor.

QueryPoint(const BaseVecT &p)

Constructor.

Parameters:

p – The position of the query Vector. The distance value is set to 0

QueryPoint(const BaseVecT &p, float f)

Constructor.

Parameters:
  • p – The position of the query Vector.

  • f – The distance value for the query Vector.

QueryPoint(const QueryPoint &o)

Copy constructor.

Parameters:

o

Returns:

inline virtual ~QueryPoint()

Destructor.

Public Members

BaseVecT m_position

The position of the query Vector.

float m_distance

The associated distance value.

bool m_invalid

Indicates if the query Vector is valid.