XYZTransform.h
Go to the documentation of this file.
1 /* -*- mode: c++ -*-
2  *
3  * HippoPlot XYZTransform class interface
4  *
5  * Copyright (C) 2001-2003 The Board of Trustees of The Leland
6  * Stanford Junior University. All Rights Reserved.
7  *
8  * $Id: XYZTransform.h,v 1.13 2006/05/27 00:00:13 xiefang Exp $
9  */
10 
11 #ifndef _XYZTransform_H_
12 #define _XYZTransform_H_
13 
14 #include "XYZTransformBase.h"
15 
16 #include <vector>
17 
18 namespace hippodraw {
19 
20 class UnaryTransform;
21 
28 {
29 
32 
35 
38 
39 public:
40 
44 
46  XYZTransform ( const XYZTransform & );
47 
49  virtual ~XYZTransform();
50 
52 #ifdef CLONE_DEFECT
53  virtual TransformBase * clone () const;
54 #else
55  virtual XYZTransform * clone () const;
56 #endif
57 
59  TransformBase * xTransform () const;
60 
62  TransformBase * yTransform () const;
63 
65  TransformBase * zTransform () const;
66 
67  virtual void transform ( double & x, double & y, double & z ) const;
68 
69  virtual void transform ( std::vector< double > & x,
70  std::vector< double > & y,
71  std::vector< double > & z ) const;
72 
73  virtual void validate ( Range & x, Range & y, Range & z ) const;
74 
76  virtual const Range & limitX () const;
77 
79  virtual const Range & limitY () const;
80 
82  virtual const Range & limitZ () const;
83 
85  virtual bool isLinearInZ () const;
86 };
87 
88 } // namespace hippodraw
89 
90 #endif // _XYZTransform_H_
#define MDL_HIPPOPLOT_API
Definition: libhippo.h:36
A transform that transforms coordinates from one coordinate system to another.
Definition: TransformBase.h:35
A transform that transforms coordinates from one 3D coordinate system to another. ...
numeric::array clone(numeric::array arr)
Definition: num_util.cpp:412
UnaryTransform * m_y
The transform on the Y axis.
Definition: XYZTransform.h:34
A transform that transforms the X, Y and Z coordinates independently.
Definition: XYZTransform.h:27
UnaryTransform * m_x
The transform on the X axis.
Definition: XYZTransform.h:31
UnaryTransform * m_z
The transform on the Z axis.
Definition: XYZTransform.h:37
A transform that transforms coordinates in one dimension from one coordinate system to another...
Expresses a range of values.
Definition: Range.h:33

Generated for HippoDraw Class Library by doxygen