casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | List of all members
casa::ViewerProxy Class Reference

#include <ViewerProxy.h>

Inheritance diagram for casa::ViewerProxy:

Public Member Functions

 ViewerProxy (const std::string &name=dbusName())
 
dbus::variant start_interact (const dbus::variant &input, int panel)
 
dbus::variant datarange (const std::vector< double > &range, int data=0)
 
dbus::variant contourlevels (const std::vector< double > &levels, double baselevel=2147483648.0, double unitlevel=2147483648.0, int panel_or_data=0)
 
dbus::variant axes (const std::string &x="", const std::string &y="", const std::string &z="", int panel=0)
 
dbus::variant colormap (const std::string &map, int panel_or_data=0)
 
dbus::variant colorwedge (bool show, int panel_or_data=0)
 
dbus::variant load (const std::string &path, const std::string &displaytype="raster", int panel=0, double scaling=0)
 
dbus::variant reload (int panel_or_data)
 
dbus::variant unload (int data)
 
dbus::variant restore (const std::string &path, int panel=0)
 
dbus::variant panel (const std::string &type="viewer", bool hidden=false)
 
dbus::variant hide (int panel=0)
 
dbus::variant show (int panel=0)
 
dbus::variant close (int panel=0)
 
dbus::variant popup (const std::string &what, int panel=0)
 
dbus::variant cwd (const std::string &new_path="")
 
dbus::variant freeze (int panel)
 
dbus::variant unfreeze (int panel)
 
dbus::variant channel (int num=-1, int panel=0)
 
dbus::variant zoom (int level, int panel=0)
 
dbus::variant zoom (const std::vector< double > &blc, const std::vector< double > &trc, const std::string &coordinates="pixel", int panel=0)
 
dbus::variant release (int panel)
 
dbus::variant setoptions (const dbus::variant &input, int panel)
 
