Main Page | Class List | Directories | File List | Class Members | File Members

ObitDisplay.c File Reference

ObitDisplay class function definitions. More...

#include "ObitAIPSDir.h"
#include "ObitFITS.h"
#include "ObitDisplay.h"
#include "ObitImageMosaic.h"
#include "ObitImageUtil.h"
#include "ObitRPCUtil.h"

Functions

void ObitDisplayInit (gpointer in)
 Private: Initialize newly instantiated object.
void ObitDisplayClear (gpointer in)
 Private: Deallocate members.
ObitDisplaynewObitDisplay (gchar *name)
 Public: Default Constructor.
gconstpointer ObitDisplayGetClass (void)
 Public: ClassInfo pointer.
ObitDisplayObitDisplayCreate (gchar *name, gchar *ServerURL, ObitErr *err)
 Public: Create/initialize ObitDisplay structures.
gboolean ObitDisplayShow (ObitDisplay *display, Obit *image, ObitDConCleanWindow *window, gint field, ObitErr *err)
 Public: Send Display and Window edit request.
void ObitDisplayTurnOn (ObitDisplay *display)
 Public: Turn display on.
void ObitDisplayTurnOff (ObitDisplay *display)
 Public: Turn display off.
void ObitDisplayClassInit (void)
 Public: Class initializer.


Detailed Description

ObitDisplay class function definitions.

This class is derived from the Obit base class.


Function Documentation

ObitDisplay* newObitDisplay gchar *  name  ) 
 

Public: Default Constructor.

Initializes class if needed on first call.

Parameters:
name An optional name for the object.
Returns:
the new object.

void ObitDisplayClassInit void   ) 
 

Public: Class initializer.

void ObitDisplayClear gpointer  inn  ) 
 

Private: Deallocate members.

Does (recursive) deallocation of parent class members.

Parameters:
inn Pointer to the object to deallocate. Actually it should be an ObitDisplay* cast to an Obit*.

ObitDisplay* ObitDisplayCreate gchar *  name,
gchar *  ServerURL,
ObitErr err
 

Public: Create/initialize ObitDisplay structures.

Parameters:
name An optional name for the object.
ServerURL URL of display server, NULL defaults to "http://localhost:8765/RPC2"
err Obit Error message
Returns:
the new object.

gconstpointer ObitDisplayGetClass void   ) 
 

Public: ClassInfo pointer.

Returns:
pointer to the class structure.

void ObitDisplayInit gpointer  inn  ) 
 

Private: Initialize newly instantiated object.

Parent classes portions are (recursively) initialized first

Parameters:
inn Pointer to the object to initialize.

gboolean ObitDisplayShow ObitDisplay display,
Obit image,
ObitDConCleanWindow window,
gint  field,
ObitErr err
 

Public: Send Display and Window edit request.

For a mosaic, the user can request other images from the mosaic. If the display is remote, the image is copied as a gzipped FITS file.

Parameters:
display ObitDisplay object
image ObitImage or Image Mosaic
window if nonNULL window corresponding to image possibly edited by user. This MUST correspond to image.
field If image= an ImageMosaic then this is the 1-rel field number
err Obit Error message
Returns:
TRUE if user wants to quit

void ObitDisplayTurnOff ObitDisplay display  ) 
 

Public: Turn display off.

Parameters:
display ObitDisplay object

void ObitDisplayTurnOn ObitDisplay display  ) 
 

Public: Turn display on.

Parameters:
display ObitDisplay object


Generated on Fri Aug 31 22:13:05 2007 for Obit by  doxygen 1.3.9.1