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

The DisplayMethod to draw Wedges. More...

#include <WedgeDM.h>

Inheritance diagram for casa::WedgeDM:
casa::CachingDisplayMethod casa::DisplayMethod

Public Member Functions

 WedgeDM (WorldCanvas *worldCanvas, AttributeBuffer *wchAttributes, AttributeBuffer *ddAttributes, CachingDisplayData *dd)
 Constructor. More...
 
virtual ~WedgeDM ()
 Destructor. More...
 
virtual void cleanup ()
 Clean up (ie. More...
 
virtual casacore::Bool drawIntoList (Display::RefreshReason reason, WorldCanvasHolder &wcHolder)
 Draw into a cached drawing list, called by draw function. More...
 
- Public Member Functions inherited from casa::CachingDisplayMethod
 CachingDisplayMethod (WorldCanvas *worldCanvas, AttributeBuffer *wchAttributes, AttributeBuffer *ddAttributes, CachingDisplayData *parentDisplayData)
 Constructor. More...
 
virtual ~CachingDisplayMethod ()
 Destructor. More...
 
virtual WorldCanvasworldCanvas ()
 Return the WorldCanvas recorded in this CachingDisplayMethod. More...
 
virtual void draw (Display::RefreshReason reason, WorldCanvasHolder &wcHolder)
 Draw this slice of data on the supplied WorldCanvasHolder. More...
 
- Public Member Functions inherited from casa::DisplayMethod
 DisplayMethod (DisplayData *parentDisplayData)
 Constructor. More...
 
virtual ~DisplayMethod ()
 Destructor. More...
 
void addRestriction (Attribute &newAt, casacore::Bool permanent)
 Set & remove restrictions. More...
 
void addRestrictions (AttributeBuffer &newBuf)
 
void setRestriction (Attribute &newAt)
 
void setRestrictions (AttributeBuffer &newBuf)
 
void removeRestriction (const casacore::String &name)
 
casacore::Bool existRestriction (const casacore::String &name)
 
void clearRestrictions ()
 
casacore::Bool matches (Attribute &at)
 match restriction More...
 
casacore::Bool matches (AttributeBuffer &atBuf)
 

Protected Member Functions

 WedgeDM ()
 (Required) default constructor. More...
 
 WedgeDM (const WedgeDM &other)
 (Required) copy constructor. More...
 
void operator= (const WedgeDM &other)
 (Required) copy assignment. More...
 
- Protected Member Functions inherited from casa::CachingDisplayMethod
 CachingDisplayMethod ()
 (Required) default constructor. More...
 
 CachingDisplayMethod (const CachingDisplayMethod &other)
 (Required) copy constructor. More...
 
void operator= (const CachingDisplayMethod &other)
 (Required) copy assignment. More...
 
- Protected Member Functions inherited from casa::DisplayMethod
 DisplayMethod ()
 (Required) default constructor. More...
 
 DisplayMethod (const DisplayMethod &other)
 (Required) copy constructor. More...
 
void operator= (const DisplayMethod &other)
 (Required) copy assignment. More...
 
DisplayDataparentDisplayData ()
 Return the parent DisplayData. More...
 

Additional Inherited Members

- Protected Attributes inherited from casa::DisplayMethod
AttributeBuffer restrictions
 

Detailed Description

The DisplayMethod to draw Wedges.

Intended use:

Public interface

Review Status

Date Reviewed:
yyyy/mm/dd

Etymology

Synopsis

This class supplies the actual drawing of the wedge via the drawIntoList method

Example

Motivation

Users want wedges

Definition at line 68 of file WedgeDM.h.

Constructor & Destructor Documentation

casa::WedgeDM::WedgeDM ( WorldCanvas worldCanvas,
AttributeBuffer wchAttributes,
AttributeBuffer ddAttributes,
CachingDisplayData dd 
)

Constructor.

virtual casa::WedgeDM::~WedgeDM ( )
virtual

Destructor.

casa::WedgeDM::WedgeDM ( )
protected

(Required) default constructor.

casa::WedgeDM::WedgeDM ( const WedgeDM other)
protected

(Required) copy constructor.

Member Function Documentation

virtual void casa::WedgeDM::cleanup ( )
virtual

Clean up (ie.

delete any existing cached display list).

Reimplemented from casa::DisplayMethod.

virtual casacore::Bool casa::WedgeDM::drawIntoList ( Display::RefreshReason  reason,
WorldCanvasHolder wcHolder 
)
virtual

Draw into a cached drawing list, called by draw function.

Implements casa::CachingDisplayMethod.

void casa::WedgeDM::operator= ( const WedgeDM other)
protected

(Required) copy assignment.


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