ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
PointData< Real > Class Template Reference

#include <MultiGridOctreeData.h>

Inheritance diagram for PointData< Real >:

Public Member Functions

 PointData (Point3D< Real > p=Point3D< Real >(), Real w=0)
 
 PointData ()
 
 PointData (const Real _normal[3], const Real _color[3], Real scale=1.0)
 
PointData operator* (Real s) const
 
PointData operator/ (Real s) const
 
PointDataoperator+= (const PointData &d)
 
PointDataoperator*= (Real s)
 

Public Attributes

Point3D< Real > position
 
Real weightedCoarserDValue
 
Real weight
 
Real normal [3]
 
Real color [3]
 

Detailed Description

template<class Real>
class PointData< Real >

Definition at line 237 of file MultiGridOctreeData.h.

Constructor & Destructor Documentation

◆ PointData() [1/3]

template<class Real >
PointData< Real >::PointData ( Point3D< Real >  p = Point3D< Real >(),
Real  w = 0 
)
inline

◆ PointData() [2/3]

template<class Real >
PointData< Real >::PointData ( )
inline

Definition at line 24 of file PointData.h.

Referenced by PointData< Real >::operator*(), and PointData< Real >::operator/().

◆ PointData() [3/3]

template<class Real >
PointData< Real >::PointData ( const Real  _normal[3],
const Real  _color[3],
Real  scale = 1.0 
)
inline

Definition at line 25 of file PointData.h.

References PointData< Real >::color, and PointData< Real >::normal.

Member Function Documentation

◆ operator*()

template<class Real >
PointData PointData< Real >::operator* ( Real  s) const
inline

◆ operator*=()

template<class Real >
PointData& PointData< Real >::operator*= ( Real  s)
inline

◆ operator+=()

template<class Real >
PointData& PointData< Real >::operator+= ( const PointData< Real > &  d)
inline

Definition at line 40 of file PointData.h.

References PointData< Real >::color, and PointData< Real >::normal.

Referenced by Vertex< _Real >::operator+=().

◆ operator/()

template<class Real >
PointData PointData< Real >::operator/ ( Real  s) const
inline

Member Data Documentation

◆ color

◆ normal

◆ position

template<class Real >
Point3D< Real > PointData< Real >::position

Definition at line 239 of file MultiGridOctreeData.h.

Referenced by PointData< Real >::PointData().

◆ weight

template<class Real >
Real PointData< Real >::weight

Definition at line 241 of file MultiGridOctreeData.h.

Referenced by PointData< Real >::PointData().

◆ weightedCoarserDValue

template<class Real >
Real PointData< Real >::weightedCoarserDValue

Definition at line 240 of file MultiGridOctreeData.h.

Referenced by PointData< Real >::PointData().


The documentation for this class was generated from the following files: