NVIDIA DeepLearning Dataset Synthesizer (NDDS)
 All Classes Namespaces Functions Variables Typedefs Pages
UNVSceneDataExporter Class Reference

NVSceneDataExporter - export all the captured data (image buffer and object annotation info) to files on disk. More...

+ Inheritance diagram for UNVSceneDataExporter:
+ Collaboration diagram for UNVSceneDataExporter:

Public Member Functions

virtual bool CanHandleMoreData () const override
 Check whether this handler can process more scene data If it can't then we should stop getting more data until it's available again. More...
 
FString GetConfiguredOutputDirectoryName () const
 
FString GetConfiguredOutputDirectoryPath () const
 
FString GetExportFilePath (class UNVSceneFeatureExtractor *CapturedFeatureExtractor, UNVSceneCapturerViewpointComponent *CapturedViewpoint, int32 FrameIndex, const FString &FileExtension) const
 
virtual FString GetExportFolderName () const
 
FString GetFullOutputDirectoryPath () const
 
FString GetRootCaptureDirectoryPath () const
 
virtual FString GetSubFolderName () const
 
virtual bool HandleSceneAnnotationData (const TSharedPtr< FJsonObject > &CapturedData, class UNVSceneFeatureExtractor_AnnotationData *CapturedFeatureExtractor, class UNVSceneCapturerViewpointComponent *CapturedViewpoint, int32 FrameIndex) override
 Handle the annotation data captured from the scene. More...
 
virtual bool HandleScenePixelsData (const FNVTexturePixelData &CapturedPixelData, UNVSceneFeatureExtractor_PixelData *CapturedFeatureExtractor, UNVSceneCapturerViewpointComponent *CapturedViewpoint, int32 FrameIndex) override
 Handle the pixels data captured from the scene. More...
 
virtual bool IsHandlingData () const override
 
virtual void OnCapturingCompleted () override
 
virtual void OnStartCapturingSceneData () override
 
virtual void OnStopCapturingSceneData () override
 
void SetSubFolderName (const FString &NewSubFolderName)
 

Public Attributes

bool bUseMapNameForCapturedDirectory
 If true, the exporter will use the current map's name for the export folder, otherwise it will use the ExportFolderName NOTE: If ExportFolderName is empty, it will fallback to use the map's name. More...
 
FString CustomDirectoryName
 

Protected Member Functions

void ExportCapturerSettings ()
 

Protected Attributes

bool bAutoOpenExportedDirectory
 If true, this exporter will automatically open the exported directory after it finish exporting. More...
 
ENVCaptureDirectoryConflictHandleType DirectoryConflictHandleType
 How to handle conflict files. More...
 
FString FullOutputDirectoryPath
 
TUniquePtr
< FNVImageExporter_Thread
ImageExporterThread
 
IImageWrapperModule * ImageWrapperModule
 
uint32 MaxSaveImageAsyncCount
 
FDirectoryPath RootCapturedDirectoryPath
 Path to the directory where to save captured data. More...
 
FString SubFolderName
 

Static Protected Attributes

static const FString DefaultDataOutputFolder
 

Detailed Description

NVSceneDataExporter - export all the captured data (image buffer and object annotation info) to files on disk.

Definition at line 81 of file NVSceneDataHandler.h.

Member Function Documentation

virtual bool UNVSceneDataExporter::CanHandleMoreData ( ) const
overridevirtual

Check whether this handler can process more scene data If it can't then we should stop getting more data until it's available again.

Reimplemented from UNVSceneDataHandler.

virtual bool UNVSceneDataExporter::HandleSceneAnnotationData ( const TSharedPtr< FJsonObject > &  CapturedData,
class UNVSceneFeatureExtractor_AnnotationData CapturedFeatureExtractor,
class UNVSceneCapturerViewpointComponent CapturedViewpoint,
int32  FrameIndex 
)
overridevirtual

Handle the annotation data captured from the scene.

Parameters
CapturedData- The scene's annotated data
CapturedFeatureExtractor- The feature extractor which captured the data
CapturedViewpoint- The viewpoint which captured the data
FrameIndex- The frame when the data is captured

Reimplemented from UNVSceneDataHandler.

virtual bool UNVSceneDataExporter::HandleScenePixelsData ( const FNVTexturePixelData CapturedPixelData,
UNVSceneFeatureExtractor_PixelData CapturedFeatureExtractor,
UNVSceneCapturerViewpointComponent CapturedViewpoint,
int32  FrameIndex 
)
overridevirtual

Handle the pixels data captured from the scene.

Parameters
CapturedPixelData- The scene's pixels data
CapturedFeatureExtractor- The feature extractor which captured the data
CapturedViewpoint- The viewpoint which captured the data
FrameIndex- The frame when the data is captured

Reimplemented from UNVSceneDataHandler.

Member Data Documentation

bool UNVSceneDataExporter::bAutoOpenExportedDirectory
protected

If true, this exporter will automatically open the exported directory after it finish exporting.

Definition at line 164 of file NVSceneDataHandler.h.

bool UNVSceneDataExporter::bUseMapNameForCapturedDirectory

If true, the exporter will use the current map's name for the export folder, otherwise it will use the ExportFolderName NOTE: If ExportFolderName is empty, it will fallback to use the map's name.

Definition at line 148 of file NVSceneDataHandler.h.

ENVCaptureDirectoryConflictHandleType UNVSceneDataExporter::DirectoryConflictHandleType
protected

How to handle conflict files.

Definition at line 160 of file NVSceneDataHandler.h.

FDirectoryPath UNVSceneDataExporter::RootCapturedDirectoryPath
protected

Path to the directory where to save captured data.

Definition at line 156 of file NVSceneDataHandler.h.


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