TransformBase.cxx
Go to the documentation of this file.
1 /*
2  * HippoPlot TransformBase class implementation
3  *
4  *
5  * Copyright (C) 2001, 2002 The Board of Trustees of The Leland Stanford
6  * Junior University. All Rights Reserved.
7  *
8  * $Id: TransformBase.cxx,v 1.21 2005/10/30 00:10:18 pfkeb Exp $
9  */
10 
11 // for dll interface warning
12 #ifdef _MSC_VER
13 #include "msdevstudio/MSconfig.h"
14 #endif
15 
16 #include "TransformBase.h"
17 
18 #include "axes/Range.h"
19 
20 #include <cassert>
21 
22 using std::string;
23 
24 namespace hippodraw {
25 
32 {
33  m_name = "nil";
34 }
35 
37  : m_name ( t.m_name )
38 {
39 }
40 
42 {
43 }
44 
45 const string & TransformBase::name () const
46 {
47  return m_name;
48 }
49 
51 {
52  return 0.0;
53 }
54 
55 } // namespace hippodraw
virtual ~TransformBase()
The virtual destructor.
A transform that transforms coordinates from one coordinate system to another.
Definition: TransformBase.h:35
TransformBase()
The default constructor.
const std::string & name() const
Returns the name of the Transform.
std::string m_name
Name of the Transform.
Definition: TransformBase.h:42
hippodraw::Range class interface
TransformBase class interface.
virtual double aspectRatio() const
Get the aspect ratio.

Generated for HippoDraw Class Library by doxygen