[vtkusers] Access point at a particular location

rahul indoria rahulindoria5 at gmail.com
Thu Jul 11 07:08:23 EDT 2013


If i have a polydata, then how can i access a point data at particular
location. or all the points data?

Looking forward your reply soon.

rahul




On Thu, Jul 11, 2013 at 1:00 PM, <vtkusers-request at vtk.org> wrote:

> Send vtkusers mailing list submissions to
>         vtkusers at vtk.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://www.vtk.org/mailman/listinfo/vtkusers
> or, via email, send a message with subject or body 'help' to
>         vtkusers-request at vtk.org
>
> You can reach the person managing the list at
>         vtkusers-owner at vtk.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of vtkusers digest..."
>
>
> Today's Topics:
>
>    1. Re: Create "ovoid" with VTK (mar x)
>    2. Zoom to Mouse in 3D (Alfredo Rodriguez)
>    3. Re: vtkusers Digest, Vol 111, Issue 18 (Alex Malyushytskyy)
>    4. (no subject) (uverworld_1016 at yahoo.co.jp)
>    5. How to indicate pressure contour (uverworld_1016 at yahoo.co.jp)
>    6. Re: My point cloud data won't display in the renderer. (Ruff)
>    7. Re: Memory management : pointer on VTK object (Malsoaz James)
>    8. My volume won't display in the renderer. (Ruff)
>    9. Returning Type of any object (rahul indoria)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 10 Jul 2013 20:14:01 +0200
> From: mar x <myint101 at gmail.com>
> Subject: Re: [vtkusers] Create "ovoid" with VTK
> To: Bill Lorensen <bill.lorensen at gmail.com>
> Cc: VTK Users <vtkusers at vtk.org>
> Message-ID:
>         <CAHbewjeD=cog=
> G0Gbkt9Ga6KSa7FUtkAR-e5tBF1jK6CRO975A at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Ok I solved the problem by clipping the half of a sphere with vtkPlane and
> the half of an ellipsoid. Thanks!
>
>
> 2013/7/9 Bill Lorensen <bill.lorensen at gmail.com>
>
> > You could use
> >
> http://vtk.org/Wiki/VTK/Examples/Cxx/PolyData/BooleanOperationPolyDataFiltertocreate a union of a sphere and ellipsoid. This image might help:
> > http://commons.wikimedia.org/wiki/File:Ovoid_plot.gif
> >
> >
> >
> > On Tue, Jul 9, 2013 at 5:35 PM, mar x <myint101 at gmail.com> wrote:
> >
> >> Thanks for the fast answers. I tried both but both gives just an
> >> ellipsoid and no ovoid. In other words I want to create a 3D object
> that is
> >> a composition of a half sphere and and half ellipsoid.
> >>
> >> Best regards.
> >>
> >>
> >> 2013/7/9 Bill Lorensen <bill.lorensen at gmail.com>
> >>
> >>> Or try:
> >>> // .NAME vtkParametricEllipsoid - Generate an ellipsoid.
> >>> // .SECTION Description
> >>> // vtkParametricEllipsoid generates an ellipsoid.
> >>> // If all the radii are the same, we have a sphere.
> >>> // An oblate spheroid occurs if RadiusX = RadiusY > RadiusZ.
> >>> // Here the Z-axis forms the symmetry axis. To a first
> >>> // approximation, this is the shape of the earth.
> >>> // A prolate spheroid occurs if RadiusX = RadiusY < RadiusZ.
> >>>
> >>>
> >>>
> >>> On Tue, Jul 9, 2013 at 5:11 PM, Shawn Waldon <swaldon at cs.unc.edu>
> wrote:
> >>>
> >>>> You probably want something more like:
> >>>>
> >>>> vtkSphereSource *sSource= vtkSphereSource::New();
> >>>>    sSource->SetThetaResolution( 12);
> >>>>    sSource->SetPhiResolution (  12);
> >>>>    sSource->SetCenter( 0, 0, 0 );
> >>>>    sSource->SetRadius( 10.0 );
> >>>>
> >>>>  vtkTransform* transform = vtkTransform::New();
> >>>>      transform->Identity();
> >>>>    transform->Scale(3,1,1);
> >>>>    transform->Update();
> >>>> vtkTransformPolyDataFilter* tFilter =
> vtkTransformPolyDataFilter::New();
> >>>> tFilter->SetInputConnection(sSource.GetOutputPort());
> >>>> tFilter->SetTransform(transform);
> >>>> tFilter->Update()
> >>>>
> >>>> vtkPolyDataMapper *map = vtkPolyDataMapper::New();
> >>>> map->SetInputConnection(tFilter->GetOutputPort());
> >>>>
> >>>> .................
> >>>>
> >>>> I didn't change your example much due to laziness and wanting to
> >>>> copy/paste, but you really should use vtkSmartPointers.
> >>>>
> >>>>
> >>>>
> >>>> On Tue, Jul 9, 2013 at 5:06 PM, mar x <myint101 at gmail.com> wrote:
> >>>>
> >>>>> Dear VTK list,
> >>>>>
> >>>>> I want to create a 3D object that looks like an egg/ovoid. I tried to
> >>>>> to this with vtkSphere and by setting the vtkTransform->Scale to
> something
> >>>>> like 3,1,1 but it's not working. I would be very glad if you could
> help me
> >>>>> on this. Please find below the code and thank you for any help!
> >>>>>
> >>>>>
> >>>>> vtkSphereSource *sSource= vtkSphereSource::New();
> >>>>>    sSource->SetThetaResolution( 12);
> >>>>>    sSource->SetPhiResolution (  12);
> >>>>>    sSource->SetCenter( 0, 0, 0 );
> >>>>>    sSource->SetRadius( 10.0 );
> >>>>>
> >>>>> vtkTransform* transform = vtkTransform::New();
> >>>>>      transform->Identity();
> >>>>>    transform->Scale(3,1,1);
> >>>>>    transform->Update();
> >>>>>    vtkSphere* sphere = vtkSphere::New();
> >>>>>    sphere->SetCenter(0,0,0);
> >>>>>   sphere->SetTransform(transform);
> >>>>>
> >>>>>      vtkSmartPointer<vtkClipPolyData> clipper =
> >>>>> vtkSmartPointer<vtkClipPolyData>::New();
> >>>>>     clipper->SetInputConnection(sSource->GetOutputPort());
> >>>>>     clipper->SetClipFunction(sphere);
> >>>>>     clipper->SetValue(0);
> >>>>>     clipper->Update();
> >>>>>
> >>>>>   vtkPolyDataMapper *map = vtkPolyDataMapper::New();
> >>>>>   map->SetInput(clipper->GetOutput());
> >>>>>
> >>>>>   vtkActor *aSphere = vtkActor::New();
> >>>>>   aSphere->SetMapper(map);
> >>>>>    aSphere->GetProperty()->SetColor(0,0,1);
> >>>>> ......
> >>>>> .....
> >>>>> .....
> >>>>>
> >>>>> _______________________________________________
> >>>>> Powered by www.kitware.com
> >>>>>
> >>>>> Visit other Kitware open-source projects at
> >>>>> http://www.kitware.com/opensource/opensource.html
> >>>>>
> >>>>> Please keep messages on-topic and check the VTK FAQ at:
> >>>>> http://www.vtk.org/Wiki/VTK_FAQ
> >>>>>
> >>>>> Follow this link to subscribe/unsubscribe:
> >>>>> http://www.vtk.org/mailman/listinfo/vtkusers
> >>>>>
> >>>>>
> >>>>
> >>>>
> >>>> --
> >>>> Shawn Waldon
> >>>> Graduate Student
> >>>> Department of Computer Science
> >>>> University of North Carolina at Chapel Hill
> >>>> swaldon at cs.unc.edu
> >>>>
> >>>> _______________________________________________
> >>>> Powered by www.kitware.com
> >>>>
> >>>> Visit other Kitware open-source projects at
> >>>> http://www.kitware.com/opensource/opensource.html
> >>>>
> >>>> Please keep messages on-topic and check the VTK FAQ at:
> >>>> http://www.vtk.org/Wiki/VTK_FAQ
> >>>>
> >>>> Follow this link to subscribe/unsubscribe:
> >>>> http://www.vtk.org/mailman/listinfo/vtkusers
> >>>>
> >>>>
> >>>
> >>>
> >>> --
> >>> Unpaid intern in BillsBasement at noware dot com
> >>>
> >>
> >>
> >
> >
> > --
> > Unpaid intern in BillsBasement at noware dot com
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://www.vtk.org/pipermail/vtkusers/attachments/20130710/2b0ec623/attachment-0001.htm
> >
>
> ------------------------------
>
> Message: 2
> Date: Wed, 10 Jul 2013 20:48:29 +0000
> From: Alfredo Rodriguez <alfredo at mbfbioscience.com>
> Subject: [vtkusers] Zoom to Mouse in 3D
> To: "vtkusers at vtk.org" <vtkusers at vtk.org>
> Message-ID:
>         <
> CAAE14C9A957DC4F8DE80150FFA07E9F03A97951 at exchange3.microbrightfield.com>
>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi,
>
> I'm new to vtk and I need to modify existing vtk code to allow "zoom to
> mouse" in the 3D window using the mouse wheel. This is similar to zoom
> implemented in google maps but in 3D. From what I've read looks like I need
> to override the OnMouseWheelForward() and OnMouseWheelBackward() methods of
> my particular derivation of vtkInteractorStyle but I'm wondering if vtk
> already offers something to accomplish this type of zooming.
>
> Any information on this will be really helpful.
>
> Thanks,
>
> Alfredo
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://www.vtk.org/pipermail/vtkusers/attachments/20130710/4e47ee1b/attachment-0001.htm
> >
>
> ------------------------------
>
> Message: 3
> Date: Wed, 10 Jul 2013 17:38:14 -0700
> From: Alex Malyushytskyy <alexmalvtk at gmail.com>
> Subject: Re: [vtkusers] vtkusers Digest, Vol 111, Issue 18
> To: rahul indoria <rahulindoria5 at gmail.com>
> Cc: "vtkusers at vtk.org" <vtkusers at vtk.org>
> Message-ID:
>         <CAHR9pJ3G-_G_eeqJEMb6Cg5X=
> MQMUumquVwh1fn2z4YNdhyGFA at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Do not reply to existing topics, if it is not related to your message..
> You are not only send a lot of trash to people  but screw up their  mail
> system .
> Give your topic useful title.
>
> Follow your simple rules and somebody might read your question and even
> provide useful advice.
>
> This is my second reply, first one did not even come through because your
> message was so big.
>
> Alex
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://www.vtk.org/pipermail/vtkusers/attachments/20130710/e115a48a/attachment-0001.htm
> >
>
> ------------------------------
>
> Message: 4
> Date: Thu, 11 Jul 2013 14:06:12 +0900 (JST)
> From: uverworld_1016 at yahoo.co.jp
> Subject: [vtkusers] (no subject)
> To: "vtkusers at vtk.org" <vtkusers at vtk.org>
> Message-ID: <286432.11805.qm at web100912.mail.kks.yahoo.co.jp>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi?
> I use LS-DYNA to analyze a shock wave.
> I want to obseved the behavior of the shock wave to use paraview.
> Now I am in trouble because pressure contour can be indicated in paraview.
> The acceleration and velocity which is generated by the shock wave can be
> indicated in paraview.
> In LS-Prepost, pressure contour can be observed.
> At http://paraview.org/Wiki/ParaView:FAQ, [ Paraview can load d3plot
> files.] is written below.
> What should I do to indicated pressure contour in paraview ??
> Please tell me.
>
> Thanks and regards.
> Yusuke
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://www.vtk.org/pipermail/vtkusers/attachments/20130711/1772a40e/attachment-0001.htm
> >
>
> ------------------------------
>
> Message: 5
> Date: Thu, 11 Jul 2013 14:13:05 +0900 (JST)
> From: uverworld_1016 at yahoo.co.jp
> Subject: [vtkusers] How to indicate pressure contour
> To: Paraview?????? <vtkusers at vtk.org>
> Message-ID: <262408.19783.qm at web100916.mail.kks.yahoo.co.jp>
> Content-Type: text/plain; charset="utf-8"
>
> Hi?
> I use LS-DYNA to analyze a shock wave.
> I want to obseved the behavior of the shock wave to use paraview.
> Now I am in trouble because pressure contour can be indicated in paraview.
> The acceleration and velocity which is generated by the shock wave can be
> indicated in paraview.
> In LS-Prepost, pressure contour can be observed.
> At http://paraview.org/Wiki/ParaView:FAQ, [ Paraview can load d3plot
> files.] is written below.
> What should I do to indicated pressure contour in paraview ??
> Please tell me.
>
> Thanks and regards.
> Yusuke
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://www.vtk.org/pipermail/vtkusers/attachments/20130711/8c7237d5/attachment-0001.htm
> >
>
> ------------------------------
>
> Message: 6
> Date: Wed, 10 Jul 2013 23:54:24 -0700 (PDT)
> From: Ruff <albin.nilsson at gmail.com>
> Subject: Re: [vtkusers] My point cloud data won't display in the
>         renderer.
> To: vtkusers at vtk.org
> Message-ID: <1373525664302-5721885.post at n5.nabble.com>
> Content-Type: text/plain; charset=us-ascii
>
> Nvm, i got it to work. Thanks! Though i realize that I asked for a point
> cloud when it was a volume i was looking for all along. Looks kind of like
> what i was trying to achieve.
>
> Anyway, since it works, should someone (like me, totally unfamiliar with
> vtk) google this, here's what i did:
>
> verts = vtkPoints() #(Points with [index,x,y,z]    )
> scalars = vtk.vtkDoubleArray() #(Array with [index, scalar])
> scalars.SetNumberOfComponents(1) #For that one scalar value
>
> # inserting stuff
>
> cloud = vtkPolyData
> cloud.SetPoints(verts)
> cloud.GetPointData().SetScalars(scalars)
>
> glyphFilter = vtkVertexGlyphFilter()
> glyphFilter.AddInput(cloud)
>
> cloudMapper = vtkPolyDataMapper()
> cloudMapper.SetInputConnection(glyphFilter.GetOutputPort())
>
> #These two seems to be set by default
> #cloudMapper.ScalarVisibilityOn()
> #cloudMapper.SetScalarModeToUsePointData()
> cloudMapper.SetScalarRange(0,255) # col.-range of my scalars
>
> cloudActor = vtkActor()
> cloudActor.SetMapper(cloudMapper)
> cloudActor.GetProperty().SetRepresentationToPoints()
>
> etc...
>
>
>
> --
> View this message in context:
> http://vtk.1045678.n5.nabble.com/My-point-cloud-data-won-t-display-in-the-renderer-tp5721844p5721885.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
>
>
> ------------------------------
>
> Message: 7
> Date: Thu, 11 Jul 2013 08:04:37 +0100 (BST)
> From: Malsoaz James <jmalsoaz at yahoo.fr>
> Subject: Re: [vtkusers] Memory management : pointer on VTK object
> To: Alex Malyushytskyy <alexmalvtk at gmail.com>
> Cc: "vtkusers at vtk.org" <vtkusers at vtk.org>
> Message-ID:
>         <1373526277.83094.YahooMailNeo at web172904.mail.ir2.yahoo.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Thank you.
>
> SetSource(NULL) solves the issue.
>
> Best.
>
>
> ________________________________
>  De?: Alex Malyushytskyy <alexmalvtk at gmail.com>
> ??: Malsoaz James <jmalsoaz at yahoo.fr>
> Cc?: "vtkusers at vtk.org" <vtkusers at vtk.org>
> Envoy? le : Samedi 6 juillet 2013 0h01
> Objet?: Re: [vtkusers] Memory management : pointer on VTK object
>
>
>
> Try to add
> SetSource(NULL);
>
> calls after you register polydata
>
>
> polydata->Register(NULL);
> polydata->SetSource(NULL);
> .....
> output->Register(NULL);
> output->SetSource(NULL);
>
>
> Another source of extra memory usage may be memory granularity,
>
> If you say that DeepCopy helps it means deleting/allocationg memory at the
> same and bugger chunks helps to avoid granularity.
>
> In this case nothing you can do.
>
>
> In any case I would suggest to get
>
> vtkTransformPolyDataFilter * trFilter = vtkTransformPolyDataFilter::New();
>
>
> and
> ?? trFilter->Delete();
> out of loop.
>
>
>
> Regards,
>
> ??? Alex
>
>
>
>
>
> On Thu, Jul 4, 2013 at 12:33 AM, Malsoaz James <jmalsoaz at yahoo.fr> wrote:
>
> Hi,
> >
> >
> >I'm experiencing troubles when copying pointers of VTK object.
> >
> >
> >Let's say I want to apply transformation to a polydata recursively like
> this:
> >
> >
> >? ? //Read STL
> >? ? vtkSTLReader * reader = vtkSTLReader::New();
> >? ? reader->SetFileName("1.stl");
> >? ? reader->Update();
> >
> >
> >? ? vtkPolyData * polydata = reader->GetOutput();
> >? ? polydata->Register(NULL);
> >? ? reader->Delete();
> >
> >
> >? ? vtkTransform * tr = vtkTransform::New();
> >? ? tr->Translate(5, 10, 1);
> >? ? tr->Update();
> >
> >
> >? ? for(int i = 0 ; i < 1000 ; ++i)
> >? ? {
> >? ? std::cout << i << std::endl;
> >? ? vtkTransformPolyDataFilter * trFilter =
> vtkTransformPolyDataFilter::New();
> >trFilter->SetInput(polydata);
> >trFilter->SetTransform(tr);
> >trFilter->Update();
> >
> >
> >vtkPolyData * output = trFilter->GetOutput();
> >output->Register(NULL);
> >trFilter->Delete();
> >
> >
> >polydata->Delete();
> >polydata = output;
> >? ? }
> >? ? tr->Delete();
> >
> >? ? polydata->Delete();
> >
> >
> >This is working fine and I have no VTK leaks. Unfortunately, I'm noticing
> that memory for my program increases instead of remaining constant.
> >What's wrong with theses few lines?
> >
> >
> >By the way, using DeepCopy to save output data is working:
> >polydata = vtkPolyData::New();
> >polydata->DeepCopy(output);
> >output->Delete();
> >But I would like to avoid to deep copy data when I only need to add a
> reference to the pointer. I also would like to avoid the use of
> vtkSmartPointer.
> >
> >
> >Thank you for your help
> >Best.
> >
> >
> >_______________________________________________
> >Powered by www.kitware.com
> >
> >Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> >
> >Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> >
> >Follow this link to subscribe/unsubscribe:
> >http://www.vtk.org/mailman/listinfo/vtkusers
> >
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://www.vtk.org/pipermail/vtkusers/attachments/20130711/0d888bab/attachment-0001.htm
> >
>
> ------------------------------
>
> Message: 8
> Date: Thu, 11 Jul 2013 01:53:48 -0700 (PDT)
> From: Ruff <albin.nilsson at gmail.com>
> Subject: [vtkusers] My volume won't display in the renderer.
> To: vtkusers at vtk.org
> Message-ID: <1373532828028-5721892.post at n5.nabble.com>
> Content-Type: text/plain; charset=us-ascii
>
> Now I can render it as point clouds, but not as a volume. All I get is an
> empty renderWindow. I get no errors, but no data is rendered either. What
> am
> I doing wrong?
>
> ScalarGrid = vtk.vtkUnstructuredGrid()
> ScalarGrid.SetPoints(    vtkPoints with [index,x,y,z]    )
> ScalarGrid.GetPointData().SetScalars(    vtkFloatArray with [index, scalar]
> )
>
> volumeMapper = vtkUnstructuredGridVolumeRayCastMapper()
> volumeMapper.SetInputConnection(ScalarGrid)
> volumeMapper.SetScalarModeToUsePointData()
>
> ...etc
>
> I tried using DataSetTriangleFilter (found in some example) but then the
> program claims that Im using the "ray cast mapper without scalars!"
> I rendered it as a point cloud before, with the vtkVertexGlyphFilter, but
> that doesn't seem to be applicable here, though I suppose the solution has
> something to do with cells here as well...
>
>
>
> --
> View this message in context:
> http://vtk.1045678.n5.nabble.com/My-volume-won-t-display-in-the-renderer-tp5721892.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
>
>
> ------------------------------
>
> Message: 9
> Date: Thu, 11 Jul 2013 13:00:10 +0200
> From: rahul indoria <rahulindoria5 at gmail.com>
> Subject: [vtkusers] Returning Type of any object
> To: "vtkusers at vtk.org" <vtkusers at vtk.org>
> Message-ID:
>         <
> CAGQ+16Ldk0Dj0HrRENZjQsZDcMPYGfdDiQEm2XXM8E_AfA-Q3Q at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi,
>     I just want to ask, if i have any vtk class then how would i know the
> return type this class object.
>
>
> Looking forward your reply soon.
>
>
>
>
> On Wed, Jul 10, 2013 at 3:16 PM, rahul indoria <rahulindoria5 at gmail.com
> >wrote:
>
> > Hi All,
> >          I am just modifying this example (
> > http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/CurvedReformation
> > ).
> >
> > At this portion of this example,
> >
> >
> > // Create a mapper and actor.
> >   vtkSmartPointer<vtkDataSetMapper> mapper =
> >     vtkSmartPointer<vtkDataSetMapper>::New();
> >   mapper->SetInputConnection(sampleVolume->GetOutputPort());
> >
> >
> > and this statement in function SetInputConnection:
> *sampleVolume->GetOutputPort()*, is giving me values on the surface.
> >
> >
> > My Query:
> >
> > I have to use these values and using this values i have to generate a 2D
> image.
> >
> > could you please suggest me some class or the way(method), by which i
> can achieve this task. it`s really very urgent for me, please help.
> >
> >
> >
> > Looking forward your reply.
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > On Tue, Jul 9, 2013 at 9:00 PM, <vtkusers-request at vtk.org> wrote:
> >
> >> Send vtkusers mailing list submissions to
> >>         vtkusers at vtk.org
> >>
> >> To subscribe or unsubscribe via the World Wide Web, visit
> >>         http://www.vtk.org/mailman/listinfo/vtkusers
> >> or, via email, send a message with subject or body 'help' to
> >>         vtkusers-request at vtk.org
> >>
> >> You can reach the person managing the list at
> >>         vtkusers-owner at vtk.org
> >>
> >> When replying, please edit your Subject line so it is more specific
> >> than "Re: Contents of vtkusers digest..."
> >>
> >>
> >> Today's Topics:
> >>
> >>    1. Re: My point cloud data won't display in the renderer.
> >>       (Bill Lorensen)
> >>    2. Re: vtkusers Digest, Vol 111, Issue 16 (rahul indoria)
> >>    3. Re: vtkusers Digest, Vol 111, Issue 16 (Bill Lorensen)
> >>
> >>
> >> ----------------------------------------------------------------------
> >>
> >> Message: 1
> >> Date: Tue, 9 Jul 2013 12:10:24 -0400
> >> From: Bill Lorensen <bill.lorensen at gmail.com>
> >> Subject: Re: [vtkusers] My point cloud data won't display in the
> >>         renderer.
> >> To: Ruff <albin.nilsson at gmail.com>
> >> Cc: VTK Users <vtkusers at vtk.org>
> >> Message-ID:
> >>         <CADZJ4hOT2J5Pg9C=
> >> SxkQ+WOisqxcqefh6r5GQhLAc+_2cCTMiA at mail.gmail.com>
> >> Content-Type: text/plain; charset="iso-8859-1"
> >>
> >> A vtkPoint is a geometric location. You need cells to visualize your
> data.
> >> in your case, you need Vert's, one for each Point. An easy way to create
> >> the verts is to use vtkVertexGlyphFilter.
> >>
> >> See for example:
> >> http://vtk.org/Wiki/VTK/Examples/Cxx/IO/ReadTextFile
> >> http://vtk.org/Wiki/VTK/Examples/Cxx/Filtering/VertexGlyphFilter
> >>
> >>
> >>
> >> On Tue, Jul 9, 2013 at 11:46 AM, Ruff <albin.nilsson at gmail.com> wrote:
> >>
> >> > All i get is an empty renderWindow. I get no errors, but no data is
> >> > rendered
> >> > either. What am I doing wrong?
> >> >
> >> > What I do is pretty much this:
> >> >
> >> > AtomGrid=vtk.vtkUnstructuredGrid()
> >> > AtomGrid.SetPoints(    vtkPoints with [index,x,y,z]    )
> >> > AtomGrid.GetPointData().SetScalars(    vtkFloatArray with [index,
> >> scalar]
> >> > )
> >> >
> >> > volMapper = vtk.vtkUnstructuredGridVolumeRayCastMapper()
> >> > volMapper.SetBlendModeToComposite()
> >> > volMapper.SetInput(AtomGrid)
> >> >
> >> >
> >> > I tried volMapper.SetScalarModeToUsePointFieldData(), but then it
> claims
> >> > that I have no scalar values to use(!!)
> >> >
> >> > (I cheated before, and was satisfied using ImageData for this, but
> now I
> >> > really need to get this to work with UnstructuredGrid)
> >> >
> >> >
> >> >
> >> > --
> >> > View this message in context:
> >> >
> >>
> http://vtk.1045678.n5.nabble.com/My-point-cloud-data-won-t-display-in-the-renderer-tp5721844.html
> >> > Sent from the VTK - Users mailing list archive at Nabble.com.
> >> > _______________________________________________
> >> > Powered by www.kitware.com
> >> >
> >> > Visit other Kitware open-source projects at
> >> > http://www.kitware.com/opensource/opensource.html
> >> >
> >> > Please keep messages on-topic and check the VTK FAQ at:
> >> > http://www.vtk.org/Wiki/VTK_FAQ
> >> >
> >> > Follow this link to subscribe/unsubscribe:
> >> > http://www.vtk.org/mailman/listinfo/vtkusers
> >> >
> >>
> >>
> >>
> >> --
> >> Unpaid intern in BillsBasement at noware dot com
> >> -------------- next part --------------
> >> An HTML attachment was scrubbed...
> >> URL: <
> >>
> http://www.vtk.org/pipermail/vtkusers/attachments/20130709/0b18f194/attachment-0001.htm
> >> >
> >>
> >> ------------------------------
> >>
> >> Message: 2
> >> Date: Tue, 9 Jul 2013 20:43:19 +0200
> >> From: rahul indoria <rahulindoria5 at gmail.com>
> >> Subject: Re: [vtkusers] vtkusers Digest, Vol 111, Issue 16
> >> To: "vtkusers at vtk.org" <vtkusers at vtk.org>
> >> Message-ID:
> >>         <CAGQ+16JOmQ6-kXGLVqk=p5PUo9eY-scAhxsxfZ1vnanY4bY=
> >> YQ at mail.gmail.com>
> >> Content-Type: text/plain; charset="iso-8859-1"
> >>
> >> Hi,
> >>    Can you explain me some portion of the code of this example (
> >>
> http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/CurvedReformation
> >> )?
> >>
> >> i need to ask the line by line documentation of this function, how these
> >> points and surface is formed?
> >>
> >>
> >> vtkSmartPointer<vtkPolyData> SweepLine (vtkPolyData *line,
> >>                                         double direction[3],
> >>                                         double distance,
> >>                                         unsigned int cols)
> >>
> >> {
> >>
> >> unsigned int rows = line->GetNumberOfPoints();
> >>
> >>   double spacing = distance / cols;
> >>   vtkSmartPointer<vtkPolyData> surface =
> >>     vtkSmartPointer<vtkPolyData>::New();
> >>
> >>   // Generate the points
> >>   cols++; // why this statement ?
> >>   unsigned int numberOfPoints = rows * cols; // how these number
> >> points are generated
> >>   unsigned int numberOfPolys = (rows - 1) * (cols - 1); // what is
> this???
> >>
> >>
> >> vtkSmartPointer<vtkPoints> points =
> >>     vtkSmartPointer<vtkPoints>::New();
> >>   points->Allocate(numberOfPoints);
> >>   vtkSmartPointer<vtkCellArray> polys =
> >>     vtkSmartPointer<vtkCellArray>::New();
> >>   polys->Allocate(numberOfPolys*4);
> >>
> >>   double x[3];
> >>   unsigned int cnt = 0;
> >>   for (unsigned int row = 0; row < rows; row++)
> >>     {
> >>       for (unsigned int col = 0; col < cols; col++)
> >>         {
> >>           double p[3];
> >>           line->GetPoint(row, p);
> >>           x[0] = p[0] + direction[0] * col * spacing;
> >>           x[1] = p[1] + direction[1] * col * spacing;
> >>           x[2] = p[2] + direction[2] * col * spacing;
> >>           points->InsertPoint(cnt++, x);
> >>         }
> >>     }
> >>   // Generate the quads
> >>   vtkIdType pts[4];
> >>   for (unsigned int row = 0; row < rows - 1; row++)
> >>     {
> >>       for (unsigned int col = 0; col < cols - 1; col++)
> >>         {
> >>           pts[0] = col + row * (cols);
> >>           pts[1] = pts[0] + 1;
> >>           pts[2] = pts[0] + cols + 1;
> >>           pts[3] = pts[0] + cols;
> >>           polys->InsertNextCell(4,pts);
> >>         }
> >>     }
> >>   surface->SetPoints(points);
> >>   surface->SetPolys(polys);
> >>
> >>   return surface;}
> >>
> >>
> >>
> >>
> >> please reply as soon as possible
> >>
> >>
> >>
> >> On Tue, Jul 9, 2013 at 6:00 PM, <vtkusers-request at vtk.org> wrote:
> >>
> >> > Send vtkusers mailing list submissions to
> >> >         vtkusers at vtk.org
> >> >
> >> > To subscribe or unsubscribe via the World Wide Web, visit
> >> >         http://www.vtk.org/mailman/listinfo/vtkusers
> >> > or, via email, send a message with subject or body 'help' to
> >> >         vtkusers-request at vtk.org
> >> >
> >> > You can reach the person managing the list at
> >> >         vtkusers-owner at vtk.org
> >> >
> >> > When replying, please edit your Subject line so it is more specific
> >> > than "Re: Contents of vtkusers digest..."
> >> >
> >> >
> >> > Today's Topics:
> >> >
> >> >    1. Re: Vtk 6.0 dotnet (David Cole)
> >> >    2. Re: Regarding example VTKimagereslicemapper (rahul indoria)
> >> >    3. FindCell method of vtkCellLocator (shinpei)
> >> >    4. Re: FindCell method of vtkCellLocator (Alex Malyushytskyy)
> >> >    5. VTK Stereo Rendering (mailagentrus)
> >> >    6. [vtkUsers] About Different RenderWindowInteractor (hongsongyang)
> >> >    7. using vtkGL2PSExporter in python [ under pythonXY() ]
> >> >       (Gideon Valch)
> >> >    8. Re: Help with image planes example (Ruff)
> >> >    9. adding texture to a wavefront .obj  file in vtk (Umer Rafi)
> >> >   10. Unexpected actor orientation results (divya)
> >> >   11. Re: FindCell method of vtkCellLocator (shinpei)
> >> >   12. VTK application running on Linux loads VNC server (Haroon
> Showgan)
> >> >   13. .RAW file (Massinissa Bandou)
> >> >   14. Re: .RAW file (Bill Lorensen)
> >> >   15. My point cloud data won't display in the renderer. (Ruff)
> >> >
> >> >
> >> > ----------------------------------------------------------------------
> >> >
> >> > Message: 1
> >> > Date: Mon, 8 Jul 2013 16:21:52 +0000
> >> > From: David Cole <dlrdave at aol.com>
> >> > Subject: Re: [vtkusers] Vtk 6.0 dotnet
> >> > To: " vtkusers at vtk.org " <vtkusers at vtk.org>, Serge Lalonde
> >> >         <serge at infolytica.com>
> >> > Message-ID: <20130708165306.6B0E66504F at public.kitware.com>
> >> > Content-Type: text/plain; charset="utf-8"
> >> >
> >> > Thanks, Serge. It *is* too bad that the kickstarter approach did not
> >> yield
> >> > a funded project this time around. Perhaps later, another one will be
> >> > successful.
> >> >
> >> >
> >> >
> >> > Alex, you wrote ?as for me I would trust more in the results of free
> >> > development than in results of the projects developed using such
> >> financing.?
> >> >
> >> >
> >> >
> >> > In response, I would simply point out the results of free development
> >> are
> >> > that ActiViz is presently ?stuck? on the VTK 5.8 version. And it was
> >> only
> >> > ?free as in beer? to those of you who didn?t pay for it.
> >> >
> >> >
> >> >
> >> > It?s also too bad that nobody else has stepped up and said, ?hey, how
> >> can
> >> > I contribute and help to make this happen?? (Aside from the 20
> >> kickstarter
> >> > project backers [1] -- thanks again, guys...)
> >> >
> >> >
> >> >
> >> > For those willing to contribute effort and manpower to the problem,
> >> rather
> >> > than money, go for it. VTK and ActiViz are both open source, and may
> be
> >> > built and extended by any interested party. I recently abandoned the
> >> topic
> >> > integrating the two [2] due to lack of activity. Anybody who wants to,
> >> > please feel free to resurrect it, rebase it on current ?master?, and
> try
> >> > again. Alternatively, you could simply extend the ActiViz git repo
> with
> >> > commits to make it build against an external VTK 5.10 or 6.0 [3].
> >> >
> >> >
> >> > While I am capable and mildly interested in furthering ActiViz .NET, I
> >> > prefer to spend much of my free time on non-computer related
> activities
> >> > these days. I get quite enough compute time just doing my job. But
> money
> >> > actually does motivate me... and I would be willing to do the work if
> >> paid
> >> > for it. So, that, plus gauging actual interest level, were my primary
> >> > motivations for seeking funding via kickstarter.
> >> >
> >> >
> >> >
> >> >
> >> >
> >> > Cheers,
> >> >
> >> > David Cole
> >> >
> >> >
> >> >
> >> >
> >> > [1]
> >> >
> >>
> http://www.kickstarter.com/projects/dlrdave/activiz-net-installers-featuring-vtk-510/backers
> >> >
> >> > [2] http://review.source.kitware.com/#/t/1615/
> >> >
> >> > [3] http://public.kitware.com/gitweb?p=activizdotnet.git
> >> >
> >> >
> >> >
> >> > P.S. ---
> >> >
> >> >
> >> > I would also like to point out that nowadays, you can simply build a
> >> > managed-C++ project with VS 2012, and ?just link for free? to the
> native
> >> > VTK C++ libraries. That doesn?t help folks using other .NET languages,
> >> but
> >> > it is a nice feature of the modern C++ compiler from MS that you can
> >> link
> >> > in both managed and un-managed code together. If you are starting a
> new
> >> > Windows Forms application, consider using managed C++ as your
> language.
> >> > -------------- next part --------------
> >> > An HTML attachment was scrubbed...
> >> > URL: <
> >> >
> >>
> http://www.vtk.org/pipermail/vtkusers/attachments/20130708/0cc105c5/attachment-0001.htm
> >> > >
> >> >
> >> > ------------------------------
> >> >
> >> > Message: 2
> >> > Date: Mon, 8 Jul 2013 20:12:06 +0200
> >> > From: rahul indoria <rahulindoria5 at gmail.com>
> >> > Subject: Re: [vtkusers] Regarding example VTKimagereslicemapper
> >> > To: David Doria <daviddoria at gmail.com>, "vtkusers at vtk.org"
> >> >         <vtkusers at vtk.org>
> >> > Message-ID:
> >> >         <CAGQ+16KkyGkkjmWQ86Xh5=
> >> > VfUnbABFEquKOdKEDKfm9_F1eyaA at mail.gmail.com>
> >> > Content-Type: text/plain; charset="iso-8859-1"
> >> >
> >> > Hi,
> >> >     Could you please tell me, what are port index in VTK functions?
> >> >
> >> >
> >> > On Mon, Jul 8, 2013 at 5:51 PM, David Doria <daviddoria at gmail.com>
> >> wrote:
> >> >
> >> > > In the future, please keep the conversation on the mailing list so
> >> that
> >> > > everyone can participate/benefit from the discussion.
> >> > >
> >> > > I believe what you're seeing is a contrast adjustment mechanism
> >> (called
> >> > > "window level events" -
> >> > >
> >> >
> >>
> http://www.vtk.org/doc/nightly/html/classvtkInteractorStyleImage.html#details
> >> > > ).
> >> > >
> >> > >
> >> > > David
> >> > >
> >> > >
> >> > > On Mon, Jul 8, 2013 at 11:48 AM, rahul indoria <
> >> rahulindoria5 at gmail.com
> >> > >wrote:
> >> > >
> >> > >> Hi David,
> >> > >>                I have one more question regarding this example, in
> >> the
> >> > >> output of this example(
> >> > >> http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/ImageSliceMapper),
> >> why
> >> > >> we are getting different colors of the image, when i am
> >> left-clicking on
> >> > >> the image and moving mouse up and down?
> >> > >>
> >> > >> Looking forward your reply soon.
> >> > >>
> >> > >>
> >> > >> rahul indoria
> >> > >>
> >> > >>
> >> > >> On Mon, Jul 8, 2013 at 3:22 PM, David Doria <daviddoria at gmail.com>
> >> > wrote:
> >> > >>
> >> > >>> On Mon, Jul 8, 2013 at 9:05 AM, rahul indoria <
> >> rahulindoria5 at gmail.com
> >> > >wrote:
> >> > >>>
> >> > >>>> Hi,
> >> > >>>>    I was modifying this example:
> >> > >>>> http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/ImageSliceMapper
> >> > >>>>  in this example, i am deleting the object vtkImageSlice, and
> when
> >> i
> >> > am
> >> > >>>> putting the object "imageSliceMapper" i getting an error?
> >> > >>>>
> >> > >>>> As vtkimageslice class used to represent an image in a 3D scene,
> i
> >> > >>>> don`t want to display this in 3D scene, just want to display on
> the
> >> > screen
> >> > >>>> that`s why i am deleting this class, so why i am getting this
> >> error?
> >> > >>>>
> >> > >>>> I modified this code like this :
> >> > >>>>
> >> > >>>
> >> > >>> What do you want to do if not display the image? The problem is
> that
> >> > you
> >> > >>> can't call AddViewProp on a mapper - it has to be a vtkProp
> subclass
> >> > >>> (like the vtkImageSlice was). In the future, please include the
> >> exact
> >> > >>> error that you are getting.
> >> > >>>
> >> > >>> David
> >> > >>>
> >> > >>
> >> > >>
> >> > >>
> >> > >> --
> >> > >> *Best  Regards
> >> > >> Rahul Indoria
> >> > >> Mobile No: +49-157-35652212*
> >> > >>
> >> > >
> >> > >
> >> >
> >> >
> >> > --
> >> > *Best  Regards
> >> > Rahul Indoria
> >> > Mobile No: +49-157-35652212*
> >> > -------------- next part --------------
> >> > An HTML attachment was scrubbed...
> >> > URL: <
> >> >
> >>
> http://www.vtk.org/pipermail/vtkusers/attachments/20130708/8de03097/attachment-0001.htm
> >> > >
> >> >
> >> > ------------------------------
> >> >
> >> > Message: 3
> >> > Date: Mon, 8 Jul 2013 15:44:56 -0700 (PDT)
> >> > From: shinpei <noro_shinpei at web.de>
> >> > Subject: [vtkusers] FindCell method of vtkCellLocator
> >> > To: vtkusers at vtk.org
> >> > Message-ID: <1373323496433-5721831.post at n5.nabble.com>
> >> > Content-Type: text/plain; charset=us-ascii
> >> >
> >> > Hi,
> >> >
> >> > I have two triangle cells in my vtkCellLocator and I create a little
> bb
> >> > around a point of one triangle (see picture). Now I use FindCell(bb,
> >> > idList)
> >> > and I should get one id, but I get two. Is this a bug, or must I
> change
> >> > something?
> >> >
> >> > <http://vtk.1045678.n5.nabble.com/file/n5721831/Unbenannt.png>
> >> > - two trinagles (red)
> >> > - bb (blue)
> >> >
> >> > My code:
> >> >
> >> >     for (vtkIdType ptId = 0; ptId < geometry->GetNumberOfPoints();
> >> ++ptId)
> >> >     {
> >> >         bounds[0] = trianglePoint[0] - 0.01;
> >> >         bounds[1] = trianglePoint[0] + 0.01;
> >> >         bounds[2] = trianglePoint[1] - 0.01;
> >> >         bounds[3] = trianglePoint[1] + 0.01;
> >> >         bounds[4] = trianglePoint[2] - 0.01;
> >> >         bounds[5] = trianglePoint[2] + 0.01;
> >> >
> >> >         cellLocator->FindCellsWithinBounds(bounds, foundCells);
> >> >
> >> >         int size = foundCells->GetNumberOfIds(); // is always two
> >> >     }
> >> >
> >> >
> >> > Thx
> >> >
> >> >
> >> >
> >> > --
> >> > View this message in context:
> >> >
> >>
> http://vtk.1045678.n5.nabble.com/FindCell-method-of-vtkCellLocator-tp5721831.html
> >> > Sent from the VTK - Users mailing list archive at Nabble.com.
> >> >
> >> >
> >> > ------------------------------
> >> >
> >> > Message: 4
> >> > Date: Mon, 8 Jul 2013 19:00:25 -0700
> >> > From: Alex Malyushytskyy <alexmalvtk at gmail.com>
> >> > Subject: Re: [vtkusers] FindCell method of vtkCellLocator
> >> > To: shinpei <noro_shinpei at web.de>
> >> > Cc: VTK <vtkusers at vtk.org>
> >> > Message-ID:
> >> >         <
> >> > CAHR9pJ0m4dYdghFRjZ5Y6YffT23dv3Q+Scsu4JEK8yMLQZ7rbg at mail.gmail.com>
> >> > Content-Type: text/plain; charset="iso-8859-1"
> >> >
> >> > It is not clear that attached picture corresponds to your claims.
> >> > There is no visible  relation between trianglePoint and
> >> > geometry->GetNumberOfPoints().
> >> > Also  for (vtkIdType ptId = 0; ptId < geometry->GetNumberOfPoints();
> >> > ++ptId)
> >> > loop does not make any sense cause nothing changes in the loop.
> >> >
> >> > So I guess your trianglePoint is not what you think it is.
> >> > For example if this point is shared by 2 triangles you will have the
> >> same
> >> > effect.
> >> > Another possible problem might be absolute value 0.1 used.
> >> > For example your triangle may have size smaller than it, which will
> be a
> >> > source of such effect too.
> >> >
> >> > Your example is not complete , you could create much better example
> >> > initializing all available variables so the behavior can be
> reproduced.
> >> >
> >> > Alex
> >> >
> >> >
> >> >
> >> > On Mon, Jul 8, 2013 at 3:44 PM, shinpei <noro_shinpei at web.de> wrote:
> >> >
> >> > > Hi,
> >> > >
> >> > > I have two triangle cells in my vtkCellLocator and I create a little
> >> bb
> >> > > around a point of one triangle (see picture). Now I use FindCell(bb,
> >> > > idList)
> >> > > and I should get one id, but I get two. Is this a bug, or must I
> >> change
> >> > > something?
> >> > >
> >> > > <http://vtk.1045678.n5.nabble.com/file/n5721831/Unbenannt.png>
> >> > > - two trinagles (red)
> >> > > - bb (blue)
> >> > >
> >> > > My code:
> >> > >
> >> > >     for (vtkIdType ptId = 0; ptId < geometry->GetNumberOfPoints();
> >> > ++ptId)
> >> > >     {
> >> > >         bounds[0] = trianglePoint[0] - 0.01;
> >> > >         bounds[1] = trianglePoint[0] + 0.01;
> >> > >         bounds[2] = trianglePoint[1] - 0.01;
> >> > >         bounds[3] = trianglePoint[1] + 0.01;
> >> > >         bounds[4] = trianglePoint[2] - 0.01;
> >> > >         bounds[5] = trianglePoint[2] + 0.01;
> >> > >
> >> > >         cellLocator->FindCellsWithinBounds(bounds, foundCells);
> >> > >
> >> > >         int size = foundCells->GetNumberOfIds(); // is always two
> >> > >     }
> >> > >
> >> > >
> >> > > Thx
> >> > >
> >> > >
> >> > >
> >> > > --
> >> > > View this message in context:
> >> > >
> >> >
> >>
> http://vtk.1045678.n5.nabble.com/FindCell-method-of-vtkCellLocator-tp5721831.html
> >> > > Sent from the VTK - Users mailing list archive at Nabble.com.
> >> > > _______________________________________________
> >> > > Powered by www.kitware.com
> >> > >
> >> > > Visit other Kitware open-source projects at
> >> > > http://www.kitware.com/opensource/opensource.html
> >> > >
> >> > > Please keep messages on-topic and check the VTK FAQ at:
> >> > > http://www.vtk.org/Wiki/VTK_FAQ
> >> > >
> >> > > Follow this link to subscribe/unsubscribe:
> >> > > http://www.vtk.org/mailman/listinfo/vtkusers
> >> > >
> >> > -------------- next part --------------
> >> > An HTML attachment was scrubbed...
> >> > URL: <
> >> >
> >>
> http://www.vtk.org/pipermail/vtkusers/attachments/20130708/533f4d72/attachment-0001.htm
> >> > >
> >> >
> >> > ------------------------------
> >> >
> >> > Message: 5
> >> > Date: Mon, 8 Jul 2013 22:09:00 -0700 (PDT)
> >> > From: mailagentrus <mailagentrus at mail.ru>
> >> > Subject: [vtkusers] VTK Stereo Rendering
> >> > To: vtkusers at vtk.org
> >> > Message-ID: <1373346540408-5721833.post at n5.nabble.com>
> >> > Content-Type: text/plain; charset=us-ascii
> >> >
> >> > Hi! I want to add a stereo mode to my program. Program wil be show
> >> pairs of
> >> > images image in stereo mode (with Nvidia 3d vision). I set up NVidia
> >> Qudro
> >> > 410 and saw stereo mode with Polydata object with using Paraview.
> >> > But, when I try to make own program i see inly the firs pair images in
> >> > stereo mode, after that image in right eye does not update... Updates
> >> inly
> >> > the left eye image.
> >> > Help me, please!
> >> >
> >> > Code:
> >> >
> >> > #include <vtkPolyDataReader.h>
> >> > #include <vtkSmartPointer.h>
> >> > #include <vtkDataSetMapper.h>
> >> > #include <vtkActor.h>
> >> > #include <vtkRenderWindow.h>
> >> > #include <vtkRenderer.h>
> >> > #include <vtkRenderWindowInteractor.h>
> >> > #include <vtkCamera.h>
> >> > #include "vtkCommand.h"
> >> > #include "vtkImageData.h"
> >> > #include <vtkBMPReader.h>
> >> > #include <vtkImageViewer2.h>
> >> > #include <vtkImageActor.h>
> >> >
> >> > vtkSmartPointer<vtkBMPReader> readerR;
> >> > vtkSmartPointer<vtkBMPReader> readerL;
> >> > vtkSmartPointer<vtkImageViewer2> imageViewer;
> >> >
> >> > class vtkTimerCallback : public vtkCommand
> >> > {
> >> >   public:
> >> >     static vtkTimerCallback *New()
> >> >     {
> >> >       vtkTimerCallback *cb = new vtkTimerCallback;
> >> >       cb->TimerCount = 0;
> >> >       return cb;
> >> >     }
> >> >
> >> >     virtual void Execute(vtkObject *vtkNotUsed(caller), unsigned long
> >> > eventId,
> >> >                          void *vtkNotUsed(callData))
> >> >     {
> >> >       if (vtkCommand::TimerEvent == eventId)
> >> >         {
> >> >
> >> > // for example name for left eye image is
> >> >                 readerL->SetFileName ( "D:/1234/-40.bmp");
> >> >                 readerL->Update();
> >> >
> >> > // for example name for right eye image is
> >> >                 readerR->SetFileName ( "D:/1234/40.bmp");
> >> >                 readerR->Update();
> >> >
> >> >                 imageViewer->SetInput(readerL->GetOutput());
> >> >                 imageViewer->GetRenderWindow()->SetStereoTypeToLeft();
> >> >                 imageViewer->GetRenderWindow()->Render();
> >> >   imageViewer->GetRenderer()->ResetCamera();
> >> >                 imageViewer->GetRenderWindow()->Render();
> >> >
> >> >                 imageViewer->GetRenderWindow()->StereoUpdate();
> >> >
> >> >                 imageViewer->SetInput(readerL->GetOutput());
> >> >
> imageViewer->GetRenderWindow()->SetStereoTypeToRight();
> >> >                 imageViewer->GetRenderWindow()->Render();
> >> >   imageViewer->GetRenderer()->ResetCamera();
> >> >                 imageViewer->GetRenderWindow()->Render();
> >> >
> >> >                 imageViewer->GetRenderWindow()->StereoUpdate();
> >> >
> >> >         ++this->TimerCount;
> >> >         }
> >> >         cout << this->TimerCount << endl;
> >> >     }
> >> >
> >> >   private:
> >> >     int TimerCount;
> >> >
> >> > };
> >> >
> >> >
> >> > int main ( int argc, char *argv[] )
> >> > {
> >> >   //Read the image
> >> >    readerL =
> >> >     vtkSmartPointer<vtkBMPReader>::New();
> >> >   readerL->SetFileName ( "D:/1234/-5.bmp");
> >> >   readerL->Update();
> >> >
> >> >    readerR =
> >> >     vtkSmartPointer<vtkBMPReader>::New();
> >> >   readerR->SetFileName ( "D:/1234/5.bmp");
> >> >   readerR->Update();
> >> >
> >> >   // Visualize
> >> >   imageViewer =
> >> >     vtkSmartPointer<vtkImageViewer2>::New();
> >> >
> >> >    vtkSmartPointer<vtkRenderWindowInteractor> renderWindowInteractor =
> >> >     vtkSmartPointer<vtkRenderWindowInteractor>::New();
> >> >   imageViewer->SetupInteractor(renderWindowInteractor);
> >> >
> >> >     imageViewer->GetRenderWindow()->SetSize( 800, 600 );
> >> >
> >> >   imageViewer->GetRenderWindow()->StereoCapableWindowOn();
> >> >   imageViewer->GetRenderWindow()->SetStereoTypeToCrystalEyes();
> >> >   imageViewer->GetRenderWindow()->SetStereoRender(1);
> >> >   imageViewer->GetRenderWindow()->StereoUpdate();
> >> >
> >> >  renderWindowInteractor->Initialize();
> >> >
> >> >   imageViewer->SetInput(readerBase->GetOutput());
> >> >   imageViewer->GetRenderWindow()->Render();
> >> >   imageViewer->GetRenderer()->ResetCamera();
> >> >                 imageViewer->GetRenderWindow()->Render();
> >> >
> >> >    // Sign up to receive TimerEvent
> >> >   vtkSmartPointer<vtkTimerCallback> cb =
> >> >     vtkSmartPointer<vtkTimerCallback>::New();
> >> >   renderWindowInteractor->AddObserver(vtkCommand::TimerEvent, cb);
> >> >
> >> >   int timerId = renderWindowInteractor->CreateRepeatingTimer(100);
> >> >   std::cout << "timerId: " << timerId << std::endl;
> >> >
> >> >   renderWindowInteractor->Start();
> >> >
> >> >    return EXIT_SUCCESS;
> >> > }
> >> >
> >> >
> >> >
> >> >
> >> > --
> >> > View this message in context:
> >> > http://vtk.1045678.n5.nabble.com/VTK-Stereo-Rendering-tp5721833.html
> >> > Sent from the VTK - Users mailing list archive at Nabble.com.
> >> >
> >> >
> >> > ------------------------------
> >> >
> >> > Message: 6
> >> > Date: Tue, 9 Jul 2013 14:08:36 +0800
> >> > From: "hongsongyang" <hongsongyang at 163.com>
> >> > Subject: [vtkusers] [vtkUsers] About Different RenderWindowInteractor
> >> > To: <vtkusers at vtk.org>
> >> > Message-ID: <D36F8CD489D643279CDEF9B7802D2D8F at WlfPC>
> >> > Content-Type: text/plain; charset="us-ascii"
> >> >
> >> > Dear All:
> >> >
> >> >      I have several renders (e.g 4 render), and we could use
> >> SetViewport to
> >> > display all of them in one RenderWindow.
> >> >
> >> > My question is that could I set different interactor for each of the
> >> > render?
> >> >
> >> > For example, for render1, I only need zoom and ww/wl operation, but
> for
> >> > render2, I need zoom, pan and rotate operation.
> >> >
> >> >
> >> >
> >> > Thanks a lot.
> >> >
> >> > Hongsongyang
> >> >
> >> > -------------- next part --------------
> >> > An HTML attachment was scrubbed...
> >> > URL: <
> >> >
> >>
> http://www.vtk.org/pipermail/vtkusers/attachments/20130709/73d6e3a8/attachment-0001.htm
> >> > >
> >> >
> >> > ------------------------------
> >> >
> >> > Message: 7
> >> > Date: Mon, 8 Jul 2013 23:34:35 -0700
> >> > From: Gideon Valch <gvalch1237 at gmail.com>
> >> > Subject: [vtkusers] using vtkGL2PSExporter in python [ under
> >> >         pythonXY() ]
> >> > To: vtkusers at vtk.org
> >> > Message-ID:
> >> >         <
> >> > CAEEGk3YCKrV6gQCtRoPXZZQXQ+Qr7J+KPgK+zLAAeF2e6+Kpgw at mail.gmail.com>
> >> > Content-Type: text/plain; charset="iso-8859-1"
> >> >
> >> > Hello,
> >> >
> >> > I use pythonxy() as my platform for python supported vtk.
> Currently,
> >> > I'm trying to export a vtk render window to post script using the
> sample
> >> > code (at bottom) but I'm getting an error (see below).   I suspect
> this
> >> > relates to how pythonxy() is compiled.  Can anyone suggest a
> workaround?
> >> >
> >> > Thanks,
> >> > GV
> >> >
> >> > exporter = vtk.vtkGL2PSExporter()
> >> > AttributeError: 'module' object has no attribute 'vtkGL2PSExporter'
> >> >
> >> > ----------------------------
> >> >
> >> > prefix="c:\\temp\\foo444"
> >> > exporter = vtk.vtkGL2PSExporter()
> >> > exporter.SetFilePrefix(prefix)
> >> > exporter.SetFileFormatToSVG()
> >> > exporter.SetRenderWindow(renWin)
> >> > exporter.CompressOff()
> >> > exporter.SetSortToOff()
> >> > #exporter.DrawBackgroundOn()
> >> > #exporter.Write3DPropsAsRasterImageOn()
> >> > exporter.Write()
> >> > -------------- next part --------------
> >> > An HTML attachment was scrubbed...
> >> > URL: <
> >> >
> >>
> http://www.vtk.org/pipermail/vtkusers/attachments/20130708/2dfee622/attachment-0001.htm
> >> > >
> >> >
> >> > ------------------------------
> >> >
> >> > Message: 8
> >> > Date: Tue, 9 Jul 2013 00:44:38 -0700 (PDT)
> >> > From: Ruff <albin.nilsson at gmail.com>
> >> > Subject: Re: [vtkusers] Help with image planes example
> >> > To: vtkusers at vtk.org
> >> > Message-ID: <1373355878399-5721836.post at n5.nabble.com>
> >> > Content-Type: text/plain; charset=us-ascii
> >> >
> >> > Thank you!
> >> > The problem is that when I tried with ImageData as input in
> >> volume16reader
> >> > I
> >> > got the error "Attempt to connect input port index 0 for an algorithm
> >> with
> >> > 0
> >> > input ports"
> >> > Using ImageData as input directly to vtkImagePlaneWidget worked fine
> >> > though,
> >> > so I guess that solves it.
> >> > (My VTK-programming right now is mostly trial and error along with
> >> trying
> >> > to
> >> > understand the different data structures and the pipeline)
> >> >
> >> >
> >> >
> >> > --
> >> > View this message in context:
> >> >
> >>
> http://vtk.1045678.n5.nabble.com/Help-with-image-planes-example-tp5721813p5721836.html
> >> > Sent from the VTK - Users mailing list archive at Nabble.com.
> >> >
> >> >
> >> > ------------------------------
> >> >
> >> > Message: 9
> >> > Date: Tue, 09 Jul 2013 11:23:11 +0200
> >> > From: Umer Rafi <umer.rafi at rwth-aachen.de>
> >> > Subject: [vtkusers] adding texture to a wavefront .obj  file in vtk
> >> > To: vtkusers at vtk.org
> >> > Message-ID: <fb959ae41b00e3.51dbf29f at rwth-aachen.de>
> >> > Content-Type: text/plain; CHARSET=US-ASCII
> >> >
> >> > Hello everyone,
> >> >
> >> >     I am new to vtk. I am having a wavefront file of a 3d human model.
> >> > What I want to do is to render it using vtk and apply different
> >> textures to
> >> > different parts of the 3d human model. For example I have a texture
> >> image
> >> > containing a shirt that I want to apply to torso and arms only.
>  Another
> >> > one for jeans that I want to apply to legs and thighs only. I will
> >> really
> >> > appreciate if anyone can provide a sample code snippet to get me
> >> started.
> >> >
> >> >
> >> > thanks in advance.
> >> >
> >> > Regards
> >> > Umer
> >> >
> >> >
> >> > ------------------------------
> >> >
> >> > Message: 10
> >> > Date: Tue, 9 Jul 2013 16:53:12 +0530
> >> > From: "divya" <divya at triassicsolutions.com>
> >> > Subject: [vtkusers] Unexpected actor orientation results
> >> > To: "Vtk Users" <vtkusers at vtk.org>
> >> > Message-ID: <004201ce7c96$b5c358a0$214a09e0$@triassicsolutions.com>
> >> > Content-Type: text/plain; charset="us-ascii"
> >> >
> >> >
> >> >
> >> > Dear vtkUsers,
> >> >
> >> > I am trying to find the orientation of an actor while I'm rotating it,
> >> the
> >> > z
> >> > and y are correct, but the value range for  the x axis is [-90, 90],
> >> > whereas
> >> > the value range for  z and y axis is [-180, 180].
> >> >
> >> >
> >> >
> >> > Also the rotation doesn't happen in the chosen axis, for example when
> I
> >> > chose to rotate the actor by 15 degrees on y-axis, the value of the
> >> z-axis
> >> > increases.
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> > -------------- next part --------------
> >> > An HTML attachment was scrubbed...
> >> > URL: <
> >> >
> >>
> http://www.vtk.org/pipermail/vtkusers/attachments/20130709/3543ac30/attachment-0001.htm
> >> > >
> >> > -------------- next part --------------
> >> > A non-text attachment was scrubbed...
> >> > Name: not available
> >> > Type: image/jpeg
> >> > Size: 10515 bytes
> >> > Desc: not available
> >> > URL: <
> >> >
> >>
> http://www.vtk.org/pipermail/vtkusers/attachments/20130709/3543ac30/attachment-0002.jpeg
> >> > >
> >> > -------------- next part --------------
> >> > A non-text attachment was scrubbed...
> >> > Name: not available
> >> > Type: image/jpeg
> >> > Size: 13048 bytes
> >> > Desc: not available
> >> > URL: <
> >> >
> >>
> http://www.vtk.org/pipermail/vtkusers/attachments/20130709/3543ac30/attachment-0003.jpeg
> >> > >
> >> >
> >> > ------------------------------
> >> >
> >> > Message: 11
> >> > Date: Tue, 9 Jul 2013 05:23:41 -0700 (PDT)
> >> > From: shinpei <noro_shinpei at web.de>
> >> > Subject: Re: [vtkusers] FindCell method of vtkCellLocator
> >> > To: vtkusers at vtk.org
> >> > Message-ID: <1373372621955-5721840.post at n5.nabble.com>
> >> > Content-Type: text/plain; charset=us-ascii
> >> >
> >> > Sry... I thought it would be clear what I mean.
> >> >
> >> > The geometry contains two triangles:
> >> > Points are:
> >> > (0 0 0)
> >> > (0 10 0)
> >> > (10 0 0)
> >> > (10 10 0)
> >> >
> >> > with connection:
> >> > (0 1 2)
> >> > (1 2 3)
> >> >
> >> >      for (vtkIdType ptId = 0; ptId < geometry->GetNumberOfPoints();
> >> ++ptId)
> >> >     {
> >> >         geometry->getPoints()->GetPoint(ptId, trianglePoint);
> >> >
> >> >         bounds[0] = trianglePoint[0] - 0.01;
> >> >         bounds[1] = trianglePoint[0] + 0.01;
> >> >         bounds[2] = trianglePoint[1] - 0.01;
> >> >         bounds[3] = trianglePoint[1] + 0.01;
> >> >         bounds[4] = trianglePoint[2] - 0.01;
> >> >         bounds[5] = trianglePoint[2] + 0.01;
> >> >
> >> >         cellLocator->FindCellsWithinBounds(bounds, foundCells);
> >> >
> >> >         int size = foundCells->GetNumberOfIds(); // is always two
> >> >     }
> >> >
> >> > The trianglePoint is e.g. (0 0 0) (first iteration of the loop) so I
> >> should
> >> > get only one triangle, but I get always two triangles. The bb is small
> >> > enough and there is a point which correspons to only one triangle.
> >> >
> >> >
> >> >
> >> > --
> >> > View this message in context:
> >> >
> >>
> http://vtk.1045678.n5.nabble.com/FindCell-method-of-vtkCellLocator-tp5721831p5721840.html
> >> > Sent from the VTK - Users mailing list archive at Nabble.com.
> >> >
> >> >
> >> > ------------------------------
> >> >
> >> > Message: 12
> >> > Date: Tue, 9 Jul 2013 15:43:23 +0300
> >> > From: Haroon Showgan <haroon.showgan at gmail.com>
> >> > Subject: [vtkusers] VTK application running on Linux loads VNC server
> >> > To: vtkusers at vtk.org
> >> > Message-ID:
> >> >         <CAJ=
> >> > gTgXfT44oBK1Qz5idLBRDt0kdiZuLh0iA+mrtAChwR_-Pkw at mail.gmail.com>
> >> > Content-Type: text/plain; charset="iso-8859-1"
> >> >
> >> > Hi,
> >> >
> >> > I'm implementing a VTK application for visualizing geometrical 3D
> >> objects.
> >> > Most of the code is written in C++, and I use TCL-TK widgets for the
> >> GUI (I
> >> > use *vtkTkRenderWidget* for the main canvas).
> >> >
> >> > Most of my objects are *vtkVoxel* objects inserted into a *
> >> > vtkUnstructuredGrid*.
> >> >
> >> > I run this application on a Linux server and I connect to this server
> >> from
> >> > Windows using VNC. I noticed that when I load a very large data set
> into
> >> > the application then the *VNC server* (on the Linux machine) consumes
> a
> >> lot
> >> > of memory and uses 100% CPU. I didn't realize that the memory and CPU
> >> > usages of a VNC server would be affected so much like this.
> >> >
> >> >  Note that my VTK application is also consuming a lot of memory and
> CPU,
> >> > but what I find strange is that the VNC server is also affected (the
> >> > process is called *Xvnc_core*).
> >> >
> >> > Does anyone know how this is caused and do you have any suggestion how
> >> to
> >> > mitigate the problem?
> >> >
> >> > Regards,
> >> > Haroon
> >> > -------------- next part --------------
> >> > An HTML attachment was scrubbed...
> >> > URL: <
> >> >
> >>
> http://www.vtk.org/pipermail/vtkusers/attachments/20130709/621fefc2/attachment-0001.htm
> >> > >
> >> >
> >> > ------------------------------
> >> >
> >> > Message: 13
> >> > Date: Tue, 9 Jul 2013 07:25:46 -0700 (PDT)
> >> > From: Massinissa Bandou <Massinissa.Bandou at USherbrooke.ca>
> >> > Subject: [vtkusers] .RAW file
> >> > To: vtkusers at vtk.org
> >> > Message-ID: <1373379946181-5721842.post at n5.nabble.com>
> >> > Content-Type: text/plain; charset=us-ascii
> >> >
> >> > Hello everyone,
> >> >
> >> > I tried to read a (.raw) file with the following code but it displays
> a
> >> RED
> >> > CUBE. Here is some information about my file  dataInfo.txt
> >> > <http://vtk.1045678.n5.nabble.com/file/n5721842/dataInfo.txt>  . Is
> >> there
> >> > something wrong in my code?
> >> >
> >> > thx for your time and help!
> >> >
> >> > sorry my file is too large to be send.
> >> >
> >> > #include <vtkSmartPointer.h>
> >> > #include <vtkRenderWindow.h>
> >> > #include <vtkRenderWindowInteractor.h>
> >> > #include <vtkRenderer.h>
> >> > #include <vtkActor>
> >> > #include <vtkImageReader>
> >> > #include <vtkDataSetMapper>
> >> >
> >> > int main(int argc, char *argv[])
> >> > {
> >> >         vtkImageReader *reader = vtkImageReader::New();
> >> >         reader->SetFileName(file.c_str());
> >> >         reader->SetFileDimensionality(3);
> >> >         reader->SetNumberOfScalarComponents(1);
> >> >         reader->SetDataExtent(0,512,0,512,0,512);
> >> >         reader->SetDataSpacing(0.145, 0.145, 0.145);
> >> >         reader->SetDataByteOrderToBigEndian();
> >> >         reader->SetDataScalarTypeToChar();
> >> >         reader->Update();
> >> >
> >> >         vtkSmartPointer<vtkDataSetMapper> map =
> >> > vtkSmartPointer<vtkDataSetMapper>::New();
> >> >         map->SetInputConnection(reader->GetOutputPort());
> >> >
> >> >
> >> >         vtkSmartPointer<vtkActor> actor =
> >> vtkSmartPointer<vtkActor>::New();
> >> >         actor->SetMapper(map);
> >> >
> >> >         vtkSmartPointer<vtkRenderWindowInteractor> interactor =
> >> > vtkSmartPointer<vtkRenderWindowInteractor>::New();
> >> >
> >> >         vtkSmartPointer<vtkRenderWindow> renderWindow =
> >> > vtkSmartPointer<vtkRenderWindow>::New();
> >> >         interactor->SetRenderWindow(renderWindow);
> >> >         vtkSmartPointer<vtkRenderer> renderer =
> >> > vtkSmartPointer<vtkRenderer>::New();
> >> >         renderWindow->AddRenderer(renderer);
> >> >         renderer->AddActor(actor);
> >> >
> >> >         renderWindow->Render();
> >> >         interactor->Start();
> >> > }
> >> >
> >> >
> >> >
> >> >
> >> > --
> >> > View this message in context:
> >> > http://vtk.1045678.n5.nabble.com/RAW-file-tp5721842.html
> >> > Sent from the VTK - Users mailing list archive at Nabble.com.
> >> >
> >> >
> >> > ------------------------------
> >> >
> >> > Message: 14
> >> > Date: Tue, 9 Jul 2013 11:38:50 -0400
> >> > From: Bill Lorensen <bill.lorensen at gmail.com>
> >> > Subject: Re: [vtkusers] .RAW file
> >> > To: Massinissa Bandou <Massinissa.Bandou at usherbrooke.ca>
> >> > Cc: VTK Users <vtkusers at vtk.org>
> >> > Message-ID:
> >> >         <
> >> > CADZJ4hNXVuS_7L9ocCzex3XHpqyg5dpdKJ2NmxfQn_DnaSDp_Q at mail.gmail.com>
> >> > Content-Type: text/plain; charset="iso-8859-1"
> >> >
> >> > If your data is 512x512x512 then
> >> > reader->SetDataExtent(0,512,0,512,0,512);
> >> > should be:
> >> > reader->SetDataExtent(0,511,0,511,0,511);
> >> >
> >> > Also be certain you are setting the correct endianness.
> >> >
> >> >
> >> > On Tue, Jul 9, 2013 at 10:25 AM, Massinissa Bandou <
> >> > Massinissa.Bandou at usherbrooke.ca> wrote:
> >> >
> >> > > Hello everyone,
> >> > >
> >> > > I tried to read a (.raw) file with the following code but it
> displays
> >> a
> >> > RED
> >> > > CUBE. Here is some information about my file  dataInfo.txt
> >> > > <http://vtk.1045678.n5.nabble.com/file/n5721842/dataInfo.txt>  . Is
> >> > there
> >> > > something wrong in my code?
> >> > >
> >> > > thx for your time and help!
> >> > >
> >> > > sorry my file is too large to be send.
> >> > >
> >> > > #include <vtkSmartPointer.h>
> >> > > #include <vtkRenderWindow.h>
> >> > > #include <vtkRenderWindowInteractor.h>
> >> > > #include <vtkRenderer.h>
> >> > > #include <vtkActor>
> >> > > #include <vtkImageReader>
> >> > > #include <vtkDataSetMapper>
> >> > >
> >> > > int main(int argc, char *argv[])
> >> > > {
> >> > >         vtkImageReader *reader = vtkImageReader::New();
> >> > >         reader->SetFileName(file.c_str());
> >> > >         reader->SetFileDimensionality(3);
> >> > >         reader->SetNumberOfScalarComponents(1);
> >> > >         reader->SetDataExtent(0,512,0,512,0,512);
> >> > >         reader->SetDataSpacing(0.145, 0.145, 0.145);
> >> > >         reader->SetDataByteOrderToBigEndian();
> >> > >         reader->SetDataScalarTypeToChar();
> >> > >         reader->Update();
> >> > >
> >> > >         vtkSmartPointer<vtkDataSetMapper> map =
> >> > > vtkSmartPointer<vtkDataSetMapper>::New();
> >> > >         map->SetInputConnection(reader->GetOutputPort());
> >> > >
> >> > >
> >> > >         vtkSmartPointer<vtkActor> actor =
> >> > vtkSmartPointer<vtkActor>::New();
> >> > >         actor->SetMapper(map);
> >> > >
> >> > >         vtkSmartPointer<vtkRenderWindowInteractor> interactor =
> >> > > vtkSmartPointer<vtkRenderWindowInteractor>::New();
> >> > >
> >> > >         vtkSmartPointer<vtkRenderWindow> renderWindow =
> >> > > vtkSmartPointer<vtkRenderWindow>::New();
> >> > >         interactor->SetRenderWindow(renderWindow);
> >> > >         vtkSmartPointer<vtkRenderer> renderer =
> >> > > vtkSmartPointer<vtkRenderer>::New();
> >> > >         renderWindow->AddRenderer(renderer);
> >> > >         renderer->AddActor(actor);
> >> > >
> >> > >         renderWindow->Render();
> >> > >         interactor->Start();
> >> > > }
> >> > >
> >> > >
> >> > >
> >> > >
> >> > > --
> >> > > View this message in context:
> >> > > http://vtk.1045678.n5.nabble.com/RAW-file-tp5721842.html
> >> > > Sent from the VTK - Users mailing list archive at Nabble.com.
> >> > > _______________________________________________
> >> > > Powered by www.kitware.com
> >> > >
> >> > > Visit other Kitware open-source projects at
> >> > > http://www.kitware.com/opensource/opensource.html
> >> > >
> >> > > Please keep messages on-topic and check the VTK FAQ at:
> >> > > http://www.vtk.org/Wiki/VTK_FAQ
> >> > >
> >> > > Follow this link to subscribe/unsubscribe:
> >> > > http://www.vtk.org/mailman/listinfo/vtkusers
> >> > >
> >> >
> >> >
> >> >
> >> > --
> >> > Unpaid intern in BillsBasement at noware dot com
> >> > -------------- next part --------------
> >> > An HTML attachment was scrubbed...
> >> > URL: <
> >> >
> >>
> http://www.vtk.org/pipermail/vtkusers/attachments/20130709/b188c2b1/attachment-0001.htm
> >> > >
> >> >
> >> > ------------------------------
> >> >
> >> > Message: 15
> >> > Date: Tue, 9 Jul 2013 08:46:33 -0700 (PDT)
> >> > From: Ruff <albin.nilsson at gmail.com>
> >> > Subject: [vtkusers] My point cloud data won't display in the renderer.
> >> > To: vtkusers at vtk.org
> >> > Message-ID: <1373384793963-5721844.post at n5.nabble.com>
> >> > Content-Type: text/plain; charset=us-ascii
> >> >
> >> > All i get is an empty renderWindow. I get no errors, but no data is
> >> > rendered
> >> > either. What am I doing wrong?
> >> >
> >> > What I do is pretty much this:
> >> >
> >> > AtomGrid=vtk.vtkUnstructuredGrid()
> >> > AtomGrid.SetPoints(    vtkPoints with [index,x,y,z]    )
> >> > AtomGrid.GetPointData().SetScalars(    vtkFloatArray with [index,
> >> scalar]
> >> > )
> >> >
> >> > volMapper = vtk.vtkUnstructuredGridVolumeRayCastMapper()
> >> > volMapper.SetBlendModeToComposite()
> >> > volMapper.SetInput(AtomGrid)
> >> >
> >> >
> >> > I tried volMapper.SetScalarModeToUsePointFieldData(), but then it
> claims
> >> > that I have no scalar values to use(!!)
> >> >
> >> > (I cheated before, and was satisfied using ImageData for this, but
> now I
> >> > really need to get this to work with UnstructuredGrid)
> >> >
> >> >
> >> >
> >> > --
> >> > View this message in context:
> >> >
> >>
> http://vtk.1045678.n5.nabble.com/My-point-cloud-data-won-t-display-in-the-renderer-tp5721844.html
> >> > Sent from the VTK - Users mailing list archive at Nabble.com.
> >> >
> >> >
> >> > ------------------------------
> >> >
> >> > _______________________________________________
> >> > vtkusers mailing list
> >> > vtkusers at vtk.org
> >> > http://www.vtk.org/mailman/listinfo/vtkusers
> >> >
> >> >
> >> > End of vtkusers Digest, Vol 111, Issue 16
> >> > *****************************************
> >> >
> >>
> >>
> >>
> >> --
> >> *Best  Regards
> >> Rahul Indoria
> >> Mobile No: +49-157-35652212*
> >> -------------- next part --------------
> >> An HTML attachment was scrubbed...
> >> URL: <
> >>
> http://www.vtk.org/pipermail/vtkusers/attachments/20130709/ce46c409/attachment-0001.htm
> >> >
> >>
> >> ------------------------------
> >>
> >> Message: 3
> >> Date: Tue, 9 Jul 2013 15:00:16 -0400
> >> From: Bill Lorensen <bill.lorensen at gmail.com>
> >> Subject: Re: [vtkusers] vtkusers Digest, Vol 111, Issue 16
> >> To: rahul indoria <rahulindoria5 at gmail.com>
> >> Cc: "vtkusers at vtk.org" <vtkusers at vtk.org>
> >> Message-ID:
> >>         <CADZJ4hMNYM4Rp7Fn0Kt+yvxbje_3eeD+F0-=
> >> Ti+a4JGRBQp5Yw at mail.gmail.com>
> >> Content-Type: text/plain; charset="iso-8859-1"
> >>
> >> The points and cells are generated in the for loops.
> >>
> >>
> >>
> >> On Tue, Jul 9, 2013 at 2:43 PM, rahul indoria <rahulindoria5 at gmail.com
> >> >wrote:
> >>
> >> > Hi,
> >> >    Can you explain me some portion of the code of this example (
> >> >
> >>
> http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/CurvedReformation
> >> )?
> >> >
> >> > i need to ask the line by line documentation of this function, how
> these
> >> > points and surface is formed?
> >> >
> >> >
> >> > vtkSmartPointer<vtkPolyData> SweepLine (vtkPolyData *line,
> >> >                                         double direction[3],
> >> >                                         double distance,
> >> >                                         unsigned int cols)
> >> >
> >> > {
> >> >
> >> > unsigned int rows = line->GetNumberOfPoints();
> >> >
> >> >   double spacing = distance / cols;
> >> >   vtkSmartPointer<vtkPolyData> surface =
> >> >     vtkSmartPointer<vtkPolyData>::New();
> >> >
> >> >   // Generate the points
> >> >   cols++; // why this statement ?
> >> >   unsigned int numberOfPoints = rows * cols; // how these number
> points
> >> are generated
> >> >   unsigned int numberOfPolys = (rows - 1) * (cols - 1); // what is
> >> this???
> >> >
> >> >
> >> > vtkSmartPointer<vtkPoints> points =
> >> >     vtkSmartPointer<vtkPoints>::New();
> >> >   points->Allocate(numberOfPoints);
> >> >   vtkSmartPointer<vtkCellArray> polys =
> >> >     vtkSmartPointer<vtkCellArray>::New();
> >> >   polys->Allocate(numberOfPolys*4);
> >> >
> >> >   double x[3];
> >> >   unsigned int cnt = 0;
> >> >   for (unsigned int row = 0; row < rows; row++)
> >> >     {
> >> >       for (unsigned int col = 0; col < cols; col++)
> >> >         {
> >> >           double p[3];
> >> >           line->GetPoint(row, p);
> >> >           x[0] = p[0] + direction[0] * col * spacing;
> >> >           x[1] = p[1] + direction[1] * col * spacing;
> >> >           x[2] = p[2] + direction[2] * col * spacing;
> >> >           points->InsertPoint(cnt++, x);
> >> >         }
> >> >     }
> >> >   // Generate the quads
> >> >   vtkIdType pts[4];
> >> >   for (unsigned int row = 0; row < rows - 1; row++)
> >> >     {
> >> >       for (unsigned int col = 0; col < cols - 1; col++)
> >> >         {
> >> >           pts[0] = col + row * (cols);
> >> >           pts[1] = pts[0] + 1;
> >> >           pts[2] = pts[0] + cols + 1;
> >> >           pts[3] = pts[0] + cols;
> >> >           polys->InsertNextCell(4,pts);
> >> >         }
> >> >     }
> >> >   surface->SetPoints(points);
> >> >   surface->SetPolys(polys);
> >> >
> >> >   return surface;}
> >> >
> >> >
> >> >
> >> >
> >> > please reply as soon as possible
> >> >
> >> >
> >> >
> >> > On Tue, Jul 9, 2013 at 6:00 PM, <vtkusers-request at vtk.org> wrote:
> >> >
> >> >> Send vtkusers mailing list submissions to
> >> >>         vtkusers at vtk.org
> >> >>
> >> >> To subscribe or unsubscribe via the World Wide Web, visit
> >> >>         http://www.vtk.org/mailman/listinfo/vtkusers
> >> >> or, via email, send a message with subject or body 'help' to
> >> >>         vtkusers-request at vtk.org
> >> >>
> >> >> You can reach the person managing the list at
> >> >>         vtkusers-owner at vtk.org
> >> >>
> >> >> When replying, please edit your Subject line so it is more specific
> >> >> than "Re: Contents of vtkusers digest..."
> >> >>
> >> >>
> >> >> Today's Topics:
> >> >>
> >> >>    1. Re: Vtk 6.0 dotnet (David Cole)
> >> >>    2. Re: Regarding example VTKimagereslicemapper (rahul indoria)
> >> >>    3. FindCell method of vtkCellLocator (shinpei)
> >> >>    4. Re: FindCell method of vtkCellLocator (Alex Malyushytskyy)
> >> >>    5. VTK Stereo Rendering (mailagentrus)
> >> >>    6. [vtkUsers] About Different RenderWindowInteractor
> (hongsongyang)
> >> >>    7. using vtkGL2PSExporter in python [ under pythonXY() ]
> >> >>       (Gideon Valch)
> >> >>    8. Re: Help with image planes example (Ruff)
> >> >>    9. adding texture to a wavefront .obj  file in vtk (Umer Rafi)
> >> >>   10. Unexpected actor orientation results (divya)
> >> >>   11. Re: FindCell method of vtkCellLocator (shinpei)
> >> >>   12. VTK application running on Linux loads VNC server (Haroon
> >> Showgan)
> >> >>   13. .RAW file (Massinissa Bandou)
> >> >>   14. Re: .RAW file (Bill Lorensen)
> >> >>   15. My point cloud data won't display in the renderer. (Ruff)
> >> >>
> >> >>
> >> >>
> ----------------------------------------------------------------------
> >> >>
> >> >> Message: 1
> >> >> Date: Mon, 8 Jul 2013 16:21:52 +0000
> >> >> From: David Cole <dlrdave at aol.com>
> >> >> Subject: Re: [vtkusers] Vtk 6.0 dotnet
> >> >> To: " vtkusers at vtk.org " <vtkusers at vtk.org>, Serge Lalonde
> >> >>         <serge at infolytica.com>
> >> >> Message-ID: <20130708165306.6B0E66504F at public.kitware.com>
> >> >> Content-Type: text/plain; charset="utf-8"
> >> >>
> >> >> Thanks, Serge. It *is* too bad that the kickstarter approach did not
> >> >> yield a funded project this time around. Perhaps later, another one
> >> will be
> >> >> successful.
> >> >>
> >> >>
> >> >>
> >> >> Alex, you wrote ?as for me I would trust more in the results of free
> >> >> development than in results of the projects developed using such
> >> financing.?
> >> >>
> >> >>
> >> >>
> >> >> In response, I would simply point out the results of free development
> >> are
> >> >> that ActiViz is presently ?stuck? on the VTK 5.8 version. And it was
> >> only
> >> >> ?free as in beer? to those of you who didn?t pay for it.
> >> >>
> >> >>
> >> >>
> >> >> It?s also too bad that nobody else has stepped up and said, ?hey, how
> >> can
> >> >> I contribute and help to make this happen?? (Aside from the 20
> >> kickstarter
> >> >> project backers [1] -- thanks again, guys...)
> >> >>
> >> >>
> >> >>
> >> >> For those willing to contribute effort and manpower to the problem,
> >> >> rather than money, go for it. VTK and ActiViz are both open source,
> >> and may
> >> >> be built and extended by any interested party. I recently abandoned
> the
> >> >> topic integrating the two [2] due to lack of activity. Anybody who
> >> wants
> >> >> to, please feel free to resurrect it, rebase it on current ?master?,
> >> and
> >> >> try again. Alternatively, you could simply extend the ActiViz git
> repo
> >> with
> >> >> commits to make it build against an external VTK 5.10 or 6.0 [3].
> >> >>
> >> >>
> >> >> While I am capable and mildly interested in furthering ActiViz .NET,
> I
> >> >> prefer to spend much of my free time on non-computer related
> activities
> >> >> these days. I get quite enough compute time just doing my job. But
> >> money
> >> >> actually does motivate me... and I would be willing to do the work if
> >> paid
> >> >> for it. So, that, plus gauging actual interest level, were my primary
> >> >> motivations for seeking funding via kickstarter.
> >> >>
> >> >>
> >> >>
> >> >>
> >> >>
> >> >> Cheers,
> >> >>
> >> >> David Cole
> >> >>
> >> >>
> >> >>
> >> >>
> >> >> [1]
> >> >>
> >>
> http://www.kickstarter.com/projects/dlrdave/activiz-net-installers-featuring-vtk-510/backers
> >> >>
> >> >> [2] http://review.source.kitware.com/#/t/1615/
> >> >>
> >> >> [3] http://public.kitware.com/gitweb?p=activizdotnet.git
> >> >>
> >> >>
> >> >>
> >> >> P.S. ---
> >> >>
> >> >>
> >> >> I would also like to point out that nowadays, you can simply build a
> >> >> managed-C++ project with VS 2012, and ?just link for free? to the
> >> native
> >> >> VTK C++ libraries. That doesn?t help folks using other .NET
> languages,
> >> but
> >> >> it is a nice feature of the modern C++ compiler from MS that you can
> >> link
> >> >> in both managed and un-managed code together. If you are starting a
> new
> >> >> Windows Forms application, consider using managed C++ as your
> language.
> >> >> -------------- next part --------------
> >> >> An HTML attachment was scrubbed...
> >> >> URL: <
> >> >>
> >>
> http://www.vtk.org/pipermail/vtkusers/attachments/20130708/0cc105c5/attachment-0001.htm
> >> >> >
> >> >>
> >> >> ------------------------------
> >> >>
> >> >> Message: 2
> >> >> Date: Mon, 8 Jul 2013 20:12:06 +0200
> >> >> From: rahul indoria <rahulindoria5 at gmail.com>
> >> >> Subject: Re: [vtkusers] Regarding example VTKimagereslicemapper
> >> >> To: David Doria <daviddoria at gmail.com>, "vtkusers at vtk.org"
> >> >>         <vtkusers at vtk.org>
> >> >> Message-ID:
> >> >>         <CAGQ+16KkyGkkjmWQ86Xh5=
> >> >> VfUnbABFEquKOdKEDKfm9_F1eyaA at mail.gmail.com>
> >> >> Content-Type: text/plain; charset="iso-8859-1"
> >> >>
> >> >> Hi,
> >> >>     Could you please tell me, what are port index in VTK functions?
> >> >>
> >> >>
> >> >> On Mon, Jul 8, 2013 at 5:51 PM, David Doria <daviddoria at gmail.com>
> >> wrote:
> >> >>
> >> >> > In the future, please keep the conversation on the mailing list so
> >> that
> >> >> > everyone can participate/benefit from the discussion.
> >> >> >
> >> >> > I believe what you're seeing is a contrast adjustment mechanism
> >> (called
> >> >> > "window level events" -
> >> >> >
> >> >>
> >>
> http://www.vtk.org/doc/nightly/html/classvtkInteractorStyleImage.html#details
> >> >> > ).
> >> >> >
> >> >> >
> >> >> > David
> >> >> >
> >> >> >
> >> >> > On Mon, Jul 8, 2013 at 11:48 AM, rahul indoria <
> >> rahulindoria5 at gmail.com
> >> >> >wrote:
> >> >> >
> >> >> >> Hi David,
> >> >> >>                I have one more question regarding this example, in
> >> the
> >> >> >> output of this example(
> >> >> >> http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/ImageSliceMapper
> ),
> >> why
> >> >> >> we are getting different colors of the image, when i am
> >> left-clicking
> >> >> on
> >> >> >> the image and moving mouse up and down?
> >> >> >>
> >> >> >> Looking forward your reply soon.
> >> >> >>
> >> >> >>
> >> >> >> rahul indoria
> >> >> >>
> >> >> >>
> >> >> >> On Mon, Jul 8, 2013 at 3:22 PM, David Doria <daviddoria at gmail.com
> >
> >> >> wrote:
> >> >> >>
> >> >> >>> On Mon, Jul 8, 2013 at 9:05 AM, rahul indoria <
> >> >> rahulindoria5 at gmail.com>wrote:
> >> >> >>>
> >> >> >>>> Hi,
> >> >> >>>>    I was modifying this example:
> >> >> >>>>
> http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/ImageSliceMapper
> >> >> >>>>  in this example, i am deleting the object vtkImageSlice, and
> >> when i
> >> >> am
> >> >> >>>> putting the object "imageSliceMapper" i getting an error?
> >> >> >>>>
> >> >> >>>> As vtkimageslice class used to represent an image in a 3D
> scene, i
> >> >> >>>> don`t want to display this in 3D scene, just want to display on
> >> the
> >> >> screen
> >> >> >>>> that`s why i am deleting this class, so why i am getting this
> >> error?
> >> >> >>>>
> >> >> >>>> I modified this code like this :
> >> >> >>>>
> >> >> >>>
> >> >> >>> What do you want to do if not display the image? The problem is
> >> that
> >> >> you
> >> >> >>> can't call AddViewProp on a mapper - it has to be a vtkProp
> >> subclass
> >> >> >>> (like the vtkImageSlice was). In the future, please include the
> >> exact
> >> >> >>> error that you are getting.
> >> >> >>>
> >> >> >>> David
> >> >> >>>
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >> --
> >> >> >> *Best  Regards
> >> >> >> Rahul Indoria
> >> >> >> Mobile No: +49-157-35652212*
> >> >> >>
> >> >> >
> >> >> >
> >> >>
> >> >>
> >> >> --
> >> >> *Best  Regards
> >> >> Rahul Indoria
> >> >> Mobile No: +49-157-35652212*
> >> >> -------------- next part --------------
> >> >> An HTML attachment was scrubbed...
> >> >> URL: <
> >> >>
> >>
> http://www.vtk.org/pipermail/vtkusers/attachments/20130708/8de03097/attachment-0001.htm
> >> >> >
> >> >>
> >> >> ------------------------------
> >> >>
> >> >> Message: 3
> >> >> Date: Mon, 8 Jul 2013 15:44:56 -0700 (PDT)
> >> >> From: shinpei <noro_shinpei at web.de>
> >> >> Subject: [vtkusers] FindCell method of vtkCellLocator
> >> >> To: vtkusers at vtk.org
> >> >> Message-ID: <1373323496433-5721831.post at n5.nabble.com>
> >> >> Content-Type: text/plain; charset=us-ascii
> >> >>
> >> >> Hi,
> >> >>
> >> >> I have two triangle cells in my vtkCellLocator and I create a little
> bb
> >> >> around a point of one triangle (see picture). Now I use FindCell(bb,
> >> >> idList)
> >> >> and I should get one id, but I get two. Is this a bug, or must I
> change
> >> >> something?
> >> >>
> >> >> <http://vtk.1045678.n5.nabble.com/file/n5721831/Unbenannt.png>
> >> >> - two trinagles (red)
> >> >> - bb (blue)
> >> >>
> >> >> My code:
> >> >>
> >> >>     for (vtkIdType ptId = 0; ptId < geometry->GetNumberOfPoints();
> >> ++ptId)
> >> >>     {
> >> >>         bounds[0] = trianglePoint[0] - 0.01;
> >> >>         bounds[1] = trianglePoint[0] + 0.01;
> >> >>         bounds[2] = trianglePoint[1] - 0.01;
> >> >>         bounds[3] = trianglePoint[1] + 0.01;
> >> >>         bounds[4] = trianglePoint[2] - 0.01;
> >> >>         bounds[5] = trianglePoint[2] + 0.01;
> >> >>
> >> >>         cellLocator->FindCellsWithinBounds(bounds, foundCells);
> >> >>
> >> >>         int size = foundCells->GetNumberOfIds(); // is always two
> >> >>     }
> >> >>
> >> >>
> >> >> Thx
> >> >>
> >> >>
> >> >>
> >> >> --
> >> >> View this message in context:
> >> >>
> >>
> http://vtk.1045678.n5.nabble.com/FindCell-method-of-vtkCellLocator-tp5721831.html
> >> >> Sent from the VTK - Users mailing list archive at Nabble.com.
> >> >>
> >> >>
> >> >> ------------------------------
> >> >>
> >> >> Message: 4
> >> >> Date: Mon, 8 Jul 2013 19:00:25 -0700
> >> >> From: Alex Malyushytskyy <alexmalvtk at gmail.com>
> >> >> Subject: Re: [vtkusers] FindCell method of vtkCellLocator
> >> >> To: shinpei <noro_shinpei at web.de>
> >> >> Cc: VTK <vtkusers at vtk.org>
> >> >> Message-ID:
> >> >>         <
> >> >> CAHR9pJ0m4dYdghFRjZ5Y6YffT23dv3Q+Scsu4JEK8yMLQZ7rbg at mail.gmail.com>
> >> >> Content-Type: text/plain; charset="iso-8859-1"
> >> >>
> >> >> It is not clear that attached picture corresponds to your claims.
> >> >> There is no visible  relation between trianglePoint and
> >> >> geometry->GetNumberOfPoints().
> >> >> Also  for (vtkIdType ptId = 0; ptId < geometry->GetNumberOfPoints();
> >> >> ++ptId)
> >> >> loop does not make any sense cause nothing changes in the loop.
> >> >>
> >> >> So I guess your trianglePoint is not what you think it is.
> >> >> For example if this point is shared by 2 triangles you will have the
> >> same
> >> >> effect.
> >> >> Another possible problem might be absolute value 0.1 used.
> >> >> For example your triangle may have size smaller than it, which will
> be
> >> a
> >> >> source of such effect too.
> >> >>
> >> >> Your example is not complete , you could create much better example
> >> >> initializing all available variables so the behavior can be
> reproduced.
> >> >>
> >> >> Alex
> >> >>
> >> >>
> >> >>
> >> >> On Mon, Jul 8, 2013 at 3:44 PM, shinpei <noro_shinpei at web.de> wrote:
> >> >>
> >> >> > Hi,
> >> >> >
> >> >> > I have two triangle cells in my vtkCellLocator and I create a
> little
> >> bb
> >> >> > around a point of one triangle (see picture). Now I use
> FindCell(bb,
> >> >> > idList)
> >> >> > and I should get one id, but I get two. Is this a bug, or must I
> >> change
> >> >> > something?
> >> >> >
> >> >> > <http://vtk.1045678.n5.nabble.com/file/n5721831/Unbenannt.png>
> >> >> > - two trinagles (red)
> >> >> > - bb (blue)
> >> >> >
> >> >> > My code:
> >> >> >
> >> >> >     for (vtkIdType ptId = 0; ptId < geometry->GetNumberOfPoints();
> >> >> ++ptId)
> >> >> >     {
> >> >> >         bounds[0] = trianglePoint[0] - 0.01;
> >> >> >         bounds[1] = trianglePoint[0] + 0.01;
> >> >> >         bounds[2] = trianglePoint[1] - 0.01;
> >> >> >         bounds[3] = trianglePoint[1] + 0.01;
> >> >> >         bounds[4] = trianglePoint[2] - 0.01;
> >> >> >         bounds[5] = trianglePoint[2] + 0.01;
> >> >> >
> >> >> >         cellLocator->FindCellsWithinBounds(bounds, foundCells);
> >> >> >
> >> >> >         int size = foundCells->GetNumberOfIds(); // is always two
> >> >> >     }
> >> >> >
> >> >> >
> >> >> > Thx
> >> >> >
> >> >> >
> >> >> >
> >> >> > --
> >> >> > View this message in context:
> >> >> >
> >> >>
> >>
> http://vtk.1045678.n5.nabble.com/FindCell-method-of-vtkCellLocator-tp5721831.html
> >> >> > Sent from the VTK - Users mailing list archive at Nabble.com.
> >> >> > _______________________________________________
> >> >> > Powered by www.kitware.com
> >> >> >
> >> >> > Visit other Kitware open-source projects at
> >> >> > http://www.kitware.com/opensource/opensource.html
> >> >> >
> >> >> > Please keep messages on-topic and check the VTK FAQ at:
> >> >> > http://www.vtk.org/Wiki/VTK_FAQ
> >> >> >
> >> >> > Follow this link to subscribe/unsubscribe:
> >> >> > http://www.vtk.org/mailman/listinfo/vtkusers
> >> >> >
> >> >> -------------- next part --------------
> >> >> An HTML attachment was scrubbed...
> >> >> URL: <
> >> >>
> >>
> http://www.vtk.org/pipermail/vtkusers/attachments/20130708/533f4d72/attachment-0001.htm
> >> >> >
> >> >>
> >> >> ------------------------------
> >> >>
> >> >> Message: 5
> >> >> Date: Mon, 8 Jul 2013 22:09:00 -0700 (PDT)
> >> >> From: mailagentrus <mailagentrus at mail.ru>
> >> >> Subject: [vtkusers] VTK Stereo Rendering
> >> >> To: vtkusers at vtk.org
> >> >> Message-ID: <1373346540408-5721833.post at n5.nabble.com>
> >> >> Content-Type: text/plain; charset=us-ascii
> >> >>
> >> >> Hi! I want to add a stereo mode to my program. Program wil be show
> >> pairs
> >> >> of
> >> >> images image in stereo mode (with Nvidia 3d vision). I set up NVidia
> >> Qudro
> >> >> 410 and saw stereo mode with Polydata object with using Paraview.
> >> >> But, when I try to make own program i see inly the firs pair images
> in
> >> >> stereo mode, after that image in right eye does not update... Updates
> >> inly
> >> >> the left eye image.
> >> >> Help me, please!
> >> >>
> >> >> Code:
> >> >>
> >> >> #include <vtkPolyDataReader.h>
> >> >> #include <vtkSmartPointer.h>
> >> >> #include <vtkDataSetMapper.h>
> >> >> #include <vtkActor.h>
> >> >> #include <vtkRenderWindow.h>
> >> >> #include <vtkRenderer.h>
> >> >> #include <vtkRenderWindowInteractor.h>
> >> >> #include <vtkCamera.h>
> >> >> #include "vtkCommand.h"
> >> >> #include "vtkImageData.h"
> >> >> #include <vtkBMPReader.h>
> >> >> #include <vtkImageViewer2.h>
> >> >> #include <vtkImageActor.h>
> >> >>
> >> >> vtkSmartPointer<vtkBMPReader> readerR;
> >> >> vtkSmartPointer<vtkBMPReader> readerL;
> >> >> vtkSmartPointer<vtkImageViewer2> imageViewer;
> >> >>
> >> >> class vtkTimerCallback : public vtkCommand
> >> >> {
> >> >>   public:
> >> >>     static vtkTimerCallback *New()
> >> >>     {
> >> >>       vtkTimerCallback *cb = new vtkTimerCallback;
> >> >>       cb->TimerCount = 0;
> >> >>       return cb;
> >> >>     }
> >> >>
> >> >>     virtual void Execute(vtkObject *vtkNotUsed(caller), unsigned long
> >> >> eventId,
> >> >>                          void *vtkNotUsed(callData))
> >> >>     {
> >> >>       if (vtkCommand::TimerEvent == eventId)
> >> >>         {
> >> >>
> >> >> // for example name for left eye image is
> >> >>                 readerL->SetFileName ( "D:/1234/-40.bmp");
> >> >>                 readerL->Update();
> >> >>
> >> >> // for example name for right eye image is
> >> >>                 readerR->SetFileName ( "D:/1234/40.bmp");
> >> >>                 readerR->Update();
> >> >>
> >> >>                 imageViewer->SetInput(readerL->GetOutput());
> >> >>
> imageViewer->GetRenderWindow()->SetStereoTypeToLeft();
> >> >>                 imageViewer->GetRenderWindow()->Render();
> >> >>   imageViewer->GetRenderer()->ResetCamera();
> >> >>                 imageViewer->GetRenderWindow()->Render();
> >> >>
> >> >>                 imageViewer->GetRenderWindow()->StereoUpdate();
> >> >>
> >> >>                 imageViewer->SetInput(readerL->GetOutput());
> >> >>
> imageViewer->GetRenderWindow()->SetStereoTypeToRight();
> >> >>                 imageViewer->GetRenderWindow()->Render();
> >> >>   imageViewer->GetRenderer()->ResetCamera();
> >> >>                 imageViewer->GetRenderWindow()->Render();
> >> >>
> >> >>                 imageViewer->GetRenderWindow()->StereoUpdate();
> >> >>
> >> >>         ++this->TimerCount;
> >> >>         }
> >> >>         cout << this->TimerCount << endl;
> >> >>     }
> >> >>
> >> >>   private:
> >> >>     int TimerCount;
> >> >>
> >> >> };
> >> >>
> >> >>
> >> >> int main ( int argc, char *argv[] )
> >> >> {
> >> >>   //Read the image
> >> >>    readerL =
> >> >>     vtkSmartPointer<vtkBMPReader>::New();
> >> >>   readerL->SetFileName ( "D:/1234/-5.bmp");
> >> >>   readerL->Update();
> >> >>
> >> >>    readerR =
> >> >>     vtkSmartPointer<vtkBMPReader>::New();
> >> >>   readerR->SetFileName ( "D:/1234/5.bmp");
> >> >>   readerR->Update();
> >> >>
> >> >>   // Visualize
> >> >>   imageViewer =
> >> >>     vtkSmartPointer<vtkImageViewer2>::New();
> >> >>
> >> >>    vtkSmartPointer<vtkRenderWindowInteractor> renderWindowInteractor
> =
> >> >>     vtkSmartPointer<vtkRenderWindowInteractor>::New();
> >> >>   imageViewer->SetupInteractor(renderWindowInteractor);
> >> >>
> >> >>     imageViewer->GetRenderWindow()->SetSize( 800, 600 );
> >> >>
> >> >>   imageViewer->GetRenderWindow()->StereoCapableWindowOn();
> >> >>   imageViewer->GetRenderWindow()->SetStereoTypeToCrystalEyes();
> >> >>   imageViewer->GetRenderWindow()->SetStereoRender(1);
> >> >>   imageViewer->GetRenderWindow()->StereoUpdate();
> >> >>
> >> >>  renderWindowInteractor->Initialize();
> >> >>
> >> >>   imageViewer->SetInput(readerBase->GetOutput());
> >> >>   imageViewer->GetRenderWindow()->Render();
> >> >>   imageViewer->GetRenderer()->ResetCamera();
> >> >>                 imageViewer->GetRenderWindow()->Render();
> >> >>
> >> >>    // Sign up to receive TimerEvent
> >> >>   vtkSmartPointer<vtkTimerCallback> cb =
> >> >>     vtkSmartPointer<vtkTimerCallback>::New();
> >> >>   renderWindowInteractor->AddObserver(vtkCommand::TimerEvent, cb);
> >> >>
> >> >>   int timerId = renderWindowInteractor->CreateRepeatingTimer(100);
> >> >>   std::cout << "timerId: " << timerId << std::endl;
> >> >>
> >> >>   renderWindowInteractor->Start();
> >> >>
> >> >>    return EXIT_SUCCESS;
> >> >> }
> >> >>
> >> >>
> >> >>
> >> >>
> >> >> --
> >> >> View this message in context:
> >> >> http://vtk.1045678.n5.nabble.com/VTK-Stereo-Rendering-tp5721833.html
> >> >> Sent from the VTK - Users mailing list archive at Nabble.com.
> >> >>
> >> >>
> >> >> ------------------------------
> >> >>
> >> >> Message: 6
> >> >> Date: Tue, 9 Jul 2013 14:08:36 +0800
> >> >> From: "hongsongyang" <hongsongyang at 163.com>
> >> >> Subject: [vtkusers] [vtkUsers] About Different RenderWindowInteractor
> >> >> To: <vtkusers at vtk.org>
> >> >> Message-ID: <D36F8CD489D643279CDEF9B7802D2D8F at WlfPC>
> >> >> Content-Type: text/plain; charset="us-ascii"
> >> >>
> >> >> Dear All:
> >> >>
> >> >>      I have several renders (e.g 4 render), and we could use
> >> SetViewport
> >> >> to
> >> >> display all of them in one RenderWindow.
> >> >>
> >> >> My question is that could I set different interactor for each of the
> >> >> render?
> >> >>
> >> >> For example, for render1, I only need zoom and ww/wl operation, but
> for
> >> >> render2, I need zoom, pan and rotate operation.
> >> >>
> >> >>
> >> >>
> >> >> Thanks a lot.
> >> >>
> >> >> Hongsongyang
> >> >>
> >> >> -------------- next part --------------
> >> >> An HTML attachment was scrubbed...
> >> >> URL: <
> >> >>
> >>
> http://www.vtk.org/pipermail/vtkusers/attachments/20130709/73d6e3a8/attachment-0001.htm
> >> >> >
> >> >>
> >> >> ------------------------------
> >> >>
> >> >> Message: 7
> >> >> Date: Mon, 8 Jul 2013 23:34:35 -0700
> >> >> From: Gideon Valch <gvalch1237 at gmail.com>
> >> >> Subject: [vtkusers] using vtkGL2PSExporter in python [ under
> >> >>         pythonXY() ]
> >> >> To: vtkusers at vtk.org
> >> >> Message-ID:
> >> >>         <
> >> >> CAEEGk3YCKrV6gQCtRoPXZZQXQ+Qr7J+KPgK+zLAAeF2e6+Kpgw at mail.gmail.com>
> >> >> Content-Type: text/plain; charset="iso-8859-1"
> >> >>
> >> >> Hello,
> >> >>
> >> >> I use pythonxy() as my platform for python supported vtk.
> >> Currently,
> >> >> I'm trying to export a vtk render window to post script using the
> >> sample
> >> >> code (at bottom) but I'm getting an error (see below).   I suspect
> this
> >> >> relates to how pythonxy() is compiled.  Can anyone suggest a
> >> workaround?
> >> >>
> >> >> Thanks,
> >> >> GV
> >> >>
> >> >> exporter = vtk.vtkGL2PSExporter()
> >> >> AttributeError: 'module' object has no attribute 'vtkGL2PSExporter'
> >> >>
> >> >> ----------------------------
> >> >>
> >> >> prefix="c:\\temp\\foo444"
> >> >> exporter = vtk.vtkGL2PSExporter()
> >> >> exporter.SetFilePrefix(prefix)
> >> >> exporter.SetFileFormatToSVG()
> >> >> exporter.SetRenderWindow(renWin)
> >> >> exporter.CompressOff()
> >> >> exporter.SetSortToOff()
> >> >> #exporter.DrawBackgroundOn()
> >> >> #exporter.Write3DPropsAsRasterImageOn()
> >> >> exporter.Write()
> >> >> -------------- next part --------------
> >> >> An HTML attachment was scrubbed...
> >> >> URL: <
> >> >>
> >>
> http://www.vtk.org/pipermail/vtkusers/attachments/20130708/2dfee622/attachment-0001.htm
> >> >> >
> >> >>
> >> >> ------------------------------
> >> >>
> >> >> Message: 8
> >> >> Date: Tue, 9 Jul 2013 00:44:38 -0700 (PDT)
> >> >> From: Ruff <albin.nilsson at gmail.com>
> >> >> Subject: Re: [vtkusers] Help with image planes example
> >> >> To: vtkusers at vtk.org
> >> >> Message-ID: <1373355878399-5721836.post at n5.nabble.com>
> >> >> Content-Type: text/plain; charset=us-ascii
> >> >>
> >> >> Thank you!
> >> >> The problem is that when I tried with ImageData as input in
> >> >> volume16reader I
> >> >> got the error "Attempt to connect input port index 0 for an algorithm
> >> >> with 0
> >> >> input ports"
> >> >> Using ImageData as input directly to vtkImagePlaneWidget worked fine
> >> >> though,
> >> >> so I guess that solves it.
> >> >> (My VTK-programming right now is mostly trial and error along with
> >> trying
> >> >> to
> >> >> understand the different data structures and the pipeline)
> >> >>
> >> >>
> >> >>
> >> >> --
> >> >> View this message in context:
> >> >>
> >>
> http://vtk.1045678.n5.nabble.com/Help-with-image-planes-example-tp5721813p5721836.html
> >> >> Sent from the VTK - Users mailing list archive at Nabble.com.
> >> >>
> >> >>
> >> >> ------------------------------
> >> >>
> >> >> Message: 9
> >> >> Date: Tue, 09 Jul 2013 11:23:11 +0200
> >> >> From: Umer Rafi <umer.rafi at rwth-aachen.de>
> >> >> Subject: [vtkusers] adding texture to a wavefront .obj  file in vtk
> >> >> To: vtkusers at vtk.org
> >> >> Message-ID: <fb959ae41b00e3.51dbf29f at rwth-aachen.de>
> >> >> Content-Type: text/plain; CHARSET=US-ASCII
> >> >>
> >> >> Hello everyone,
> >> >>
> >> >>     I am new to vtk. I am having a wavefront file of a 3d human
> model.
> >> >> What I want to do is to render it using vtk and apply different
> >> textures to
> >> >> different parts of the 3d human model. For example I have a texture
> >> image
> >> >> containing a shirt that I want to apply to torso and arms only.
> >>  Another
> >> >> one for jeans that I want to apply to legs and thighs only. I will
> >> really
> >> >> appreciate if anyone can provide a sample code snippet to get me
> >> started.
> >> >>
> >> >>
> >> >> thanks in advance.
> >> >>
> >> >> Regards
> >> >> Umer
> >> >>
> >> >>
> >> >> ------------------------------
> >> >>
> >> >> Message: 10
> >> >> Date: Tue, 9 Jul 2013 16:53:12 +0530
> >> >> From: "divya" <divya at triassicsolutions.com>
> >> >> Subject: [vtkusers] Unexpected actor orientation results
> >> >> To: "Vtk Users" <vtkusers at vtk.org>
> >> >> Message-ID: <004201ce7c96$b5c358a0$214a09e0$@triassicsolutions.com>
> >> >> Content-Type: text/plain; charset="us-ascii"
> >> >>
> >> >>
> >> >>
> >> >> Dear vtkUsers,
> >> >>
> >> >> I am trying to find the orientation of an actor while I'm rotating
> it,
> >> >> the z
> >> >> and y are correct, but the value range for  the x axis is [-90, 90],
> >> >> whereas
> >> >> the value range for  z and y axis is [-180, 180].
> >> >>
> >> >>
> >> >>
> >> >> Also the rotation doesn't happen in the chosen axis, for example
> when I
> >> >> chose to rotate the actor by 15 degrees on y-axis, the value of the
> >> z-axis
> >> >> increases.
> >> >>
> >> >>
> >> >>
> >> >>
> >> >>
> >> >>
> >> >>
> >> >>
> >> >>
> >> >>
> >> >> -------------- next part --------------
> >> >> An HTML attachment was scrubbed...
> >> >> URL: <
> >> >>
> >>
> http://www.vtk.org/pipermail/vtkusers/attachments/20130709/3543ac30/attachment-0001.htm
> >> >> >
> >> >> -------------- next part --------------
> >> >> A non-text attachment was scrubbed...
> >> >> Name: not available
> >> >> Type: image/jpeg
> >> >> Size: 10515 bytes
> >> >> Desc: not available
> >> >> URL: <
> >> >>
> >>
> http://www.vtk.org/pipermail/vtkusers/attachments/20130709/3543ac30/attachment-0002.jpeg
> >> >> >
> >> >> -------------- next part --------------
> >> >> A non-text attachment was scrubbed...
> >> >> Name: not available
> >> >> Type: image/jpeg
> >> >> Size: 13048 bytes
> >> >> Desc: not available
> >> >> URL: <
> >> >>
> >>
> http://www.vtk.org/pipermail/vtkusers/attachments/20130709/3543ac30/attachment-0003.jpeg
> >> >> >
> >> >>
> >> >> ------------------------------
> >> >>
> >> >> Message: 11
> >> >> Date: Tue, 9 Jul 2013 05:23:41 -0700 (PDT)
> >> >> From: shinpei <noro_shinpei at web.de>
> >> >> Subject: Re: [vtkusers] FindCell method of vtkCellLocator
> >> >> To: vtkusers at vtk.org
> >> >> Message-ID: <1373372621955-5721840.post at n5.nabble.com>
> >> >> Content-Type: text/plain; charset=us-ascii
> >> >>
> >> >> Sry... I thought it would be clear what I mean.
> >> >>
> >> >> The geometry contains two triangles:
> >> >> Points are:
> >> >> (0 0 0)
> >> >> (0 10 0)
> >> >> (10 0 0)
> >> >> (10 10 0)
> >> >>
> >> >> with connection:
> >> >> (0 1 2)
> >> >> (1 2 3)
> >> >>
> >> >>      for (vtkIdType ptId = 0; ptId < geometry->GetNumberOfPoints();
> >> >> ++ptId)
> >> >>     {
> >> >>         geometry->getPoints()->GetPoint(ptId, trianglePoint);
> >> >>
> >> >>         bounds[0] = trianglePoint[0] - 0.01;
> >> >>         bounds[1] = trianglePoint[0] + 0.01;
> >> >>         bounds[2] = trianglePoint[1] - 0.01;
> >> >>         bounds[3] = trianglePoint[1] + 0.01;
> >> >>         bounds[4] = trianglePoint[2] - 0.01;
> >> >>         bounds[5] = trianglePoint[2] + 0.01;
> >> >>
> >> >>         cellLocator->FindCellsWithinBounds(bounds, foundCells);
> >> >>
> >> >>         int size = foundCells->GetNumberOfIds(); // is always two
> >> >>     }
> >> >>
> >> >> The trianglePoint is e.g. (0 0 0) (first iteration of the loop) so I
> >> >> should
> >> >> get only one triangle, but I get always two triangles. The bb is
> small
> >> >> enough and there is a point which correspons to only one triangle.
> >> >>
> >> >>
> >> >>
> >> >> --
> >> >> View this message in context:
> >> >>
> >>
> http://vtk.1045678.n5.nabble.com/FindCell-method-of-vtkCellLocator-tp5721831p5721840.html
> >> >> Sent from the VTK - Users mailing list archive at Nabble.com.
> >> >>
> >> >>
> >> >> ------------------------------
> >> >>
> >> >> Message: 12
> >> >> Date: Tue, 9 Jul 2013 15:43:23 +0300
> >> >> From: Haroon Showgan <haroon.showgan at gmail.com>
> >> >> Subject: [vtkusers] VTK application running on Linux loads VNC server
> >> >> To: vtkusers at vtk.org
> >> >> Message-ID:
> >> >>         <CAJ=
> >> >> gTgXfT44oBK1Qz5idLBRDt0kdiZuLh0iA+mrtAChwR_-Pkw at mail.gmail.com>
> >> >> Content-Type: text/plain; charset="iso-8859-1"
> >> >>
> >> >> Hi,
> >> >>
> >> >> I'm implementing a VTK application for visualizing geometrical 3D
> >> objects.
> >> >> Most of the code is written in C++, and I use TCL-TK widgets for the
> >> GUI
> >> >> (I
> >> >> use *vtkTkRenderWidget* for the main canvas).
> >> >>
> >> >> Most of my objects are *vtkVoxel* objects inserted into a *
> >> >> vtkUnstructuredGrid*.
> >> >>
> >> >> I run this application on a Linux server and I connect to this server
> >> from
> >> >> Windows using VNC. I noticed that when I load a very large data set
> >> into
> >> >> the application then the *VNC server* (on the Linux machine)
> consumes a
> >> >> lot
> >> >> of memory and uses 100% CPU. I didn't realize that the memory and CPU
> >> >> usages of a VNC server would be affected so much like this.
> >> >>
> >> >>  Note that my VTK application is also consuming a lot of memory and
> >> CPU,
> >> >> but what I find strange is that the VNC server is also affected (the
> >> >> process is called *Xvnc_core*).
> >> >>
> >> >> Does anyone know how this is caused and do you have any suggestion
> how
> >> to
> >> >> mitigate the problem?
> >> >>
> >> >> Regards,
> >> >> Haroon
> >> >> -------------- next part --------------
> >> >> An HTML attachment was scrubbed...
> >> >> URL: <
> >> >>
> >>
> http://www.vtk.org/pipermail/vtkusers/attachments/20130709/621fefc2/attachment-0001.htm
> >> >> >
> >> >>
> >> >> ------------------------------
> >> >>
> >> >> Message: 13
> >> >> Date: Tue, 9 Jul 2013 07:25:46 -0700 (PDT)
> >> >> From: Massinissa Bandou <Massinissa.Bandou at USherbrooke.ca>
> >> >> Subject: [vtkusers] .RAW file
> >> >> To: vtkusers at vtk.org
> >> >> Message-ID: <1373379946181-5721842.post at n5.nabble.com>
> >> >> Content-Type: text/plain; charset=us-ascii
> >> >>
> >> >> Hello everyone,
> >> >>
> >> >> I tried to read a (.raw) file with the following code but it
> displays a
> >> >> RED
> >> >> CUBE. Here is some information about my file  dataInfo.txt
> >> >> <http://vtk.1045678.n5.nabble.com/file/n5721842/dataInfo.txt>  . Is
> >> there
> >> >> something wrong in my code?
> >> >>
> >> >> thx for your time and help!
> >> >>
> >> >> sorry my file is too large to be send.
> >> >>
> >> >> #include <vtkSmartPointer.h>
> >> >> #include <vtkRenderWindow.h>
> >> >> #include <vtkRenderWindowInteractor.h>
> >> >> #include <vtkRenderer.h>
> >> >> #include <vtkActor>
> >> >> #include <vtkImageReader>
> >> >> #include <vtkDataSetMapper>
> >> >>
> >> >> int main(int argc, char *argv[])
> >> >> {
> >> >>         vtkImageReader *reader = vtkImageReader::New();
> >> >>         reader->SetFileName(file.c_str());
> >> >>         reader->SetFileDimensionality(3);
> >> >>         reader->SetNumberOfScalarComponents(1);
> >> >>         reader->SetDataExtent(0,512,0,512,0,512);
> >> >>         reader->SetDataSpacing(0.145, 0.145, 0.145);
> >> >>         reader->SetDataByteOrderToBigEndian();
> >> >>         reader->SetDataScalarTypeToChar();
> >> >>         reader->Update();
> >> >>
> >> >>         vtkSmartPointer<vtkDataSetMapper> map =
> >> >> vtkSmartPointer<vtkDataSetMapper>::New();
> >> >>         map->SetInputConnection(reader->GetOutputPort());
> >> >>
> >> >>
> >> >>         vtkSmartPointer<vtkActor> actor =
> >> >> vtkSmartPointer<vtkActor>::New();
> >> >>         actor->SetMapper(map);
> >> >>
> >> >>         vtkSmartPointer<vtkRenderWindowInteractor> interactor =
> >> >> vtkSmartPointer<vtkRenderWindowInteractor>::New();
> >> >>
> >> >>         vtkSmartPointer<vtkRenderWindow> renderWindow =
> >> >> vtkSmartPointer<vtkRenderWindow>::New();
> >> >>         interactor->SetRenderWindow(renderWindow);
> >> >>         vtkSmartPointer<vtkRenderer> renderer =
> >> >> vtkSmartPointer<vtkRenderer>::New();
> >> >>         renderWindow->AddRenderer(renderer);
> >> >>         renderer->AddActor(actor);
> >> >>
> >> >>         renderWindow->Render();
> >> >>         interactor->Start();
> >> >> }
> >> >>
> >> >>
> >> >>
> >> >>
> >> >> --
> >> >> View this message in context:
> >> >> http://vtk.1045678.n5.nabble.com/RAW-file-tp5721842.html
> >> >> Sent from the VTK - Users mailing list archive at Nabble.com.
> >> >>
> >> >>
> >> >> ------------------------------
> >> >>
> >> >> Message: 14
> >> >> Date: Tue, 9 Jul 2013 11:38:50 -0400
> >> >> From: Bill Lorensen <bill.lorensen at gmail.com>
> >> >> Subject: Re: [vtkusers] .RAW file
> >> >> To: Massinissa Bandou <Massinissa.Bandou at usherbrooke.ca>
> >> >> Cc: VTK Users <vtkusers at vtk.org>
> >> >> Message-ID:
> >> >>         <
> >> >> CADZJ4hNXVuS_7L9ocCzex3XHpqyg5dpdKJ2NmxfQn_DnaSDp_Q at mail.gmail.com>
> >> >> Content-Type: text/plain; charset="iso-8859-1"
> >> >>
> >> >> If your data is 512x512x512 then
> >> >> reader->SetDataExtent(0,512,0,512,0,512);
> >> >> should be:
> >> >> reader->SetDataExtent(0,511,0,511,0,511);
> >> >>
> >> >> Also be certain you are setting the correct endianness.
> >> >>
> >> >>
> >> >> On Tue, Jul 9, 2013 at 10:25 AM, Massinissa Bandou <
> >> >> Massinissa.Bandou at usherbrooke.ca> wrote:
> >> >>
> >> >> > Hello everyone,
> >> >> >
> >> >> > I tried to read a (.raw) file with the following code but it
> >> displays a
> >> >> RED
> >> >> > CUBE. Here is some information about my file  dataInfo.txt
> >> >> > <http://vtk.1045678.n5.nabble.com/file/n5721842/dataInfo.txt>  .
> Is
> >> >> there
> >> >> > something wrong in my code?
> >> >> >
> >> >> > thx for your time and help!
> >> >> >
> >> >> > sorry my file is too large to be send.
> >> >> >
> >> >> > #include <vtkSmartPointer.h>
> >> >> > #include <vtkRenderWindow.h>
> >> >> > #include <vtkRenderWindowInteractor.h>
> >> >> > #include <vtkRenderer.h>
> >> >> > #include <vtkActor>
> >> >> > #include <vtkImageReader>
> >> >> > #include <vtkDataSetMapper>
> >> >> >
> >> >> > int main(int argc, char *argv[])
> >> >> > {
> >> >> >         vtkImageReader *reader = vtkImageReader::New();
> >> >> >         reader->SetFileName(file.c_str());
> >> >> >         reader->SetFileDimensionality(3);
> >> >> >         reader->SetNumberOfScalarComponents(1);
> >> >> >         reader->SetDataExtent(0,512,0,512,0,512);
> >> >> >         reader->SetDataSpacing(0.145, 0.145, 0.145);
> >> >> >         reader->SetDataByteOrderToBigEndian();
> >> >> >         reader->SetDataScalarTypeToChar();
> >> >> >         reader->Update();
> >> >> >
> >> >> >         vtkSmartPointer<vtkDataSetMapper> map =
> >> >> > vtkSmartPointer<vtkDataSetMapper>::New();
> >> >> >         map->SetInputConnection(reader->GetOutputPort());
> >> >> >
> >> >> >
> >> >> >         vtkSmartPointer<vtkActor> actor =
> >> >> vtkSmartPointer<vtkActor>::New();
> >> >> >         actor->SetMapper(map);
> >> >> >
> >> >> >         vtkSmartPointer<vtkRenderWindowInteractor> interactor =
> >> >> > vtkSmartPointer<vtkRenderWindowInteractor>::New();
> >> >> >
> >> >> >         vtkSmartPointer<vtkRenderWindow> renderWindow =
> >> >> > vtkSmartPointer<vtkRenderWindow>::New();
> >> >> >         interactor->SetRenderWindow(renderWindow);
> >> >> >         vtkSmartPointer<vtkRenderer> renderer =
> >> >> > vtkSmartPointer<vtkRenderer>::New();
> >> >> >         renderWindow->AddRenderer(renderer);
> >> >> >         renderer->AddActor(actor);
> >> >> >
> >> >> >         renderWindow->Render();
> >> >> >         interactor->Start();
> >> >> > }
> >> >> >
> >> >> >
> >> >> >
> >> >> >
> >> >> > --
> >> >> > View this message in context:
> >> >> > http://vtk.1045678.n5.nabble.com/RAW-file-tp5721842.html
> >> >> > Sent from the VTK - Users mailing list archive at Nabble.com.
> >> >> > _______________________________________________
> >> >> > Powered by www.kitware.com
> >> >> >
> >> >> > Visit other Kitware open-source projects at
> >> >> > http://www.kitware.com/opensource/opensource.html
> >> >> >
> >> >> > Please keep messages on-topic and check the VTK FAQ at:
> >> >> > http://www.vtk.org/Wiki/VTK_FAQ
> >> >> >
> >> >> > Follow this link to subscribe/unsubscribe:
> >> >> > http://www.vtk.org/mailman/listinfo/vtkusers
> >> >> >
> >> >>
> >> >>
> >> >>
> >> >> --
> >> >> Unpaid intern in BillsBasement at noware dot com
> >> >> -------------- next part --------------
> >> >> An HTML attachment was scrubbed...
> >> >> URL: <
> >> >>
> >>
> http://www.vtk.org/pipermail/vtkusers/attachments/20130709/b188c2b1/attachment-0001.htm
> >> >> >
> >> >>
> >> >> ------------------------------
> >> >>
> >> >> Message: 15
> >> >> Date: Tue, 9 Jul 2013 08:46:33 -0700 (PDT)
> >> >> From: Ruff <albin.nilsson at gmail.com>
> >> >> Subject: [vtkusers] My point cloud data won't display in the
> renderer.
> >> >> To: vtkusers at vtk.org
> >> >> Message-ID: <1373384793963-5721844.post at n5.nabble.com>
> >> >> Content-Type: text/plain; charset=us-ascii
> >> >>
> >> >> All i get is an empty renderWindow. I get no errors, but no data is
> >> >> rendered
> >> >> either. What am I doing wrong?
> >> >>
> >> >> What I do is pretty much this:
> >> >>
> >> >> AtomGrid=vtk.vtkUnstructuredGrid()
> >> >> AtomGrid.SetPoints(    vtkPoints with [index,x,y,z]    )
> >> >> AtomGrid.GetPointData().SetScalars(    vtkFloatArray with [index,
> >> scalar]
> >> >> )
> >> >>
> >> >> volMapper = vtk.vtkUnstructuredGridVolumeRayCastMapper()
> >> >> volMapper.SetBlendModeToComposite()
> >> >> volMapper.SetInput(AtomGrid)
> >> >>
> >> >>
> >> >> I tried volMapper.SetScalarModeToUsePointFieldData(), but then it
> >> claims
> >> >> that I have no scalar values to use(!!)
> >> >>
> >> >> (I cheated before, and was satisfied using ImageData for this, but
> now
> >> I
> >> >> really need to get this to work with UnstructuredGrid)
> >> >>
> >> >>
> >> >>
> >> >> --
> >> >> View this message in context:
> >> >>
> >>
> http://vtk.1045678.n5.nabble.com/My-point-cloud-data-won-t-display-in-the-renderer-tp5721844.html
> >> >> Sent from the VTK - Users mailing list archive at Nabble.com.
> >> >>
> >> >>
> >> >> ------------------------------
> >> >>
> >> >> _______________________________________________
> >> >> vtkusers mailing list
> >> >> vtkusers at vtk.org
> >> >> http://www.vtk.org/mailman/listinfo/vtkusers
> >> >>
> >> >>
> >> >> End of vtkusers Digest, Vol 111, Issue 16
> >> >> *****************************************
> >> >>
> >> >
> >> >
> >> >
> >> > --
> >> > *Best  Regards
> >> > Rahul Indoria
> >> > Mobile No: +49-157-35652212*
> >> >
> >> > _______________________________________________
> >> > Powered by www.kitware.com
> >> >
> >> > Visit other Kitware open-source projects at
> >> > http://www.kitware.com/opensource/opensource.html
> >> >
> >> > Please keep messages on-topic and check the VTK FAQ at:
> >> > http://www.vtk.org/Wiki/VTK_FAQ
> >> >
> >> > Follow this link to subscribe/unsubscribe:
> >> > http://www.vtk.org/mailman/listinfo/vtkusers
> >> >
> >> >
> >>
> >>
> >> --
> >> Unpaid intern in BillsBasement at noware dot com
> >> -------------- next part --------------
> >> An HTML attachment was scrubbed...
> >> URL: <
> >>
> http://www.vtk.org/pipermail/vtkusers/attachments/20130709/e6f9bcc4/attachment.htm
> >> >
> >>
> >> ------------------------------
> >>
> >> _______________________________________________
> >> vtkusers mailing list
> >> vtkusers at vtk.org
> >> http://www.vtk.org/mailman/listinfo/vtkusers
> >>
> >>
> >> End of vtkusers Digest, Vol 111, Issue 17
> >> *****************************************
> >>
> >
> >
> >
> > --
> > *Best  Regards
> > Rahul Indoria
> > Mobile No: +49-157-35652212*
> >
>
>
>
> --
> *Best  Regards
> Rahul Indoria
> Mobile No: +49-157-35652212*
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://www.vtk.org/pipermail/vtkusers/attachments/20130711/e0ea122d/attachment.htm
> >
>
> ------------------------------
>
> _______________________________________________
> vtkusers mailing list
> vtkusers at vtk.org
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
> End of vtkusers Digest, Vol 111, Issue 20
> *****************************************
>



-- 
*Best  Regards
Rahul Indoria
Mobile No: +49-157-35652212*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130711/de7dde3d/attachment.htm>


More information about the vtkusers mailing list