PCL
|
Image resolution data More...
#include <ImageResolution.h>
Public Member Functions | |
ImageResolution ()=default | |
ImageResolution (const ImageResolution &)=default | |
void | GetResolution (double &x, double &y) |
double | HorizontalResolution () const |
bool | IsMetricResolution () const |
ImageResolution & | operator= (const ImageResolution &)=default |
double | Resolution () const |
void | SetMetricResolution (bool m) |
void | SetResolution (double r) |
void | SetResolution (double x, double y) |
double | VerticalResolution () const |
Definition at line 71 of file ImageResolution.h.
|
default |
Constructs a default ImageResolution object.
|
default |
Copy constructor.
|
inline |
Gets resolution values for both x and y axes in pixels per resolution unit.
Definition at line 96 of file ImageResolution.h.
|
inline |
Returns the horizontal (X-axis) resolution in pixels per resolution unit.
Definition at line 106 of file ImageResolution.h.
|
inline |
Returns true iff this object express resolution in pixels per centimeter; false if it express resolution in pixels per inch.
Definition at line 167 of file ImageResolution.h.
|
default |
Assignment operator. Returns a reference to this object.
|
inline |
Returns the resolution for both axes, in pixels per resolution unit.
This member function is more meaningful for contexts where separate horizontal and vertical resolutions are not supported.
Definition at line 142 of file ImageResolution.h.
|
inline |
Sets the resolution unit for this ImageResolution object.
m | If true, enables resolution in pixels per centimeter (metric resolution). If false, enables resolution in pixels per inch. |
Definition at line 180 of file ImageResolution.h.
|
inline |
Sets the resolution for both axes, in pixels per resolution unit.
This member function is more meaningful for contexts where separate horizontal and vertical resolutions are not supported.
Definition at line 155 of file ImageResolution.h.
References pcl::Max().
|
inline |
Sets resolution values for both x and y axes in pixels per resolution unit.
Definition at line 127 of file ImageResolution.h.
References pcl::Max().
|
inline |
Returns the vertical (Y-axis) resolution in pixels per resolution unit.
Definition at line 116 of file ImageResolution.h.