[vtkusers] vtkProjectedTexture methods

John Biddiscombe jbiddiscombe at skippingmouse.co.uk
Tue Jun 12 04:53:55 EDT 2001


You'll get better results (more accurate) using vtkTexTureMapToPlane


At 11:16 12/06/2001, AFANGNIKE wrote:
>How to use vtkProjectedTexture ??
>
>Here is my terrain limit coordinates :
>UL : 658896, 3096715
>LR : 661782, 3099490
>
>The methods to use are :
>tmapper = vtkProjectedTexture::New() ;
>
>tmapper->SetPosition(660000, 3098000, 300) ;  // ??
>tmapper->SetPosition(0, 0.0, 0) ; // ??
>tmapper->SetFocalPoint(660000, 3098000, 400) ; // ??
>tmapper->SetFocalPoint(0, 0, 1.2) ; // ??
>tmapper->SetAspectRatio(1.2, 0.7, 1) ; // ??
>tmapper->SetTRange(658896, 661782); // ??
>tmapper->SetSRange(3096715, 3099490); // ??
>tmapper->SetSRange(3, 10) ; // ??
>tmapper->SetTRange(3, 6) ; // ??
>
>tmapper->SetInput(reader->GetOutput());
>
>How to use this methods properly in order to warp exactly a image representing
>a aerial orthophoto, on a terrain model (dtm) ??
>
>I will be pleased if somebody have an idea on how to choose the right
>parameters to do this.
>
>LOVE YOU ALL
>
>thanks.
>______________________________________________
>
>Ce courrier a été envoyé depuis http://www.dromadaire.com .
>Plus de 2500 cartes virtuelles à envoyer !
>
>_______________________________________________
>This is the private VTK discussion list.
>Please keep messages on-topic. Check the FAQ at: 
><http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://public.kitware.com/mailman/listinfo/vtkusers





More information about the vtkusers mailing list