[vtkusers] Diagonal across a cube

Andrew Maclean andrew.amaclean at gmail.com
Sun Mar 5 17:13:17 EST 2006


You may need to make the cube transparent unless you are just showing a
wireframe.

Look at vtkLine for drawing the diagonal.

Andrew


-----Original Message-----
From: Jessica Weiner [mailto:suspended at gmail.com] 
Sent: Saturday, 4 March 2006 07:06
To: vtkusers at vtk.org
Subject: [vtkusers] Diagonal across a cube

I am trying to draw a diagonal across a cube, like this:
http://mathforum.org/workshops/lucent/Image13.gif

How can this be achieved? What vtk classes can be used for this?

Thank you.
Jess






More information about the vtkusers mailing list