bool output (const std::string &device, const std::string &devicetype="file", int panel=0, double scale=1.0, int dpi=300, const std::string &format="jpg", const std::string &orientation="portrait", const std::string &media="letter")
 device: file name or printer name devicetype: "file", "printer", or "ghostscript" format: "jpg", "pdf", "eps", "ps", "png", "xbm", "xpm", "ppm" [only used with devicetype == "file"] [extension on device, e.g. More...
 
dbus::variant fileinfo (const std::string &path)
 
std::vector< std::string > keyinfo (int key)
 
bool done ()
 

Static Public Member Functions

static std::list< std::string > execArgs (const std::list< std::string > &args)
 
static std::string dbusName ()
 

Detailed Description

Definition at line 39 of file ViewerProxy.h.

Constructor & Destructor Documentation

casa::ViewerProxy::ViewerProxy ( const std::string &  name = dbusName())

Member Function Documentation

dbus::variant casa::ViewerProxy::axes ( const std::string &  x = "",
const std::string &  y = "",
const std::string &  z = "",
int  panel = 0 
)
inline

Definition at line 57 of file ViewerProxy.h.

References panel(), and casa::dbus::toVariant().

dbus::variant casa::ViewerProxy::channel ( int  num = -1,
int  panel = 0 
)
inline

Definition at line 93 of file ViewerProxy.h.

References panel(), and casa::dbus::toVariant().

dbus::variant casa::ViewerProxy::close ( int  panel = 0)
inline

Definition at line 80 of file ViewerProxy.h.

References panel(), and casa::dbus::toVariant().

dbus::variant casa::ViewerProxy::colormap ( const std::string &  map,
int  panel_or_data = 0 
)
inline

Definition at line 59 of file ViewerProxy.h.

References casa::dbus::toVariant().

dbus::variant casa::ViewerProxy::colorwedge ( bool  show,
int  panel_or_data = 0 
)
inline

Definition at line 61 of file ViewerProxy.h.

References casa::dbus::toVariant().

dbus::variant casa::ViewerProxy::contourlevels ( const std::vector< double > &  levels,
double  baselevel = 2147483648.0,
double  unitlevel = 2147483648.0,
int  panel_or_data = 0 
)
inline

Definition at line 55 of file ViewerProxy.h.

References casa::dbus::toVariant().

dbus::variant casa::ViewerProxy::cwd ( const std::string &  new_path = "")
inline

Definition at line 85 of file ViewerProxy.h.

References casa::dbus::toVariant().

dbus::variant casa::ViewerProxy::datarange ( const std::vector< double > &  range,
int  data = 0 
)
inline

Definition at line 53 of file ViewerProxy.h.

References casa::data, and casa::dbus::toVariant().

static std::string casa::ViewerProxy::dbusName ( )
inlinestatic

Definition at line 47 of file ViewerProxy.h.

bool casa::ViewerProxy::done ( )
inline

Definition at line 123 of file ViewerProxy.h.

Referenced by casa::InteractiveMasking::~InteractiveMasking().

static std::list<std::string> casa::ViewerProxy::execArgs ( const std::list< std::string > &  args)
static
dbus::variant casa::ViewerProxy::fileinfo ( const std::string &  path)
inline

Definition at line 118 of file ViewerProxy.h.

References casa::dbus::toVariant().

dbus::variant casa::ViewerProxy::freeze ( int  panel)
inline

Definition at line 88 of file ViewerProxy.h.

References casa::dbus::toVariant().

dbus::variant casa::ViewerProxy::hide ( int  panel = 0)
inline

Definition at line 76 of file ViewerProxy.h.

References panel(), and casa::dbus::toVariant().

std::vector<std::string> casa::ViewerProxy::keyinfo ( int  key)
inline

Definition at line 120 of file ViewerProxy.h.

dbus::variant casa::ViewerProxy::load ( const std::string &  path,
const std::string &  displaytype = "raster",
int  panel = 0,
double  scaling = 0 
)
inline

Definition at line 64 of file ViewerProxy.h.

References panel(), and casa::dbus::toVariant().

bool casa::ViewerProxy::output ( const std::string &  device,
const std::string &  devicetype = "file",
int  panel = 0,
double  scale = 1.0,
int  dpi = 300,
const std::string &  format = "jpg",
const std::string &  orientation = "portrait",
const std::string &  media = "letter" 
)
inline

device: file name or printer name devicetype: "file", "printer", or "ghostscript" format: "jpg", "pdf", "eps", "ps", "png", "xbm", "xpm", "ppm" [only used with devicetype == "file"] [extension on device, e.g.

"outfile.pdf" overrides "format"] scale: size scale factor for raster output (e.g. jpg etc.) dpi: resolution of PS or EPS images orientation: "portrait", "landscape" media: "letter" or "a4"

Definition at line 112 of file ViewerProxy.h.

References panel().

dbus::variant casa::ViewerProxy::panel ( const std::string &  type = "viewer",
bool  hidden = false 
)
inline

Definition at line 74 of file ViewerProxy.h.

References casa::dbus::toVariant(), and casa::type().

Referenced by axes(), channel(), close(), hide(), load(), output(), popup(), restore(), show(), and zoom().

dbus::variant casa::ViewerProxy::popup ( const std::string &  what,
int  panel = 0 
)
inline

Definition at line 82 of file ViewerProxy.h.

References panel(), and casa::dbus::toVariant().

dbus::variant casa::ViewerProxy::release ( int  panel)
inline

Definition at line 100 of file ViewerProxy.h.

References casa::dbus::toVariant().

dbus::variant casa::ViewerProxy::reload ( int  panel_or_data)
inline

Definition at line 66 of file ViewerProxy.h.

References casa::dbus::toVariant().

dbus::variant casa::ViewerProxy::restore ( const std::string &  path,
int  panel = 0 
)
inline

Definition at line 71 of file ViewerProxy.h.

References panel(), and casa::dbus::toVariant().

dbus::variant casa::ViewerProxy::setoptions ( const dbus::variant input,
int  panel 
)
inline

Definition at line 102 of file ViewerProxy.h.

References casa::dbus::fromVariant(), and casa::dbus::toVariant().

dbus::variant casa::ViewerProxy::show ( int  panel = 0)
inline

Definition at line 78 of file ViewerProxy.h.

References panel(), casa::dbus::show(), and casa::dbus::toVariant().

dbus::variant casa::ViewerProxy::start_interact ( const dbus::variant input,
int  panel 
)
inline

Definition at line 51 of file ViewerProxy.h.

References casa::dbus::fromVariant(), and casa::dbus::toVariant().

dbus::variant casa::ViewerProxy::unfreeze ( int  panel)
inline

Definition at line 90 of file ViewerProxy.h.

References casa::dbus::toVariant().

dbus::variant casa::ViewerProxy::unload ( int  data)
inline

Definition at line 68 of file ViewerProxy.h.

References casa::dbus::toVariant().

dbus::variant casa::ViewerProxy::zoom ( int  level,
int  panel = 0 
)
inline

Definition at line 95 of file ViewerProxy.h.

References panel(), and casa::dbus::toVariant().

dbus::variant casa::ViewerProxy::zoom ( const std::vector< double > &  blc,
const std::vector< double > &  trc,
const std::string &  coordinates = "pixel",
int  panel = 0 
)
inline

Definition at line 97 of file ViewerProxy.h.

References panel(), and casa::dbus::toVariant().


The documentation for this class was generated from the following file: