casa
5.7.0-16
|
Interface between the WorldCanvas and its PGPLOT driver. More...
#include <WCPGFilter.h>
Public Member Functions | |
WCPGFilter (WorldCanvas *wc) | |
Constructor taking a pointer to a WorldCanvas. More... | |
virtual | ~WCPGFilter () |
Destructor. More... | |
virtual void | ref () |
Reference counting: ref, unref and refCount. More... | |
virtual void | unref () |
virtual casacore::Int | refCount () const |
virtual casacore::Int | pgid () const |
Return the PGPLOT device id. More... | |
casacore::Bool | realign (const casacore::Bool &linear=true) |
Realign the PGPLOT domain to the WorldCanvas domain. More... | |
void | cont (const casacore::Matrix< casacore::Float > &m, const casacore::Vector< casacore::Float > &levels, const casacore::Matrix< casacore::Float > &tr) |
Contour using pgcont function. More... | |
void | conb (const casacore::Matrix< casacore::Float > &m, const casacore::Vector< casacore::Float > &levels, const casacore::Matrix< casacore::Float > &tr, const casacore::Float blank) |
Contour using pgconb function. More... | |
Private Member Functions | |
void | splitContours (casacore::Vector< casacore::Float > &neg, casacore::Vector< casacore::Float > &pos, const casacore::Vector< casacore::Float > &levels) |
Split contours into positive and negative. More... | |
Private Attributes | |
WorldCanvas * | itsWorldCanvas |
Store for the WorldCanvas this filters for. More... | |
casacore::uInt | itsPgPlotID |
Store the PGPLOT device id here. More... | |
casacore::Int | itsRefCount |
Reference counting. More... | |
Interface between the WorldCanvas and its PGPLOT driver.
Public interface
"WCPGFilter" is a contraction and concatenation of "WorldCanvas," "PGPLOT" and "Filter", and is a simple filtering interface between the WorldCanvas and its PGPLOT driver.
Definition at line 74 of file WCPGFilter.h.
casa::WCPGFilter::WCPGFilter | ( | WorldCanvas * | wc | ) |
Constructor taking a pointer to a WorldCanvas.
|
virtual |
Destructor.
void casa::WCPGFilter::conb | ( | const casacore::Matrix< casacore::Float > & | m, |
const casacore::Vector< casacore::Float > & | levels, | ||
const casacore::Matrix< casacore::Float > & | tr, | ||
const casacore::Float | blank | ||
) |
Contour using pgconb function.
(contour with blanks)
void casa::WCPGFilter::cont | ( | const casacore::Matrix< casacore::Float > & | m, |
const casacore::Vector< casacore::Float > & | levels, | ||
const casacore::Matrix< casacore::Float > & | tr | ||
) |
Contour using pgcont function.
|
inlinevirtual |
casacore::Bool casa::WCPGFilter::realign | ( | const casacore::Bool & | linear = true | ) |
Realign the PGPLOT domain to the WorldCanvas domain.
If linear is false, then the pgplot canvas is setup to match the world coordinates, but of course is only valid where the world coordinates are linear to first approximation.
|
inlinevirtual |
Reference counting: ref, unref and refCount.
Definition at line 86 of file WCPGFilter.h.
References itsRefCount.
|
inlinevirtual |
Definition at line 92 of file WCPGFilter.h.
References itsRefCount.
|
private |
Split contours into positive and negative.
|
inlinevirtual |
Definition at line 89 of file WCPGFilter.h.
References itsRefCount.
|
private |
|
private |
Reference counting.
Definition at line 128 of file WCPGFilter.h.
Referenced by ref(), refCount(), and unref().
|
private |
Store for the WorldCanvas this filters for.
Definition at line 122 of file WCPGFilter.h.