CustusX  2023.01.05-dev+develop.0da12
An IGT application
cxDataFactory.cpp File Reference
#include "cxDataFactory.h"
#include "cxImage.h"
#include "cxMesh.h"
#include "cxTrackedStream.h"
#include "cxPointMetric.h"
#include "cxDistanceMetric.h"
#include "cxPlaneMetric.h"
#include "cxAngleMetric.h"
#include "cxShapedMetric.h"
#include "cxCustomMetric.h"
#include "cxSphereMetric.h"
#include "cxFrameMetric.h"
#include "cxToolMetric.h"
#include "cxRegionOfInterestMetric.h"
#include "cxPatientModelService.h"
#include "cxLogger.h"

Go to the source code of this file.

Namespaces

 cx
 Namespace for all CustusX production code.
 

Macros

#define CREATE_IF_MATCH(typeName, TYPE)
 
#define CREATE_WITH_SERVICES_IF_MATCH(typeName, TYPE)
 

Macro Definition Documentation

#define CREATE_IF_MATCH (   typeName,
  TYPE 
)
Value:
{ \
if (typeName==TYPE::getTypeName()) \
return TYPE::create(uid, ""); \
}

Definition at line 41 of file cxDataFactory.cpp.

#define CREATE_WITH_SERVICES_IF_MATCH (   typeName,
  TYPE 
)
Value:
{ \
if (typeName==TYPE::getTypeName()) \
return TYPE::create(uid, "", mDataManager, mSpaceProvider); \
}

Definition at line 46 of file cxDataFactory.cpp.