#include "Obit.h"
#include "ObitErr.h"
#include "ObitFitModel.h"
Go to the source code of this file.
Classes | |
| struct | ObitFitRegion |
| ObitFitRegion Class structure. More... | |
| struct | ObitFitRegionClassInfo |
| ClassInfo Structure. More... | |
Defines | |
| #define | ObitFitRegionUnref(in) ObitUnref (in) |
| Macro to unreference (and possibly destroy) an ObitFitRegion returns a ObitFitRegion*. | |
| #define | ObitFitRegionRef(in) ObitRef (in) |
| Macro to reference (update reference count) an ObitFitRegion. | |
| #define | ObitFitRegionIsA(in) ObitIsA (in, ObitFitRegionGetClass()) |
| Macro to determine if an object is the member of this or a derived class. | |
Typedefs | |
| typedef ObitFitRegion *(* | ObitFitRegionCreateFP )(gchar *name, gint corner[2], gint dim[2], gfloat peak, gfloat peakResid, gfloat RMSResid, gfloat fluxResid, gint nmodel, ObitFitModel **models) |
| Typedef for definition of class pointer structure. | |
Functions | |
| void | ObitFitRegionClassInit (void) |
| Public: Class initializer. | |
| ObitFitRegion * | newObitFitRegion (gchar *name) |
| Public: Default Constructor. | |
| ObitFitRegion * | ObitFitRegionCreate (gchar *name, gint corner[2], gint dim[2], gfloat peak, gfloat peakResid, gfloat RMSResid, gfloat fluxResid, gint nmodel, ObitFitModel **models) |
| Public: Create/initialize ObitFitRegion structures. | |
| gchar * | ObitFitRegionName (gint indx) |
| Public: Generate the region name from an index. | |
| gconstpointer | ObitFitRegionGetClass (void) |
| Public: ClassInfo pointer. | |
| ObitFitRegion * | ObitFitRegionCopy (ObitFitRegion *in, ObitFitRegion *out, ObitErr *err) |
| Public: Copy (deep) constructor. | |
| void | ObitFitRegionClone (ObitFitRegion *in, ObitFitRegion *out, ObitErr *err) |
| Public: Copy structure. | |
| void | ObitFitRegionResize (ObitFitRegion *in, gint nmodel) |
| Public: Resize. | |
| void | ObitFitRegionSubtract (ObitFitRegion *reg, ObitImage *image, ObitErr *err) |
| Public: Subtract from image. | |
This class is derived from the Obit class.
A copy of a pointer to an ObitFitRegion should always be made using the ObitFitRegionRef function which updates the reference count in the object. Then whenever freeing an ObitFitRegion or changing a pointer, the function ObitFitRegionUnref will decrement the reference count and destroy the object when the reference count hits 0. There is no explicit destructor.
|
|
Macro to determine if an object is the member of this or a derived class. Returns TRUE if a member, else FALSE in = object to reference |
|
|
Macro to reference (update reference count) an ObitFitRegion. returns a ObitFitRegion*. in = object to reference |
|
|
Macro to unreference (and possibly destroy) an ObitFitRegion returns a ObitFitRegion*. in = object to unreference |
|
|
Typedef for definition of class pointer structure.
|
|
|
Public: Default Constructor. Initializes class if needed on first call.
|
|
|
Public: Class initializer.
|
|
||||||||||||||||
|
Public: Copy structure.
|
|
||||||||||||||||
|
Public: Copy (deep) constructor.
|
|
||||||||||||||||||||||||||||||||||||||||
|
Public: Create/initialize ObitFitRegion structures.
|
|
|
Public: ClassInfo pointer.
|
|
|
Public: Generate the region name from an index. Each region has the name "regnnnnnn" where nnnnnn is the 1-rel
|
|
||||||||||||
|
Public: Resize.
|
|
||||||||||||||||
|
Public: Subtract from image.
|
1.3.9.1