28 #ifndef TRIALDISPLAY_DSLINE_H
29 #define TRIALDISPLAY_DSLINE_H
38 template <
class T>
class Vector;
virtual casacore::Bool validStart()
virtual casacore::Bool setOptions(const casacore::Record &newSettings)
Get and set this shapes options.
casacore::Vector< casacore::Float > itsStart
These are to hold the points while line is being made (line is invalid).
virtual casacore::Record getOptions()
Set and get options.
std::vector< double > Vector
virtual void setStartPoint(const casacore::Vector< casacore::Float > &start)
Line specific functions for ease of use.
DSLine()
Constructors and Destructors.
casacore::Bool itsValidStart
const_iterator end() const
Implementation of a polyline.
Implementation of a line.
virtual void setEndPoint(const casacore::Vector< casacore::Float > &end)
casacore::Vector< casacore::Float > itsEnd
A hierarchical collection of named fields of various types.
bool Bool
Define the standard types used by Casacore.
virtual casacore::Matrix< casacore::Float > asPolyLine(const casacore::Vector< casacore::Float > &startPos, const casacore::Vector< casacore::Float > &endPos)
virtual casacore::Bool validEnd()
virtual void setCenter(const casacore::Float &xPos, const casacore::Float &yPos)
This does nothing, it's so arrow and other inheriting classes can take note of new centers...
virtual casacore::Bool isValid()
Does this line have a valid start and a valid end?
virtual casacore::Matrix< casacore::Float > getEnds()
General utility functions.
casacore::Bool itsValidEnd
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.