C++ main module for gpm Package  1.0
MATH_TranslationTransform.h
Go to the documentation of this file.
1 #ifndef MATH_TranslationTransform_H
2 #define MATH_TranslationTransform_H
3 
4 #include "MATH_SetTransformer.h"
5 
6 #include "MATH_Set.h"
7 
21  SP_OBJECT(MATH_TranslationTransform);
22 
23  // ATTRIBUTES
24 public:
25 
26 private:
27 
28 
29 
30 protected:
31  // METHODS
32 
33  // CONSTRUCTORS
34 
38 
39 
40  // DESTRUCTORS
41 
42 
45  virtual ~MATH_TranslationTransform(void);
46 
47 
48 private:
49 
50 public:
51 
54  static inline SP::MATH_TranslationTransform New() {
55  SP::MATH_TranslationTransform p(new MATH_TranslationTransform(),MATH_TranslationTransform::Delete());
56  p->setThis(p);
57  return p;
58  }
59 
62  virtual SP::MATH_FunctionNode newInstance() const {
63  return New();
64  }
65 
66 
67  // SET methods
68 
69 public:
70  // OTHERS methods
71 
72 
73 
74 
75 
76 
77 
78 protected:
81  virtual void evaluateParameters(MATH_Environment& symbols,MATH_Variable& var,double *& parameters,int& nParameters) const;
82 
86  virtual tBoolean inverseTransform(const int& nParameters,const double *parameters,double p[3],double *work) const;
87 
91  virtual void transform(const int& nParameters,const double *parameters,double p[3],double *work) const;
92 };
93 
94 #endif
This class decribes a variable class for evaluation.
Definition: MATH_Variable.h:16
This class describes a set transformer application of a set in the form AX+B.
Definition: MATH_SetTransformer.h:15
MATH_TranslationTransform(void)
create
Definition: MATH_TranslationTransform.cpp:3
virtual tBoolean inverseTransform(const int &nParameters, const double *parameters, double p[3], double *work) const
inverse transformation of point p P-=U
Definition: MATH_TranslationTransform.cpp:55
#define tBoolean
Definition: types.h:35
virtual void transform(const int &nParameters, const double *parameters, double p[3], double *work) const
transformation of point p P+=U
Definition: MATH_TranslationTransform.cpp:48
This class describes a translation application of vector U.
Definition: MATH_TranslationTransform.h:20
virtual void evaluateParameters(MATH_Environment &symbols, MATH_Variable &var, double *&parameters, int &nParameters) const
evaluate the arguments
Definition: MATH_TranslationTransform.cpp:10
virtual SP::MATH_FunctionNode newInstance() const
create a node expression
Definition: MATH_TranslationTransform.h:62
virtual ~MATH_TranslationTransform(void)
destroy
Definition: MATH_TranslationTransform.cpp:7
static SP::MATH_TranslationTransform New()
create a node expression
Definition: MATH_TranslationTransform.h:54
DEFINE_SPTR(MATH_TranslationTransform)
This class decribes an environment class.
Definition: MATH_Environment.h:14
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:106