fw4spl
|
This class contains helper to generate data objects. More...
#include <Object.hpp>
Static Public Member Functions | |
static FWTEST_API::fwData::Color::sptr | randomizeColor () |
Creates a color with random values. | |
static FWTEST_API::fwData::TransferFunction::sptr | createTFColor (unsigned char nbPoints, double window, double level) |
Creates a TransferFunction with random values and specified nbPoints, window and level. | |
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. | |
static FWTEST_API::fwData::StructureTraits::sptr | createStructureTraits () |
Creates a StructureTraits representing the liver. | |
static FWTEST_API::fwData::Composite::sptr | createROITraits () |
Return a composite containing the ROITraits and a reference on its StructureTraits and mask node (because of weak ptr) | |
static FWTEST_API::fwData::Composite::sptr | createReconstructionTraits () |
Return a composite containing the ReconstructionTraits and a reference on its StructureTraits and mask/mesh node (because of weak ptr) | |
static FWTEST_API::fwData::Node::sptr | createNode () |
Creates a Node with random ports. | |
static FWTEST_API::fwData::Port::sptr | createPort () |
Creates a Port with random identifier and type. | |
static FWTEST_API::fwData::Material::sptr | createMaterial () |
Creates a Material with ambient and diffuse color. | |
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. | |
static FWTEST_API::fwData::Resection::sptr | generateResection () |
Creates a Resection with 2 planes, 1 input Reconstruction and 1 output Reconstruction. | |
static FWTEST_API::fwData::Point::sptr | generatePoint () |
Creates a Point with random coordinates. | |
static FWTEST_API::fwData::Plane::sptr | generatePlane () |
Creates a Plane with random points. | |
This class contains helper to generate data objects.
Definition at line 40 of file SrcLib/tests/fwTest/include/fwTest/generator/Object.hpp.