C++ main module for gpm Package  1.0
MATH_RotationTransform.h
Go to the documentation of this file.
1 #ifndef MATH_RotationTransform_H
2 #define MATH_RotationTransform_H
3 
4 #include "MATH_SetTransformer.h"
5 
6 #include "MATH_Set.h"
7 
24  SP_OBJECT(MATH_RotationTransform);
25 
26  // ATTRIBUTES
27 public:
28 
29 private:
30 
31 
32 
33 protected:
34  // METHODS
35 
36  // CONSTRUCTORS
37 
41 
42 
43  // DESTRUCTORS
44 
45 
48  virtual ~MATH_RotationTransform(void);
49 
50 
51 private:
52 
53 public:
54 
57  static inline SP::MATH_RotationTransform New() {
58  SP::MATH_RotationTransform p(new MATH_RotationTransform(),MATH_RotationTransform::Delete());
59  p->setThis(p);
60  return p;
61  }
62 
65  virtual SP::MATH_FunctionNode newInstance() const {
66  return New();
67  }
68 
69 
70  // SET methods
71 
72 public:
73  // OTHERS methods
74 
75 
76 
77 
78 
79 
80 
81 protected:
84  virtual void evaluateParameters(MATH_Environment& symbols,MATH_Variable& var,double *& parameters,int& nParameters) const;
85 
86 
94  virtual tBoolean inverseTransform(const int& nParameters,const double *parameters,double p[3],double *work) const;
95 
103  virtual void transform(const int& nParameters,const double *parameters,double p[3],double *work) const;
104 };
105 
106 #endif
static SP::MATH_RotationTransform New()
create a node expression
Definition: MATH_RotationTransform.h:57
This class decribes a variable class for evaluation.
Definition: MATH_Variable.h:16
virtual ~MATH_RotationTransform(void)
destroy
Definition: MATH_RotationTransform.cpp:7
This class describes a set transformer application of a set in the form AX+B.
Definition: MATH_SetTransformer.h:15
MATH_RotationTransform(void)
create
Definition: MATH_RotationTransform.cpp:3
virtual void transform(const int &nParameters, const double *parameters, double p[3], double *work) const
transformation of point p P:=cos(theta).OP+(1-cos(theta))*W+sin(theta) W^OP+O theta=parameters[...
Definition: MATH_RotationTransform.cpp:72
#define tBoolean
Definition: types.h:35
virtual tBoolean inverseTransform(const int &nParameters, const double *parameters, double p[3], double *work) const
inverse transformation of point p P:=cos(theta).OP+(1-cos(theta))*W-sin(theta) W^OP+O theta=par...
Definition: MATH_RotationTransform.cpp:102
virtual SP::MATH_FunctionNode newInstance() const
create a node expression
Definition: MATH_RotationTransform.h:65
This class describes a rotation application of angle theta, straight line (O,W):
Definition: MATH_RotationTransform.h:23
This class decribes an environment class.
Definition: MATH_Environment.h:14
DEFINE_SPTR(MATH_RotationTransform)
virtual void evaluateParameters(MATH_Environment &symbols, MATH_Variable &var, double *&parameters, int &nParameters) const
evaluate the arguments
Definition: MATH_RotationTransform.cpp:10
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:106