52 #ifndef __PCL_ImageResolution_h 53 #define __PCL_ImageResolution_h 58 #include <pcl/Diagnostics.h> 98 x = xResolution; y = yResolution;
129 PCL_PRECONDITION( x >= 0 )
130 PCL_PRECONDITION( y >= 0 )
157 PCL_PRECONDITION( r >= 0 )
158 xResolution = yResolution =
pcl::Max( 0.0, r );
190 double xResolution = 72;
191 double yResolution = 72;
204 #endif // __PCL_ImageResolution_h double Resolution() const
double VerticalResolution() const
void SetResolution(double r)
double HorizontalResolution() const
constexpr const T & Max(const T &a, const T &b) noexcept
bool IsMetricResolution() const
void SetResolution(double x, double y)
void GetResolution(double &x, double &y)
void SetMetricResolution(bool m)