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

Simple PostScript WorldCanvas application. More...

#include <PSWorldCanvasApp.h>

Public Member Functions

 PSWorldCanvasApp (PSDriver *ps)
 default constructor More...
 
virtual ~PSWorldCanvasApp ()
 default destructor More...
 
WorldCanvasworldCanvas () const
 retrieve a pointer to the WorldCanvas More...
 
void run ()
 Run the application. More...
 
PSDrivergetDriver () const
 
PSPixelCanvaspixelCanvas () const
 

Private Attributes

PSPixelCanvasitsPixelCanvas
 Pointer to the PixelCanvas. More...
 
WorldCanvasitsWorldCanvas
 Pointer to the WorldCanvas. More...
 
PSDriverps_
 

Detailed Description

Simple PostScript WorldCanvas application.

Prerequisite

Etymology

PSWorldCanvasApp stands for PostScript WorldCanvas Application

Synopsis

PSWorldCanvasApp provides a basic infrastructure, including a PostScript PixelCanvas and a WorldCanvas, which can be used to write a simple application providing PostScript output.

Motivation

Test class for the PostScript PixelCanvas

Definition at line 66 of file PSWorldCanvasApp.h.

Constructor & Destructor Documentation

casa::PSWorldCanvasApp::PSWorldCanvasApp ( PSDriver ps)

default constructor

virtual casa::PSWorldCanvasApp::~PSWorldCanvasApp ( )
virtual

default destructor

Member Function Documentation

PSDriver* casa::PSWorldCanvasApp::getDriver ( ) const
inline

Definition at line 84 of file PSWorldCanvasApp.h.

References ps_.

PSPixelCanvas* casa::PSWorldCanvasApp::pixelCanvas ( ) const
inline

Definition at line 87 of file PSWorldCanvasApp.h.

References itsPixelCanvas.

void casa::PSWorldCanvasApp::run ( )

Run the application.

WorldCanvas* casa::PSWorldCanvasApp::worldCanvas ( ) const
inline

retrieve a pointer to the WorldCanvas

Definition at line 77 of file PSWorldCanvasApp.h.

References itsWorldCanvas.

Member Data Documentation

PSPixelCanvas* casa::PSWorldCanvasApp::itsPixelCanvas
private

Pointer to the PixelCanvas.

Definition at line 95 of file PSWorldCanvasApp.h.

Referenced by pixelCanvas().

WorldCanvas* casa::PSWorldCanvasApp::itsWorldCanvas
private

Pointer to the WorldCanvas.

Definition at line 98 of file PSWorldCanvasApp.h.

Referenced by worldCanvas().

PSDriver* casa::PSWorldCanvasApp::ps_
private

Definition at line 100 of file PSWorldCanvasApp.h.

Referenced by getDriver().


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