RobWorkProject
24.8.23-
|
renders Image25D, Scan2D or a simple distance. More...
#include <RenderScan.hpp>
Inherits Render.
Public Types | |
typedef rw::core::Ptr< RenderScan > | Ptr |
smart pointer type to this class | |
Public Types inherited from Render | |
typedef rw::core::Ptr< Render > | Ptr |
smart pointer type to this class | |
typedef DrawableNode::DrawType | DrawType |
when calling render on the draw mode or type can be specified. See DrawableNode::DrawType | |
Public Member Functions | |
RenderScan () | |
constructor | |
RenderScan (const rw::geometry::PointCloud &img) | |
constructor | |
RenderScan (const rw::core::Ptr< rw::sensor::Scanner25DModel > scanner) | |
the renderer will pull the scanner for More... | |
virtual | ~RenderScan () |
destructor | |
void | setScan (const rw::geometry::PointCloud &img) |
set a 2.5 dimensional scan More... | |
void | setScan (float dist) |
set a one dimensional scan More... | |
void | setMinDepth (float depth) |
the minimum depth of the points, where depth is in the negative z-axis direction More... | |
void | setMaxDepth (float depth) |
the maximum depth of the points, where depth is in the negative z-axis direction More... | |
void | draw (const rw::graphics::DrawableNode::RenderInfo &info, rw::graphics::DrawableNode::DrawType type, double alpha) const |
Public Member Functions inherited from Render | |
virtual | ~Render () |
destructor | |
Additional Inherited Members | |
Protected Member Functions inherited from Render | |
Render () | |
Only instances of classes inheriting Render is allowed. | |
renders Image25D, Scan2D or a simple distance.
RenderScan | ( | const rw::core::Ptr< rw::sensor::Scanner25DModel > | scanner | ) |
the renderer will pull the scanner for
scanner |
|
virtual |
info | [in] state and rendering specific info |
type | [in] the drawtype which is being used |
alpha | [in] the alpha value to render with |
Implements Render.
|
inline |
the maximum depth of the points, where depth is in the negative z-axis direction
depth | [in] depth in the negative z-axis direction |
|
inline |
the minimum depth of the points, where depth is in the negative z-axis direction
depth | [in] depth in the negative z-axis direction |
void setScan | ( | const rw::geometry::PointCloud & | img | ) |
set a 2.5 dimensional scan
img |
void setScan | ( | float | dist | ) |
set a one dimensional scan
dist |