ICAROUS
All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros Modules Pages
Static Public Member Functions | List of all members
larcfm::Detection3DParameterWriter Class Reference

#include <Detection3DParameterWriter.h>

Static Public Member Functions

static ParameterData writeCoreDetection (std::vector< Detection3D * > dlist, Detection3D *det, Detection3D *res)
 
static ParameterData writeCoreDetection (std::vector< Detection3D * > dlist, Detection3D *det, Detection3D *res, bool ordered)
 
static void clearCoreDetectionParameters (ParameterData &p)
 

Detailed Description

This class contains static methods to create ParameterData objects that contain information about Detection3D instance definitions in a format consistent with DetectionParameterReader.

Member Function Documentation

◆ clearCoreDetectionParameters()

void larcfm::Detection3DParameterWriter::clearCoreDetectionParameters ( ParameterData p)
static

This removes all standard core detection parameters from a ParameterData object

Parameters
p

◆ writeCoreDetection() [1/2]

ParameterData larcfm::Detection3DParameterWriter::writeCoreDetection ( std::vector< Detection3D * >  dlist,
Detection3D det,
Detection3D res 
)
static

Return a ParameterData suitable to be read by readCoreDetection() based on the supplied Detection3D instances.

Parameters
dlistlist of Detection3D instances – this may be empty. det and res instances will be automatically added to the list (if they are not already in it)
detdetection instance – this may be null
resresolution instance – this may be null Note: this may modify the instance identifiers if they are not already unique.

◆ writeCoreDetection() [2/2]

ParameterData larcfm::Detection3DParameterWriter::writeCoreDetection ( std::vector< Detection3D * >  dlist,
Detection3D det,
Detection3D res,
bool  ordered 
)
static

Return a ParameterData suitable to be read by readCoreDetection() based on the supplied Detection3D instances.

Parameters
dlistlist of Detection3D instances – this may be empty. det and res instances will be automatically added to the list (if they are not already in it)
detdetection instance – this may be null
resresolution instance – this may be null
orderedtrue to modify detection identifiers to ensure they retain the input list's ordering when decoded, false will only modify identifiers if they are not unique

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