LatticePADM.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 #ifndef TRIALDISPLAY_LATTICEPADM_H
00029 #define TRIALDISPLAY_LATTICEPADM_H
00030
00031
00032 #include <casa/aips.h>
00033
00034
00035 #include <display/DisplayDatas/PrincipalAxesDM.h>
00036
00037 namespace casa {
00038
00039
00040 template <class T> class Array;
00041 template <class T> class MaskedLattice;
00042 class IPosition;
00043 template <class T> class LatticePADisplayData;
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054 template <class T> class LatticePADisplayMethod : public PrincipalAxesDM {
00055
00056 public:
00057
00058
00059
00060 LatticePADisplayMethod();
00061 LatticePADisplayMethod(const uInt xAxis, const uInt yAxis,
00062 const uInt mAxis, const IPosition fixedPos,
00063 LatticePADisplayData<T> *arDat);
00064
00065 LatticePADisplayMethod(const uInt xAxis, const uInt yAxis,
00066 LatticePADisplayData<T> *arDat);
00067
00068
00069 virtual ~LatticePADisplayMethod();
00070
00071
00072 virtual Bool dataGetSlice(Matrix<T>& datMatrix,
00073 Matrix<Bool>& mask,
00074 const IPosition& start,
00075 const IPosition& sliceShape,
00076 const IPosition& stride);
00077 protected:
00078
00079
00080 virtual IPosition dataShape();
00081
00082
00083
00084 virtual Bool dataGetSlice(Matrix<T>& datMatrix,
00085 Matrix<Bool>& mask,
00086 const IPosition& start,
00087 const IPosition& sliceShape,
00088 const IPosition& stride,
00089 MaskedLattice<T>& latt);
00090
00091 private:
00092
00093 };
00094
00095
00096 }
00097
00098 #ifndef AIPS_NO_TEMPLATE_SRC
00099 #include <display/DisplayDatas/LatticePADM.tcc>
00100 #endif //# AIPS_NO_TEMPLATE_SRC
00101 #endif