Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

sxy_curve_array.h

Go to the documentation of this file.
00001 
00002 #ifndef curve_array_h
00003 #define curve_array_h
00004 
00005 // =======================================================================
00006 
00007 #include "sxy_curve_simple.h"
00008 
00009 // =======================================================================
00010 
00015 class SXYArrayCurve : public SXYSimpleCurve {
00016 
00019    unsigned int read_only;
00020 
00021  public:
00022 
00023    unsigned int getCurveSize(void);
00024 
00025    void insertPoint(double x, double y);
00026    void insertHole(void);
00027    void removePointAt(unsigned int n);
00028    void insertHoleAt(unsigned int n);
00029    void insertPointAt(unsigned int n, double x, double y);
00030 
00031    unsigned int isInvalidValue(double v);
00032    unsigned int isInvalidPoint(unsigned int n);
00033 
00034    void writePoint(unsigned int n, double x, double y);
00035    void invalidateCurvePoint(unsigned int n);
00036 
00037    unsigned int isReadOnly(void);
00038    void setReadOnly(unsigned int ro);
00039    unsigned int tryPointEditionCallback(unsigned int m, unsigned int s,
00040             unsigned int n);
00041 
00042    SXYArrayCurve(unsigned int n);
00043    virtual ~SXYArrayCurve();
00044 };
00045 
00046 #endif
00047 

SXY
Tecgraf / PUC-Rio - Computer Graphics Technology Group