Public Member Functions | Public Attributes

lssr::QueryPoint< VertexT > Class Template Reference

A query point for marching cubes reconstructions. It represents a point in space together with a 'distance' value that is used by the marching cubes algorithm. More...

#include <QueryPoint.hpp>

List of all members.

Public Member Functions

 QueryPoint ()
 Default constructor.
 QueryPoint (VertexT v)
 Constructor.
 QueryPoint (VertexT v, float f)
 Constructor.
 QueryPoint (const QueryPoint &o)
 Copy constructor.
virtual ~QueryPoint ()
 Destructor.

Public Attributes

VertexT m_position
 The position of the query point.
float m_distance
 The associated distance value.

Detailed Description

template<typename VertexT>
class lssr::QueryPoint< VertexT >

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

Definition at line 21 of file QueryPoint.hpp.


Constructor & Destructor Documentation

template<typename VertexT >
lssr::QueryPoint< VertexT >::QueryPoint (  ) 

Default constructor.

template<typename VertexT >
lssr::QueryPoint< VertexT >::QueryPoint ( VertexT  v  ) 

Constructor.

Parameters:
v The position of the query point. The distance value is set to 0
template<typename VertexT >
lssr::QueryPoint< VertexT >::QueryPoint ( VertexT  v,
float  f 
)

Constructor.

Parameters:
v The position of the query point.
f The distance value for the query point.
template<typename VertexT >
lssr::QueryPoint< VertexT >::QueryPoint ( const QueryPoint< VertexT > &  o  ) 

Copy constructor.

Parameters:
o 
Returns:
template<typename VertexT >
virtual lssr::QueryPoint< VertexT >::~QueryPoint (  )  [inline, virtual]

Destructor.

Definition at line 55 of file QueryPoint.hpp.


Member Data Documentation

template<typename VertexT >
float lssr::QueryPoint< VertexT >::m_distance

The associated distance value.

Definition at line 61 of file QueryPoint.hpp.

template<typename VertexT >
VertexT lssr::QueryPoint< VertexT >::m_position

The position of the query point.

Definition at line 55 of file QueryPoint.hpp.


The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs Defines