[vtkusers] Re: vtkusers digest, Vol 1 #1128 - 11 msgs
J.Fang
tsing22199 at mails.tsinghua.edu.cn
Fri Jul 26 21:26:08 EDT 2002
访京你好
家里身体都好
----- Original Message -----
From: <vtkusers-request at public.kitware.com>
To: <vtkusers at public.kitware.com>
Sent: Friday, July 12, 2002 1:15 PM
Subject: vtkusers digest, Vol 1 #1128 - 11 msgs
> Send vtkusers mailing list submissions to
> vtkusers at public.kitware.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://public.kitware.com/mailman/listinfo/vtkusers
> or, via email, send a message with subject or body 'help' to
> vtkusers-request at public.kitware.com
>
> You can reach the person managing the list at
> vtkusers-admin at public.kitware.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of vtkusers digest..."
>
>
> Today's Topics:
>
> 1. Question about adding new classes in vtk4.0 (Yuan Jin)
> 2. Re: Question about adding new classes in vtk4.0 (William A. Hoffman)
> 3. Building vtk on Mac OS X (Surajit Nundy)
> 4. VTK Python on Sun Solaris (Hua Qian)
> 5. Re: VTK Python on Sun Solaris (Andy Cedilnik)
> 6. Re: Building vtk on Mac OS X - wrapping apps (Yves Starreveld)
> 7. Re: using a VolumePro board to visualize large volumes (David Netherway)
> 8. Re: vtkPowerCrustSurfaceReconstruction (David Netherway)
> 9. How to read .VOL files (Shanker Krishnan)
> 10. vtkNormals in vtk4.0 (Yuan Jin)
> 11. unwanted cliping in vtkStructuredPoints? (Ross Hennessy)
>
> --__--__--
>
> Message: 1
> From: "Yuan Jin" <yjin76 at hotmail.com>
> To: vtkusers at public.kitware.com
> Date: Thu, 11 Jul 2002 17:32:22 +0000
> Subject: [vtkusers] Question about adding new classes in vtk4.0
>
> Hi all,
>
> when I use VC++ 6.0 to build my own classes in VTK4.0 after running CMake,
> it comes up the errors below when it compiles my class: (I just select
> ALL_BUILD project and build it in Win32 Release mode)
>
> D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\strstream(51) : error
> C2039: 'seekdir' : is not a member of 'ios'
> D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\ios.h(106) : see
> declaration of 'ios'
> D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\strstream(51) : error
> C2061: syntax error : identifier 'seekdir'
> D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\strstream(54) : error
> C2039: 'openmode' : is not a member of 'ios'
> D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\ios.h(106) : see
> declaration of 'ios'
> .
> .
> .
> Could anybody tell me where the errors are?
>
> Thanks a lot
>
> _________________________________________________________________
> Send and receive Hotmail on your mobile device: http://mobile.msn.com
>
>
> --__--__--
>
> Message: 2
> Date: Thu, 11 Jul 2002 13:51:51 -0400
> To: "Yuan Jin" <yjin76 at hotmail.com>, vtkusers at public.kitware.com
> From: "William A. Hoffman" <billlist at nycap.rr.com>
> Subject: Re: [vtkusers] Question about adding new classes in vtk4.0
>
> This looks like a mix of ANSI streams and non-ansi streams.
> If you set cmake to VTK_USE_ANSI_STDLIB true, then VTK will use
> <iostream> and not <iostream.h>.
>
> So, if your code uses <iostream.h> you have to set VTK_USE_ANSI_STDLIB to false.
> If your code uses <iostream> then you have to set VTK_USE_ANSI_STDLIB to true.
> Or you could remove the includes of iostream from your code, and get it from VTK.
>
> -Bill
>
>
> At 05:32 PM 7/11/2002 +0000, Yuan Jin wrote:
> >Hi all,
> >
> >when I use VC++ 6.0 to build my own classes in VTK4.0 after running CMake, it comes up the errors below when it compiles my class: (I just select ALL_BUILD project and build it in Win32 Release mode)
> >
> >D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\strstream(51) : error C2039: 'seekdir' : is not a member of 'ios'
> >D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\ios.h(106) : see declaration of 'ios'
> >D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\strstream(51) : error C2061: syntax error : identifier 'seekdir'
> >D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\strstream(54) : error C2039: 'openmode' : is not a member of 'ios'
> >D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\ios.h(106) : see declaration of 'ios'
> >.
> >.
> >.
> >Could anybody tell me where the errors are?
> >
> >Thanks a lot
> >
> >_________________________________________________________________
> >Send and receive Hotmail on your mobile device: http://mobile.msn.com
> >
> >_______________________________________________
> >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
>
>
> --__--__--
>
> Message: 3
> Date: Thu, 11 Jul 2002 14:49:46 -0400
> From: Surajit Nundy <nundys at neuro.duke.edu>
> To: vtkusers at public.kitware.com
> Subject: [vtkusers] Building vtk on Mac OS X
>
> Hello,
> I am new to vtk having read
> http://www.macdevcenter.com/pub/a/mac/2002/06/28/data_visualization.html in the
> O'Reilly MacDevcenter. I've been trying to follow the instructions to the
> letter, but I can never get interactivity in a vtk window. All the
> demonstrations in the article (expCos, BandContourTerrain, TimeRenderer,
> TimeRenderer2 and Mace -I) can be visualized, but the Windows do not have any
> interactivity (./Mace behaves like ./Mace -I). The only way to quit them is by
> doing a kill on the parent process or Ctrl-C. I'd be very grateful if you could
> help me.
>
> Surajit Nundy
>
>
> --__--__--
>
> Message: 4
> Date: Thu, 11 Jul 2002 16:14:23 -0400
> From: Hua Qian <hqian at imaging.robarts.ca>
> Organization: Robarts Research Institute
> To: vtkusers at public.kitware.com
> Subject: [vtkusers] VTK Python on Sun Solaris
>
> Hello vtkusers,
>
> I have a lots of troubles with VTK Python wrapping on Solaris.
> I am using Tcl/Tk 8.3.4, Python 2.2.1, VTK CVS (July 8),
> Sun C/C++ compiler 5.3 (also tried gcc-2.95.3). Python was
> built with C++ support enabled and static libpython (libpython2.2.a).
>
> The making for VTK was successful and the tcl wrapping works
> just fine, but the python wrapping doesn't work:
>
> [hqian at theremin Python-2.2.1]% ./python
> Python 2.2.1 (#6, Jul 8 2002, 18:42:46) [C] on sunos5
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import vtk
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> File "/net/chaos/chaos/data/hqian/VTK/Wrapping/Python/vtk/__init__.py",
> line 7, in ?
> from common import *
> File "/net/chaos/chaos/data/hqian/VTK/Wrapping/Python/vtk/common.py",
> line 7, in ?
> from libvtkCommonPython import *
> ImportError: ld.so.1: ./python: fatal: relocation error:
> file /net/chaos/chaos/data/hqian/VTK-sun/bin/libvtkCommonPython.so:
> symbol __1cG__CrunKpure_error6F_v_: referenced symbol not found
>
> David Gobbi pointed me to Andy Cedilnik's posts in the vtk-developers
> mailing-list:
> http://public.kitware.com/pipermail/vtk-developers/2002-May/thread.htm
> I tried Andy's approach, recompiling python (called it vtkpython) with
> C++ compiler,
> but I still could not load vtk import python. The error message is
> different though,
>
> hqian at theremin Python-2.2.1]% ./vtkpython
> Python 2.2.1 (#4, Jul 8 2002, 08:46:42) [C] on sunos5
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import vtk
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> File "/net/chaos/chaos/data/hqian/VTK/Wrapping/Python/vtk/__init__.py",
> line 7, in ?
> from common import *
> File "/net/chaos/chaos/data/hqian/VTK/Wrapping/Python/vtk/common.py",
> line 7, in ?
> from libvtkCommonPython import *
> ImportError: ld.so.1: ./vtkpython: fatal: relocation error:
> file /net/chaos/chaos/data/hqian/VTK-sun/bin/libvtkCommonPython.so:
> symbol __1cDstdEcerr_: referenced symbol not found
>
> The static lib libpython*.a might be the source of the problem, but the
> python distribution doesn't offer an easy way to build dynamic loaded
> libpython*.so.
>
> Thanks in advance for any help!
>
> Hua
>
> --
> Hua Qian, Ph.D.
> Programmer/Analyst
> Imaging Research Laboratories
> Robarts Research Institute
>
>
>
> --__--__--
>
> Message: 5
> Subject: Re: [vtkusers] VTK Python on Sun Solaris
> From: Andy Cedilnik <andy.cedilnik at kitware.com>
> To: Hua Qian <hqian at imaging.robarts.ca>
> Cc: vtk-users <vtkusers at public.kitware.com>
> Date: 11 Jul 2002 17:41:05 -0400
>
> I suspect you are using Sun's C++ compiler.
>
> The problem is simple; some of the static constructors of C++ classes
> are not called in the right order because Python is being build with C
> compiler and not C++. So, the solution is to use vtkpython, which is yet
> to be made. There is a pore attempt of mine in VTK/Wrapping/Python, but
> does not work just yet. I will finish it once I have some more time.
>
> What you can do for now, is to look at that file and try to compile it.
> It is called vtkpython.cxx.in. You will have to modify the CMakeLists
> files just a bit.
>
> Andy
>
> On Thu, 2002-07-11 at 16:14, Hua Qian wrote:
> > Hello vtkusers,
> >
> > I have a lots of troubles with VTK Python wrapping on Solaris.
> > I am using Tcl/Tk 8.3.4, Python 2.2.1, VTK CVS (July 8),
> > Sun C/C++ compiler 5.3 (also tried gcc-2.95.3). Python was
> > built with C++ support enabled and static libpython (libpython2.2.a).
> >
> > The making for VTK was successful and the tcl wrapping works
> > just fine, but the python wrapping doesn't work:
> >
> > [hqian at theremin Python-2.2.1]% ./python
> > Python 2.2.1 (#6, Jul 8 2002, 18:42:46) [C] on sunos5
> > Type "help", "copyright", "credits" or "license" for more information.
> > >>> import vtk
> > Traceback (most recent call last):
> > File "<stdin>", line 1, in ?
> > File "/net/chaos/chaos/data/hqian/VTK/Wrapping/Python/vtk/__init__.py",
> > line 7, in ?
> > from common import *
> > File "/net/chaos/chaos/data/hqian/VTK/Wrapping/Python/vtk/common.py",
> > line 7, in ?
> > from libvtkCommonPython import *
> > ImportError: ld.so.1: ./python: fatal: relocation error:
> > file /net/chaos/chaos/data/hqian/VTK-sun/bin/libvtkCommonPython.so:
> > symbol __1cG__CrunKpure_error6F_v_: referenced symbol not found
> >
> > David Gobbi pointed me to Andy Cedilnik's posts in the vtk-developers
> > mailing-list:
> > http://public.kitware.com/pipermail/vtk-developers/2002-May/thread.htm
> > I tried Andy's approach, recompiling python (called it vtkpython) with
> > C++ compiler,
> > but I still could not load vtk import python. The error message is
> > different though,
> >
> > hqian at theremin Python-2.2.1]% ./vtkpython
> > Python 2.2.1 (#4, Jul 8 2002, 08:46:42) [C] on sunos5
> > Type "help", "copyright", "credits" or "license" for more information.
> > >>> import vtk
> > Traceback (most recent call last):
> > File "<stdin>", line 1, in ?
> > File "/net/chaos/chaos/data/hqian/VTK/Wrapping/Python/vtk/__init__.py",
> > line 7, in ?
> > from common import *
> > File "/net/chaos/chaos/data/hqian/VTK/Wrapping/Python/vtk/common.py",
> > line 7, in ?
> > from libvtkCommonPython import *
> > ImportError: ld.so.1: ./vtkpython: fatal: relocation error:
> > file /net/chaos/chaos/data/hqian/VTK-sun/bin/libvtkCommonPython.so:
> > symbol __1cDstdEcerr_: referenced symbol not found
> >
> > The static lib libpython*.a might be the source of the problem, but the
> > python distribution doesn't offer an easy way to build dynamic loaded
> > libpython*.so.
> >
> > Thanks in advance for any help!
> >
> > Hua
> >
> > --
> > Hua Qian, Ph.D.
> > Programmer/Analyst
> > Imaging Research Laboratories
> > Robarts Research Institute
> >
> >
> > _______________________________________________
> > 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
>
>
>
> --__--__--
>
> Message: 6
> Date: Thu, 11 Jul 2002 20:17:13 -0400
> Subject: Re: [vtkusers] Building vtk on Mac OS X - wrapping apps
> Cc: vtkusers at public.kitware.com
> To: Surajit Nundy <nundys at neuro.duke.edu>
> From: Yves Starreveld <ystarrev at uwo.ca>
>
> Hi, Surajit,
>
> On OSX, if you want an app to be recognized by the window manager as an
> event-recipient, the binary must be ensconced in an 'app wrapper'
>
> This is a collection of directories, top level ends in .app.
> Subdirectory Contents contains an Info.plist file and a MacOS directory.
> The MacOS directory contains the binary executable.
>
> The easiest way to get this going is to get an example application from
> Apples' sample software, download it, copy the .app directory, and
> replace its binary with your Mace binary for example. Then, when you
> execute the Mace binary, the app will launch, appear in the dock, and
> the window manager will properly send it events.
>
> This needs to be integrated into the vtk build process, but since only
> the interactive apps need it, and the tests run fine without, it hasn't
> happened as yet.
>
> Yves
> On Thursday, July 11, 2002, at 02:49 PM, Surajit Nundy wrote:
>
> > Hello,
> > I am new to vtk having read
> > http://www.macdevcenter.com/pub/a/mac/2002/06/28/data_visualization.html
> > in the O'Reilly MacDevcenter. I've been trying to follow the
> > instructions to the letter, but I can never get interactivity in a vtk
> > window. All the demonstrations in the article (expCos,
> > BandContourTerrain, TimeRenderer, TimeRenderer2 and Mace -I) can be
> > visualized, but the Windows do not have any interactivity (./Mace
> > behaves like ./Mace -I). The only way to quit them is by doing a kill
> > on the parent process or Ctrl-C. I'd be very grateful if you could help
> > me.
> >
> > Surajit Nundy
> >
> > _______________________________________________
> > 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
> >
>
>
> --__--__--
>
> Message: 7
> From: "David Netherway" <david.netherway at adelaide.edu.au>
> To: <vtkusers at public.kitware.com>
> Subject: Re: [vtkusers] using a VolumePro board to visualize large volumes
> Date: Fri, 12 Jul 2002 10:17:22 +0930
>
> When interaction is started or ended, change the supersampling
> appropriately.
>
> Regards, David
>
> ----- Original Message -----
> From: "Steffen Oeltze" <Steffen.Oeltze at Student.Uni-Magdeburg.DE>
> To: <vtkusers at public.kitware.com>
> Sent: Thursday, 11 July, 2002 11:53 PM
> Subject: [vtkusers] using a VolumePro board to visualize large volumes
>
>
> > Hi,
> >
> > My Name is Steffen Oeltze and I'm doing research at the
> > University of Magdeburg, Germany.
> >
> > I'm using VTK4.0 and the VolumePro500 board. When I try to
> > visualize a large volume (512x512x181) the interaction, e.g.
> > rotating the volume, becomes slow. I would like to use a
> > lower resolution of the volume during interaction as
> > implemented in VolView1.3.
> > Is there anybody who can help me with that ?
> >
> > Regards,
> > Steffen
> > _______________________________________________
> > 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
> >
>
>
> --__--__--
>
> Message: 8
> From: "David Netherway" <david.netherway at adelaide.edu.au>
> To: <vtkusers at public.kitware.com>,
> "Tim Hutton" <T.Hutton at eastman.ucl.ac.uk>
> Subject: Re: [vtkusers] vtkPowerCrustSurfaceReconstruction
> Date: Fri, 12 Jul 2002 10:37:44 +0930
>
> Hello Tim,
>
> Perhaps there could be a Gnu directory, just as there is a Patented
> directory.
>
> Regards, David
>
> ----- Original Message -----
> From: "Tim Hutton" <T.Hutton at eastman.ucl.ac.uk>
> To: <vtkusers at public.kitware.com>
> Sent: Friday, 12 July, 2002 2:39 AM
> Subject: [vtkusers] vtkPowerCrustSurfaceReconstruction
>
>
> > Hello vtkusers,
> >
> > Anybody out there doing surface reconstruction using
> > vtkSurfaceReconstructionFilter will be interested in this new class which
> > is a big improvement. It is a port of the PowerCrust algorithm to VTK.
> >
> > Due to licensing issues it cannot currently become part of the main VTK
> > distribution but if you want to use it then please download it from here:
> >
> > http://www.eastman.ucl.ac.uk/~thutton/powercrust
> >
> > Let me know if you have any problems.
> >
> > Tim.
> >
> > _______________________________________________
> > 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
> >
>
>
> --__--__--
>
> Message: 9
> From: Shanker Krishnan <shanker at iiitb.ac.in>
> To: "'vtkusers at public.kitware.com'" <vtkusers at public.kitware.com>
> Date: Fri, 12 Jul 2002 08:29:22 +0530
> Subject: [vtkusers] How to read .VOL files
>
> Hi,
>
> I am pretty new to the VTK. Can anyone tell me or give me a code to read tne
> *.VOL data in vtk and render it.
> Thanks in advance
>
> --__--__--
>
> Message: 10
> From: "Yuan Jin" <yjin76 at hotmail.com>
> To: vtkusers at public.kitware.com
> Date: Fri, 12 Jul 2002 04:15:09 +0000
> Subject: [vtkusers] vtkNormals in vtk4.0
>
> Hi all,
>
> VtkNormals is an obsolete class in vtk4.0, which one is used instead?
>
> Thanks,
>
>
> _________________________________________________________________
> Send and receive Hotmail on your mobile device: http://mobile.msn.com
>
>
> --__--__--
>
> Message: 11
> From: "Ross Hennessy" <R.Hennessy at acfr.usyd.edu.au>
> To: <vtkusers at public.kitware.com>
> Date: Fri, 12 Jul 2002 15:14:46 +1000
> Subject: [vtkusers] unwanted cliping in vtkStructuredPoints?
>
> This is a multi-part message in MIME format.
>
> ------=_NextPart_000_0068_01C229B6.DB559180
> Content-Type: text/plain;
> charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> Hi,
>
> I want to volume render a set of 3D points and when I create =
> vtkStructuredPoints to represent the data, I have a problem where the =
> points seem to be clipped occasionally. To create the structured points =
> I do the following ...
>
> m_output =3D vtkStructuredPoints::New();
> float bounds[6];
> m_source->GetBounds(bounds);
> int x1,x2,y1,y2,z1,z2;
> x1 =3D (int)(floor(bounds[0]));
> x2 =3D (int)(ceil(bounds[1]));
> y1 =3D (int)(floor(bounds[2]));
> y2 =3D (int)(ceil(bounds[3]));
> z1 =3D (int)(floor(bounds[4]));
> z2 =3D (int)(ceil(bounds[5]));
>
> m_iVal =3D (x2 - x1 + 1);
> m_jVal =3D (y2 - y1 + 1);
> m_kVal =3D (z2 - z1 + 1);
>
> m_output->SetDimensions(m_iVal * m_xResolution, m_jVal * m_yResolution, =
> m_kVal * m_zResolution);
> m_output->SetSpacing((1.0 / m_xResolution) ,(1.0 / m_yResolution) ,(1.0 =
> / m_zResolution));=20
> m_output->SetOrigin(x1,y1,z1);
> m_output->SetScalarTypeToUnsignedShort();
> m_output->Update();
>
>
> where m_*Resolution *=3Dx,y,z are parameters that specify the resolution =
> of the structured points in each dimension. Is this the correct way to =
> used structured points? Most of the time this displays the correct size =
> volume, but some of the time on large structures it seems to clip the =
> volume in some dimensions. I am using a vtkVolumeTextureMapper2D to =
> render the volume, and was wondering if there was a maximum size for the =
> structured points or if the clipping is a feature that can be controlled =
> in volume rendering?
>
> thanks in advance
> regards Ross
>
> =20
>
>
>
> -------------------------------------------------------------------------=
> -------
>
>
> Ross Hennessy =20
> Australian Centre for Field Robotics
> Rose Street Building, J04
> University of Sydney,=20
> NSW 2006, Australia
> =20
> Phone: +61 2 9351 3040 =20
> Fax: +61 2 9351 7474 =20
> =20
>
>
> ------=_NextPart_000_0068_01C229B6.DB559180
> Content-Type: text/html;
> charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML><HEAD>
> <META http-equiv=3DContent-Type content=3D"text/html; =
> charset=3Diso-8859-1">
> <META content=3D"MSHTML 6.00.2716.2200" name=3DGENERATOR>
> <STYLE></STYLE>
> </HEAD>
> <BODY bgColor=3D#ffffff>
> <DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
> <DIV><FONT face=3DArial size=3D2></FONT> </DIV>
> <DIV><FONT face=3DArial size=3D2> I want to volume =
> render a set of=20
> 3D points and when I create vtkStructuredPoints to represent the data, I =
> have a=20
> problem where the points seem to be clipped occasionally. To create the=20
> structured points I do the following ...</FONT></DIV>
> <DIV><FONT face=3DArial size=3D2></FONT> </DIV>
> <DIV><FONT face=3DArial size=3D2>m_output =3D=20
> vtkStructuredPoints::New();<BR> float=20
> bounds[6];<BR> m_source->GetBounds(bounds);<BR> int=20
> x1,x2,y1,y2,z1,z2;<BR> x1 =3D (int)(floor(bounds[0]));<BR> x2 =
> =3D=20
> (int)(ceil(bounds[1]));<BR> y1 =3D =
> (int)(floor(bounds[2]));<BR> y2 =3D=20
> (int)(ceil(bounds[3]));<BR> z1 =3D =
> (int)(floor(bounds[4]));<BR> z2 =3D=20
> (int)(ceil(bounds[5]));</FONT></DIV>
> <DIV> </DIV>
> <DIV><FONT face=3DArial size=3D2> m_iVal =3D (x2 - x1 + =
> 1);<BR> m_jVal =3D (y2=20
> - y1 + 1);<BR> m_kVal =3D (z2 - z1 + 1);</FONT></DIV>
> <DIV> </DIV>
> <DIV><FONT face=3DArial size=3D2> m_output->SetDimensions(m_iVal =
> *=20
> m_xResolution, m_jVal * m_yResolution, m_kVal *=20
> m_zResolution);<BR> m_output->SetSpacing((1.0 / m_xResolution) =
> ,(1.0 /=20
> m_yResolution) ,(1.0 / m_zResolution));=20
> <BR> m_output->SetOrigin(x1,y1,z1);<BR> m_output->SetScal=
> arTypeToUnsignedShort();<BR> m_output->Update();</FONT></DIV>
> <DIV><FONT face=3DArial size=3D2></FONT> </DIV>
> <DIV><FONT face=3DArial size=3D2></FONT> </DIV>
> <DIV><FONT face=3DArial size=3D2>where m_*Resolution *=3Dx,y,z are =
> parameters that=20
> specify the resolution of the structured points in each dimension. Is =
> this the=20
> correct way to used structured points? Most of the time this displays =
> the=20
> correct size volume, but some of the time on large structures it seems =
> to clip=20
> the volume in some dimensions. I am using a vtkVolumeTextureMapper2D to =
> render=20
> the volume, and was wondering if there was a maximum size for the =
> structured=20
> points or if the clipping is a feature that can be controlled in volume=20
> rendering?</FONT></DIV>
> <DIV><FONT face=3DArial size=3D2></FONT> </DIV>
> <DIV><FONT face=3DArial size=3D2>thanks in advance</FONT></DIV>
> <DIV><FONT face=3DArial size=3D2>regards Ross</FONT></DIV>
> <DIV><FONT face=3DArial size=3D2></FONT> </DIV>
> <DIV><FONT face=3DArial size=3D2> =20
> <P>
> <P>
> <HR width=3D"80%" color=3Dgray>
>
> <P>
> <CENTER>
> <TABLE=20
> style=3D"BORDER-TOP-STYLE: solid; BORDER-RIGHT-STYLE: dotted; =
> BORDER-LEFT-STYLE: dotted; BORDER-BOTTOM-STYLE: solid"=20
> cellSpacing=3D0 cellPadding=3D5>
> <TBODY>
> <TR>
> <TD>
> <CENTER><A style=3D"FONT-SIZE: 150%; COLOR: blue"=20
> =
> href=3D"http://www.acfr.usyd.edu.au/people/postgrads/rhennessy">Ross=20
> Hennessy </A></CENTER></TD></TR>
> <TR>
> <TD>
> <DIV><A href=3D"http://www.acfr.usyd.edu.au">Australian Centre for =
> Field=20
> Robotics</A><BR>Rose Street Building, J04<BR><A=20
> href=3D"http://www.usyd.edu.au">University of Sydney</A>, </DIV>
> <DIV>NSW 2006, Australia<BR></DIV></TD></TR>
> <TR>
> <TD>
> <TABLE style=3D"PADDING-LEFT: 10px">
> <TBODY>
> <TR>
> <TD>Phone:</TD>
> <TD>+61 2 9351 3040 </TD></TR>
> <TR>
> <TD>Fax:</TD>
> <TD>+61 2 9351 7474=20
> </TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></CENTER></FONT></DIV=
> ></BODY></HTML>
>
> ------=_NextPart_000_0068_01C229B6.DB559180--
>
>
>
> --__--__--
>
> _______________________________________________
> vtkusers mailing list
> vtkusers at public.kitware.com
> http://public.kitware.com/mailman/listinfo/vtkusers
>
>
> End of vtkusers Digest
More information about the vtkusers
mailing list