00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00056 #ifndef __vtkIdentityTransform_h
00057 #define __vtkIdentityTransform_h
00058
00059 #include "vtkLinearTransform.h"
00060
00061 class VTK_EXPORT vtkIdentityTransform : public vtkLinearTransform
00062 {
00063 public:
00064 static vtkIdentityTransform *New();
00065
00066 vtkTypeMacro(vtkIdentityTransform,vtkLinearTransform);
00067 void PrintSelf(ostream& os, vtkIndent indent);
00068
00071 void TransformPoints(vtkPoints *inPts, vtkPoints *outPts);
00072
00075 void TransformNormals(vtkNormals *inNms, vtkNormals *outNms);
00076
00079 void TransformVectors(vtkVectors *inVrs, vtkVectors *outVrs);
00080
00083 void TransformPointsNormalsVectors(vtkPoints *inPts,
00084 vtkPoints *outPts,
00085 vtkNormals *inNms,
00086 vtkNormals *outNms,
00087 vtkVectors *inVrs,
00088 vtkVectors *outVrs);
00089
00090
00091
00092 void Inverse() {};
00093
00096 void InternalTransformPoint(const float in[3], float out[3]);
00097 void InternalTransformPoint(const double in[3], double out[3]);
00098
00101 void InternalTransformNormal(const float in[3], float out[3]);
00102 void InternalTransformNormal(const double in[3], double out[3]);
00103
00106 void InternalTransformVector(const float in[3], float out[3]);
00107 void InternalTransformVector(const double in[3], double out[3]);
00108
00111 void InternalTransformDerivative(const float in[3], float out[3],
00112 float derivative[3][3]);
00113 void InternalTransformDerivative(const double in[3], double out[3],
00114 double derivative[3][3]);
00115
00118 vtkAbstractTransform *MakeTransform();
00119
00120 protected:
00121 vtkIdentityTransform();
00122 ~vtkIdentityTransform();
00123 vtkIdentityTransform(const vtkIdentityTransform&) {};
00124 void operator=(const vtkIdentityTransform&) {};
00125
00126 void InternalDeepCopy(vtkAbstractTransform *t);
00127
00128 };
00129
00130 #endif
00131
00132
00133
00134
00135