RobWorkProject  24.5.15-
Public Types | Public Member Functions | List of all members
RenderScan Class Reference

renders Image25D, Scan2D or a simple distance. More...

#include <RenderScan.hpp>

Inherits Render.

Public Types

typedef rw::core::Ptr< RenderScanPtr
 smart pointer type to this class
 
- Public Types inherited from Render
typedef rw::core::Ptr< RenderPtr
 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.
 

Detailed Description

renders Image25D, Scan2D or a simple distance.

Constructor & Destructor Documentation

◆ RenderScan()

the renderer will pull the scanner for

Parameters
scanner
Returns

Member Function Documentation

◆ draw()

void draw ( const rw::graphics::DrawableNode::RenderInfo info,
rw::graphics::DrawableNode::DrawType  type,
double  alpha 
) const
virtual

Parameters
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.

◆ setMaxDepth()

void setMaxDepth ( float  depth)
inline

the maximum depth of the points, where depth is in the negative z-axis direction

Parameters
depth[in] depth in the negative z-axis direction

◆ setMinDepth()

void setMinDepth ( float  depth)
inline

the minimum depth of the points, where depth is in the negative z-axis direction

Parameters
depth[in] depth in the negative z-axis direction

◆ setScan() [1/2]

void setScan ( const rw::geometry::PointCloud img)

set a 2.5 dimensional scan

Parameters
img

◆ setScan() [2/2]

void setScan ( float  dist)

set a one dimensional scan

Parameters
dist

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