ImFusion C++ SDK 4.4.0
ImFusion::SimulatorFrame Class Reference

#include <RGBD/Include/ImFusion/RGBD/SimulatorRenderer.h>

Container for a rendered simulator frame of the SimulatorRenderer. More...

Detailed Description

Container for a rendered simulator frame of the SimulatorRenderer.

Holds color, depth, label, and object coordinate images generated by the simulator. Provides access to each image type.

Usage:

  • Construct with raw or unique pointers to image data.
  • Use accessor methods to retrieve each image.

Important aspects:

  • Ownership of images is managed via unique_ptr.
  • Not thread-safe.

See also: SimulatorRenderer

Public Member Functions

 SimulatorFrame (TypedImage< unsigned char > *colorImage, TypedImage< float > *depthImage, TypedImage< unsigned char > *labelImage, TypedImage< float > *objectCoordinatesImage)
 Constructs a SimulatorFrame from raw image pointers.
 SimulatorFrame (std::unique_ptr< TypedImage< unsigned char > > colorImage, std::unique_ptr< TypedImage< float > > depthImage, std::unique_ptr< TypedImage< unsigned char > > labelImage, std::unique_ptr< TypedImage< float > > objectCoordinatesImage)
 Constructs a SimulatorFrame from unique image pointers.
 ~SimulatorFrame ()
 Destructor.
const TypedImage< unsigned char > * colorImage () const
 Returns the color image.
const TypedImage< float > * depthImage () const
 Returns the depth image.
const TypedImage< unsigned char > * labelImage () const
 Returns the label image.
const TypedImage< float > * objectCoordinatesImage () const
 Returns the object coordinates image.

The documentation for this class was generated from the following file:
  • RGBD/Include/ImFusion/RGBD/SimulatorRenderer.h
Search Tab / S to search, Esc to close