brainrat-private 6.0.4
plaque.h
Go to the documentation of this file.
1/* Copyright (C) 2000-2013 CEA
2 *
3 * This software and supporting documentation were developed by
4 * bioPICSEL
5 * CEA/DSV/I²BM/MIRCen/LMN, Batiment 61,
6 * 18, route du Panorama
7 * 92265 Fontenay-aux-Roses
8 * France
9 */
10
11#ifndef BRAINRAT_DATA_PLAQUEDESCRIPTOR_H
12#define BRAINRAT_DATA_PLAQUEDESCRIPTOR_H
13
14#include <cartobase/object/object.h>
15#include <cartobase/object/pythonreader_d.h>
16#include <cartobase/object/pythonwriter_d.h>
17
18namespace bio {
20 {
21 public:
22 PlaqueDescriptor( double x=0.0, double y=0.0, double z=0.0,
23 double radius=0.0, double area=0.0,
24 double redMean=0.0, double blueMean=0.0, double greenMean=0.0,
25 double anisotropy=0.0 );
26
27 double x, y, z;
28 double radius, area;
30 double anisotropy;
31 };
32
33 // Helpers for amyloid plaques parsing
34 carto::GenericObject * plaquesHelper( carto::GenericObject * o, const std::string & n, carto::PythonReader & r );
35 void plaquesHelper( const carto::GenericObject & obj, soma::PythonWriter & w, int ind, bool writeInternals );
36}
37
38std::ostream& operator << ( std::ostream& os, const bio::PlaqueDescriptor& thing );
39
40namespace carto {
41 DECLARE_GENERIC_OBJECT_TYPE( bio::PlaqueDescriptor )
42 DECLARE_GENERIC_OBJECT_TYPE( std::vector<bio::PlaqueDescriptor> )
43}
44
45#endif
PlaqueDescriptor(double x=0.0, double y=0.0, double z=0.0, double radius=0.0, double area=0.0, double redMean=0.0, double blueMean=0.0, double greenMean=0.0, double anisotropy=0.0)
ImageProcessors<AimsRGB, double> p(data, mask, "rgbm", options, ImageProcessorMode::Init); ImageProce...
Definition classes.h:25
carto::GenericObject * plaquesHelper(carto::GenericObject *o, const std::string &n, carto::PythonReader &r)
std::ostream & operator<<(std::ostream &os, const bio::PlaqueDescriptor &thing)