Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
transforms
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
27
class
MDL_HIPPOPLOT_API
XYZTransform
:
public
XYZTransformBase
28
{
29
31
UnaryTransform
*
m_x
;
32
34
UnaryTransform
*
m_y
;
35
37
UnaryTransform
*
m_z
;
38
39
public
:
40
43
XYZTransform
(
UnaryTransform
* x,
UnaryTransform
* y,
UnaryTransform
* z );
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_
Generated for HippoDraw Class Library by