Ponca  94e4a36411c3364f6192f97adfa8ceee67834d6e
Point Cloud Analysis library
Loading...
Searching...
No Matches
Ponca::HeightField< DataPoint, _NFilter, T > Class Template Reference

Internal base classe for height fields. More...

#include <heightField.h>

+ Inheritance diagram for Ponca::HeightField< DataPoint, _NFilter, T >:
+ Collaboration diagram for Ponca::HeightField< DataPoint, _NFilter, T >:

Public Types

using Scalar = typename DataPoint::Scalar
 Alias to scalar type.
 
using VectorType = typename Base::VectorType
 Alias to vector type.
 
using NeighborFilter = typename Base::NeighborFilter
 Alias to the filter applied on the neighbors.
 

Protected Types

enum  { PROVIDES_HEIGHTFIELD }
 
using Base = T
 Base class of the procedure.
 

Protected Member Functions

const ScalargetHFromLocalCoordinates (const VectorType &_lq) const
 get access to height from local coordinate vector
 
ScalargetHFromLocalCoordinates (VectorType &_lq) const
 get access to height from local coordinate vector
 
const ScalargetUFromLocalCoordinates (const VectorType &_lq) const
 get access to u from local coordinate vector
 
ScalargetUFromLocalCoordinates (VectorType &_lq) const
 get access to u from local coordinate vector
 
const ScalargetVFromLocalCoordinates (const VectorType &_lq) const
 get access to v from local coordinate vector
 
ScalargetVFromLocalCoordinates (VectorType &_lq)
 get access to v from local coordinate vector
 

Detailed Description

template<class DataPoint, class _NFilter, typename T>
class Ponca::HeightField< DataPoint, _NFilter, T >

Internal base classe for height fields.

Provides protected convenience methods for heightfields

This primitive provides:

PROVIDES_HEIGHTFIELD 

Definition at line 24 of file heightField.h.

Member Typedef Documentation

◆ Base

template<class DataPoint , class _NFilter , typename T >
using Ponca::HeightField< DataPoint, _NFilter, T >::Base = T
protected

Base class of the procedure.

Definition at line 26 of file heightField.h.

◆ NeighborFilter

template<class DataPoint , class _NFilter , typename T >
using Ponca::HeightField< DataPoint, _NFilter, T >::NeighborFilter = typename Base::NeighborFilter

Alias to the filter applied on the neighbors.

Definition at line 26 of file heightField.h.

◆ Scalar

template<class DataPoint , class _NFilter , typename T >
using Ponca::HeightField< DataPoint, _NFilter, T >::Scalar = typename DataPoint::Scalar

Alias to scalar type.

Definition at line 26 of file heightField.h.

◆ VectorType

template<class DataPoint , class _NFilter , typename T >
using Ponca::HeightField< DataPoint, _NFilter, T >::VectorType = typename Base::VectorType

Alias to vector type.

Definition at line 26 of file heightField.h.

Member Enumeration Documentation

◆ anonymous enum

template<class DataPoint , class _NFilter , typename T >
anonymous enum
protected
Enumerator
PROVIDES_HEIGHTFIELD 

Provides generic heightfield API.

Definition at line 29 of file heightField.h.

Member Function Documentation

◆ getHFromLocalCoordinates() [1/2]

template<class DataPoint , class _NFilter , typename T >
const Scalar & Ponca::HeightField< DataPoint, _NFilter, T >::getHFromLocalCoordinates ( const VectorType _lq) const
inlineprotected

get access to height from local coordinate vector

Definition at line 34 of file heightField.h.

◆ getHFromLocalCoordinates() [2/2]

template<class DataPoint , class _NFilter , typename T >
Scalar & Ponca::HeightField< DataPoint, _NFilter, T >::getHFromLocalCoordinates ( VectorType _lq) const
inlineprotected

get access to height from local coordinate vector

Definition at line 38 of file heightField.h.

◆ getUFromLocalCoordinates() [1/2]

template<class DataPoint , class _NFilter , typename T >
const Scalar & Ponca::HeightField< DataPoint, _NFilter, T >::getUFromLocalCoordinates ( const VectorType _lq) const
inlineprotected

get access to u from local coordinate vector

Definition at line 42 of file heightField.h.

◆ getUFromLocalCoordinates() [2/2]

template<class DataPoint , class _NFilter , typename T >
Scalar & Ponca::HeightField< DataPoint, _NFilter, T >::getUFromLocalCoordinates ( VectorType _lq) const
inlineprotected

get access to u from local coordinate vector

Definition at line 46 of file heightField.h.

◆ getVFromLocalCoordinates() [1/2]

template<class DataPoint , class _NFilter , typename T >
const Scalar & Ponca::HeightField< DataPoint, _NFilter, T >::getVFromLocalCoordinates ( const VectorType _lq) const
inlineprotected

get access to v from local coordinate vector

Definition at line 50 of file heightField.h.

◆ getVFromLocalCoordinates() [2/2]

template<class DataPoint , class _NFilter , typename T >
Scalar & Ponca::HeightField< DataPoint, _NFilter, T >::getVFromLocalCoordinates ( VectorType _lq)
inlineprotected

get access to v from local coordinate vector

Definition at line 54 of file heightField.h.