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

#include <PointData.h>

Inheritance diagram for PointData< Real >:

Public Member Functions

 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

Real normal [3]
 
Real color [3]
 

Detailed Description

template<typename Real>
class PointData< Real >

Definition at line 22 of file PointData.h.

Constructor & Destructor Documentation

◆ PointData() [1/2]

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

Definition at line 24 of file PointData.h.

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

◆ PointData() [2/2]

template<typename 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<typename Real >
PointData PointData< Real >::operator* ( Real  s) const
inline

◆ operator*=()

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

◆ operator+=()

template<typename 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<typename Real >
PointData PointData< Real >::operator/ ( Real  s) const
inline

Member Data Documentation

◆ color

◆ normal


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