28 #ifndef TRIALDISPLAY_NBODY_H
29 #define TRIALDISPLAY_NBODY_H
51 class WCResampleHandler;
52 class WorldCanvasHolder;
53 class AttributeBuffer;
void drawMovie(WorldCanvas &wCanvas, casacore::Int numSteps, casacore::Double timeStep, casacore::Double dampingFactor)
casacore::Record miscInfoDummy
virtual casacore::Vector< casacore::String > worldAxisNames() const
Routines which yield information on the axis names and units, and some miscellaneous information...
Class which stores WorldCanvas refresh event information.
DisplayDataType
WorldCanvasHolder - what type of DisplayData is this, need to know for drawing order.
Buffer for storing Attributes.
virtual casacore::String showValue(const casacore::Vector< casacore::Double > &)
casacore::Format a string containing value information at the given world coordinate ...
virtual casacore::Bool sizeControl(WorldCanvasHolder &wcHolder, AttributeBuffer &holderBuf)
sizeControlFunction, called by the WorldCanvasHolder.
casacore::Bool turnedOff
General restrictions (already declared in DisplayData.h) AttributeBuffer restrictions; true if noth...
ABSTRACT CLASSES Abstract class for colors Any implementation of color should be able to provide a hexadecimal form of the if a human readable name(i.e."black").In many places throughout the plotter
casacore::Int itsNumSteps
virtual const casacore::RecordInterface & miscInfo()
Arbitrary name-value pairs used in the display classes.
virtual void addElementRestriction(const casacore::uInt itemNum, Attribute &newRestriction, casacore::Bool permanent)
void drawImage(WorldCanvas &wCanvas)
casacore::Double itsTimeStep
casacore::Double itsDampingFactor
casacore::Double dataMin
The min and max to use for drawing.
virtual void clearElementRestrictions(const casacore::uInt itemNum)
Clear all restrictions of item itemNum (except the ones that are permanent of course).
Class which stores WorldCanvas motion event information.
virtual void positionEH(const WCPositionEvent &ev)
Position event handler, called by the WorldCanvasHolder.
casacore::Bool iDidSizeControl(WorldCanvas &wCanvas)
Check if this NBody did the sizeControl.
AttributeBuffer sizeControlBuf
internal bookkeeping: buffer for stroing sizecontrol done by this NBody
virtual casacore::String showPosition(const casacore::Vector< casacore::Double > &, const casacore::Bool &)
required functions with null implementations
virtual void removeElementRestriction(const casacore::uInt itemNum, const casacore::String &name)
Remove a restriction from item itemNum.
A hierarchical collection of named fields of various types.
bool Bool
Define the standard types used by Casacore.
virtual void setElementRestrictions(const casacore::uInt itemNum, AttributeBuffer &other)
Set a restriction for item itemNum of this DisplayData.
virtual void setElementRestriction(const casacore::uInt itemNum, Attribute &newRestriction)
virtual casacore::Vector< casacore::String > worldAxisUnits() const
virtual casacore::Double getDataMin()
Report the minimum and maximum data values for this DisplayData.
virtual void motionEH(const WCMotionEvent &ev)
Motion event handler, called by the WorldCanvasHolder.
virtual casacore::Bool existElementRestriction(const casacore::uInt itemNum, const casacore::String &name)
Check if a restriction for item itemNum with name name exists.
Class which stores WorldCanvas position event information.
A holder to interface between DisplayDatas and a WorldCanvas.
virtual casacore::Bool worldToLin(casacore::Vector< casacore::Double > &lin, const casacore::Vector< casacore::Double > &world)
Implementation of drawing in world coordinates on top of a PixelCanvas.
virtual void setActiveImage(casacore::uInt)
irrelevant in this part of the tree
virtual void addElementRestrictions(const casacore::uInt itemNum, AttributeBuffer &other)
Add a restriction for item itemNum of this DisplayData.
casacore::Vector data - can go next
virtual ~NBody()
Destructor.
String: the storage and methods of handling collections of characters.
virtual casacore::uInt nelements() const
and non-specific
virtual Display::DisplayDataType classType()
Return the DisplayData type; used by the WorldCanvasHolder to determine the order of drawing...
Simple class which provides brute force n-body simulation and display.
virtual const casacore::Unit dataUnit()
Base class for display objects.
virtual casacore::Bool linToWorld(casacore::Vector< casacore::Double > &world, const casacore::Vector< casacore::Double > &lin)
casacore::Coordinate transformations, called by the WorldCanvasHolder.
Abstract base class for Record classes.
virtual void refreshEH(const WCRefreshEvent &ev)
Refresh event handler, called by the WorldCanvasHolder.
virtual AttributeBuffer * elementRestrictionBuffer(const casacore::uInt itemNum)
Get a handle to the buffer of restrictions for item itemNum.
virtual casacore::Double getDataMax()
virtual void cleanup()
Clean up, ie.
std::list< void * > itsGalaxyList
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.