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::RegionShapeDM Class Reference

Implementation of CachingDisplayMethod to be used by RegionShapes. More...

#include <RegionShape.h>

Inheritance diagram for casa::RegionShapeDM:
casa::CachingDisplayMethod casa::DisplayMethod

Public Member Functions

 RegionShapeDM (RegionShape &shape, WorldCanvas *wc, AttributeBuffer *wcAttr, AttributeBuffer *ddAttr, CachingDisplayData *dd)
 Constructor that takes the RegionShape to draw, as well as the other parameters for the CachingDisplayMethod constructor. More...
 
 ~RegionShapeDM ()
 Destructor. More...
 
casacore::Bool drawIntoList (Display::RefreshReason reason, WorldCanvasHolder &wch)
 Implementation of CachingDisplayMethod::drawIntoList. 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...
 
virtual void cleanup ()
 clear drawlist state. 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)
 

Private Attributes

RegionShapem_shape
 

Additional Inherited Members

- 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...
 
- Protected Attributes inherited from casa::DisplayMethod
AttributeBuffer restrictions
 

Detailed Description

Implementation of CachingDisplayMethod to be used by RegionShapes.

Basically just a call to the shape's draw method.

Definition at line 730 of file RegionShape.h.

Constructor & Destructor Documentation

casa::RegionShapeDM::RegionShapeDM ( RegionShape shape,
WorldCanvas wc,
AttributeBuffer wcAttr,
AttributeBuffer ddAttr,
CachingDisplayData dd 
)

Constructor that takes the RegionShape to draw, as well as the other parameters for the CachingDisplayMethod constructor.

casa::RegionShapeDM::~RegionShapeDM ( )

Destructor.

Member Function Documentation

casacore::Bool casa::RegionShapeDM::drawIntoList ( Display::RefreshReason  reason,
WorldCanvasHolder wch 
)
virtual

Member Data Documentation

RegionShape& casa::RegionShapeDM::m_shape
private

Definition at line 744 of file RegionShape.h.


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