[vtkusers] RE: vtkusers digest, Vol 1 #2638 - 7 msgs

John Biddiscombe jbiddiscombe at skippingmouse.co.uk
Fri May 7 09:50:38 EDT 2004


Nice!

JB

----- Original Message ----- 
From: "Goodwin Lawlor" <goodwin.lawlor at ucd.ie>
To: <vtkusers at vtk.org>; <dean.inglis at camris.ca>
Sent: Friday, May 07, 2004 1:52 PM
Subject: [vtkusers] RE: vtkusers digest, Vol 1 #2638 - 7 msgs


> Dean,
>
> Here's an tcl example of an "orientation cube" using vector text:
> http://www.bioengineering-research.com/vtk/axes_example.tcl
>
> Hth,
>
> Goodwin
>
> --__--__--
>
> Message: 1
> From: <dean.inglis at camris.ca>
> To: <vtkusers at vtk.org>
> Subject: RE: [vtkusers] texture map to cube
> Date: Thu, 6 May 2004 20:04:18 -0400
>
> >What you need is an image which is an unfolded cube and then write a
> >texturemaptocube which computes the texture coords correctly
>
>       ------
>       | +Z |
>       ------
>  ---------------------
>  | -X | -Y | +X | +Y |
>  ---------------------
>       ------
>       | -Z |
>       ------
>
> >like this, then compute the texcoords from the offsets. Is that what
> >you're trying to do? JB
>
> JB, John thanks for your responses.
>
> yep, that's what I'm trying to do.  I fiddled about with a modified
> /Examples/VisualizationAlgorithms/Tcl/TransformTextureCoords.tcl
> to experiment with a vtkCubeSource, but it appears I'll have to
> implement vtkTextureMapToCube.  I'm trying to develop a corner
> orientation marker to make vtkPVAxesWidget more general: e.g., currently
> there is
>
> vtkPVAxesActor axesActor
> vtkPVAxesWidget widget
>   widget SetAxesActor axesActor
>
> but what I envision is
>
> vtkCubeOrientationActor cubeOrienter
> vtkOrientationMarkerWidget widget
> widget SetOrientationMarker cubeOrienter
> or,
> vtkAxesOrientationActor axesOrienter
> widget SetOrientationMarker axesOrienter
>
> I'll keep tinkering...(unless someone on VolView
> wants to give me a hint :)
>
> Dean
>
>
> --__--__--
>
> _______________________________________________
> 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://www.vtk.org/mailman/listinfo/vtkusers




More information about the vtkusers mailing list