TransformFactory.h
Go to the documentation of this file.
1 /* -*- mode: c++ -*-
2  *
3  * HippoPlot TransformFactory class interface
4  *
5  * Copyright (C) 2000, 2001, 2003 The Board of Trustees of The Leland
6  * Stanford Junior University. All Rights Reserved.
7  *
8  * $Id: TransformFactory.h,v 1.16 2005/10/30 00:10:18 pfkeb Exp $
9  *
10  */
11 
12 #ifndef _TransformFactory_H_
13 #define _TransformFactory_H_
14 
15 #include "pattern/Factory.h"
16 
17 namespace hippodraw {
18 
19 class TransformBase;
20 
28 class MDL_HIPPOPLOT_API TransformFactory : public Factory < TransformBase >
29 {
30 
31  private:
32 
35 
38 
41 
43  void initialize ();
44 
47  TransformBase * createXY ( const std::string & x_trans,
48  const std::string & y_trans,
49  const std::string & z_trans );
50 
51  public:
52 
54  static TransformFactory * instance ();
55 
72  TransformBase * createTransform ( const std::string & name );
73 
76  TransformBase * createXYZ ( const std::string & x_trans,
77  const std::string & y_trans,
78  const std::string & z_trans );
79 
80 };
81 
82 } // namespace hippodraw
83 
84 #endif // _TransformFactory_H_

Generated for HippoDraw Class Library by doxygen