User talk:ClaudeG: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
(New page: Hi to you all I have just starting in Vtk-Programming and i have 2 question, perhaps you can help me. 1) I want to add numbers (float, int, double) in the window where all the other stuf...)
 
No edit summary
 
Line 3: Line 3:
I have just starting in Vtk-Programming and i have 2 question, perhaps you can help me.
I have just starting in Vtk-Programming and i have 2 question, perhaps you can help me.


1) I want to add numbers (float, int, double) in the window where all the other stuff like sphere, cube etc. are shown, but i   
1) I want to add numbers (float, int, double) in the window where all the other stuff like sphere, cube etc. are shown, but i  don't know how to get the numbers in this window. How can i use floatArray to show numbers in the window or an other part of the question is, can one add a timer into the window who shows the time of the simulation.
  don't know how to get the numbers in this window. How can i use floatArray to show numbers in the window or an other part  
  of the question is, can one add a timer into the window who shows the time of the simulation.


2) My second question is that if i had added an object like a shpere into the window with ren->AddActor(sphere) and i want to  
2) My second question is that if i had added an object like a shpere into the window with ren->AddActor(sphere) and i want to change the position of the sphere, how can i change this in the window without creating a new sphere and setting this new sphere on the right position and than adding this one into the window after deleting the other.
  change the position of the sphere, how can i change this in the window without creating a new sphere and setting this new  
  sphere on the right position and than adding this one into the window after deleting the other.




I hope you can help me, so thanks you, Vtk-Users
I hope you can help me, so thanks you, Vtk-Users

Latest revision as of 12:52, 19 June 2009

Hi to you all

I have just starting in Vtk-Programming and i have 2 question, perhaps you can help me.

1) I want to add numbers (float, int, double) in the window where all the other stuff like sphere, cube etc. are shown, but i don't know how to get the numbers in this window. How can i use floatArray to show numbers in the window or an other part of the question is, can one add a timer into the window who shows the time of the simulation.

2) My second question is that if i had added an object like a shpere into the window with ren->AddActor(sphere) and i want to change the position of the sphere, how can i change this in the window without creating a new sphere and setting this new sphere on the right position and than adding this one into the window after deleting the other.


I hope you can help me, so thanks you, Vtk-Users