7 #ifndef __FWTEST_GENERATOR_OBJECT_HPP__ 8 #define __FWTEST_GENERATOR_OBJECT_HPP__ 10 #include "fwTest/config.hpp" 12 #include <fwCore/base.hpp> 14 #include <fwData/Array.hpp> 15 #include <fwData/Color.hpp> 16 #include <fwData/Composite.hpp> 17 #include <fwData/Material.hpp> 18 #include <fwData/Node.hpp> 19 #include <fwData/Plane.hpp> 20 #include <fwData/Point.hpp> 21 #include <fwData/Port.hpp> 22 #include <fwData/ProcessObject.hpp> 23 #include <fwData/ReconstructionTraits.hpp> 24 #include <fwData/Resection.hpp> 25 #include <fwData/ResectionDB.hpp> 26 #include <fwData/ROITraits.hpp> 27 #include <fwData/StructureTraits.hpp> 28 #include <fwData/StructureTraitsDictionary.hpp> 29 #include <fwData/TransferFunction.hpp> 48 FWTEST_API static ::fwData::TransferFunction::sptr
createTFColor(
unsigned char nbPoints,
53 FWTEST_API static ::fwData::TransferFunction::sptr
createTFColor();
68 FWTEST_API static ::fwData::Node::sptr
createNode();
71 FWTEST_API static ::fwData::Port::sptr
createPort();
96 #endif // __FWTEST_GENERATOR_OBJECT_HPP__ static FWTEST_API::fwData::Material::sptr createMaterial()
Creates a Material with ambient and diffuse color.
static FWTEST_API::fwData::Point::sptr generatePoint()
Creates a Point with random coordinates.
static FWTEST_API::fwData::Composite::sptr createROITraits()
Return a composite containing the ROITraits and a reference on its StructureTraits and mask node (bec...
static FWTEST_API::fwData::Resection::sptr generateResection()
Creates a Resection with 2 planes, 1 input Reconstruction and 1 output Reconstruction.
static FWTEST_API::fwData::Plane::sptr generatePlane()
Creates a Plane with random points.
static FWTEST_API::fwData::Color::sptr randomizeColor()
Creates a color with random values.
static FWTEST_API::fwData::Composite::sptr createReconstructionTraits()
Return a composite containing the ReconstructionTraits and a reference on its StructureTraits and mas...
static FWTEST_API::fwData::Node::sptr createNode()
Creates a Node with random ports.
static FWTEST_API::fwData::ProcessObject::sptr createProcessObject()
Creates a ProcessObject with 3 inputs and 1 output.
static FWTEST_API::fwData::ResectionDB::sptr generateResectionDB()
Creates a ResectionDB containing one Resection.
This class contains helper to generate data objects.
static FWTEST_API::fwData::StructureTraits::sptr createStructureTraits()
Creates a StructureTraits representing the liver.
static FWTEST_API::fwData::Port::sptr createPort()
Creates a Port with random identifier and type.
static FWTEST_API::fwData::TransferFunction::sptr createTFColor()
Creates a TransferFunction with few values.
static FWTEST_API::fwData::StructureTraitsDictionary::sptr createStructureTraitsDictionary()
Creates a StructureTraitsDictionary with many organs.