TransformBase.h
Go to the documentation of this file.
1 /* -*- mode: c++ -*- */
2 
14 #ifndef _TransformBase_H_
15 #define _TransformBase_H_
16 
17 #include "pattern/libhippo.h"
18 
19 #include <string>
20 
21 namespace hippodraw {
22 
23 class Range;
24 
36 {
37 
38 protected:
39 
40 
42  std::string m_name;
43 
45  TransformBase ();
46 
48  TransformBase ( const TransformBase & t );
49 
50  public:
51 
53  virtual ~TransformBase();
54 
56  const std::string & name () const;
57 
59  virtual TransformBase * clone () const = 0;
60 
62  virtual double aspectRatio () const;
63 
64 };
65 
66 } // namespace hippodraw
67 
68 #endif // _TransformBase_H_
#define MDL_HIPPOPLOT_API
Definition: libhippo.h:36
A transform that transforms coordinates from one coordinate system to another.
Definition: TransformBase.h:35
numeric::array clone(numeric::array arr)
Definition: num_util.cpp:412
std::string m_name
Name of the Transform.
Definition: TransformBase.h:42

Generated for HippoDraw Class Library by doxygen