[vtkusers] Transform a set of xyz datas

Tobias Aschoff tobias.aschoff at iww.uni-freiburg.de
Wed Dec 11 11:31:17 EST 2002


Dear VTK users,

to transform a Set of xyz data, I want use the class vtkTransform. I try
it in this way:


	// Anlegen einer Instanz zur Transformation
	vtkTransform *t1 = vtkTransform::New() ;

	// Setzen der Rotations und Translationsparameter
	t1->RotateX ( m_d_Rot_X ) ;
	t1->RotateY ( m_d_Rot_Y ) ;
	t1->RotateZ ( m_d_Rot_Z ) ;
	t1->Translate ( m_d_Trans_X , m_d_Trans_Y , m_d_Trans_Z ) ;

	double Point[3] = { 0.3 , 3.5 , 1.3 } ;
	
	??????



My problem is: I don't know how it is working continue. What I have to
do with my point to transform it by using t1? Did I use the right class
for this. 

Thanks for all request.

Tobias



More information about the vtkusers mailing list