<div dir="ltr">vtkObject::GetClassName()<div style>and/or</div><div style>vtkObject::IsA("classname")</div><div style><br></div></div><div class="gmail_extra"><br clear="all"><div>David E DeMarle<br>Kitware, Inc.<br>
R&D Engineer<br>21 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-881-4909</div>
<br><br><div class="gmail_quote">On Thu, Jul 11, 2013 at 7:00 AM, rahul indoria <span dir="ltr"><<a href="mailto:rahulindoria5@gmail.com" target="_blank">rahulindoria5@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi,<div><span style="font-family:arial,sans-serif;font-size:12.800000190734863px"> I just want to ask, if i have any vtk class then how would i know the return type this class object.</span><br style="font-family:arial,sans-serif;font-size:12.800000190734863px">
</div><div><span style="font-family:arial,sans-serif;font-size:12.800000190734863px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:12.800000190734863px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:12.800000190734863px">Looking forward your reply soon.</span></div>
<div><span style="font-family:arial,sans-serif;font-size:12.800000190734863px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:12.800000190734863px"><br></span></div><div class="gmail_extra"><br>
<br><div class="gmail_quote">On Wed, Jul 10, 2013 at 3:16 PM, rahul indoria <span dir="ltr"><<a href="mailto:rahulindoria5@gmail.com" target="_blank">rahulindoria5@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr">Hi All,<div> I am just modifying this example (<a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/CurvedReformation" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/CurvedReformation</a>). </div>
<div><br></div><div>At this portion of this example, </div><div><br></div><div><br></div><div><pre style="vertical-align:top;line-height:1.2em;font-size:10px;margin-bottom:0px;margin-top:0px;border:0px none white;padding:0px;background-image:none">
<span style="color:rgb(102,102,102)">// Create a mapper and actor.</span>
vtkSmartPointer<span style="color:rgb(0,0,128)"><</span>vtkDataSetMapper<span style="color:rgb(0,0,128)">></span> mapper <span style="color:rgb(0,0,128)">=</span>
vtkSmartPointer<span style="color:rgb(0,0,128)"><</span>vtkDataSetMapper<span style="color:rgb(0,0,128)">></span><span style="color:rgb(0,128,128)">::</span><span style="color:rgb(0,119,136)">New</span><span style="color:rgb(0,128,0)">(</span><span style="color:rgb(0,128,0)">)</span><span style="color:rgb(0,128,128)">;</span>
mapper<span style="color:rgb(0,0,64)">-</span><span style="color:rgb(0,0,128)">></span>SetInputConnection<span style="color:rgb(0,128,0)">(</span>sampleVolume<span style="color:rgb(0,0,64)">-</span><span style="color:rgb(0,0,128)">></span>GetOutputPort<span style="color:rgb(0,128,0)">(</span><span style="color:rgb(0,128,0)">)</span><span style="color:rgb(0,128,0)">)</span><span style="color:rgb(0,128,128)">;</span>
<br></pre><pre style="vertical-align:top;line-height:1.2em;font-size:10px;margin-bottom:0px;margin-top:0px;border:0px none white;padding:0px;background-image:none"><br></pre><pre style="vertical-align:top;line-height:1.2em;margin-bottom:0px;margin-top:0px;border:0px none white;padding:0px;background-image:none">
<span style="font-size:10px">and this statement in function SetInputConnection:</span><font size="4"> <b>sampleVolume->GetOutputPort()</b></font><font size="1">, is giving me values on the surface.</font></pre><pre style="vertical-align:top;line-height:1.2em;font-size:10px;margin-bottom:0px;margin-top:0px;border:0px none white;padding:0px;background-image:none">
<br></pre><pre style="vertical-align:top;line-height:1.2em;font-size:10px;margin-bottom:0px;margin-top:0px;border:0px none white;padding:0px;background-image:none">My Query:</pre><pre style="vertical-align:top;line-height:1.2em;font-size:10px;margin-bottom:0px;margin-top:0px;border:0px none white;padding:0px;background-image:none">
I have to use these values and using this values i have to generate a 2D image.</pre><pre style="vertical-align:top;line-height:1.2em;font-size:10px;margin-bottom:0px;margin-top:0px;border:0px none white;padding:0px;background-image:none">
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.</pre><pre style="vertical-align:top;line-height:1.2em;font-size:10px;margin-bottom:0px;margin-top:0px;border:0px none white;padding:0px;background-image:none">
<br></pre><pre style="vertical-align:top;line-height:1.2em;font-size:10px;margin-bottom:0px;margin-top:0px;border:0px none white;padding:0px;background-image:none"><br></pre><pre style="vertical-align:top;line-height:1.2em;font-size:10px;margin-bottom:0px;margin-top:0px;border:0px none white;padding:0px;background-image:none">
Looking forward your reply.</pre><pre style="vertical-align:top;line-height:1.2em;font-size:10px;margin-bottom:0px;margin-top:0px;border:0px none white;padding:0px;background-image:none"><br></pre>
<pre style="vertical-align:top;line-height:1.2em;font-size:10px;margin-bottom:0px;margin-top:0px;border:0px none white;padding:0px;background-image:none"><br></pre><pre style="vertical-align:top;line-height:1.2em;font-size:10px;margin-bottom:0px;margin-top:0px;border:0px none white;padding:0px;background-image:none">
<br></pre></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 9, 2013 at 9:00 PM, <span dir="ltr"><<a href="mailto:vtkusers-request@vtk.org" target="_blank">vtkusers-request@vtk.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Send vtkusers mailing list submissions to<br>
<a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:vtkusers-request@vtk.org" target="_blank">vtkusers-request@vtk.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:vtkusers-owner@vtk.org" target="_blank">vtkusers-owner@vtk.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of vtkusers digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Re: My point cloud data won't display in the renderer.<br>
(Bill Lorensen)<br>
2. Re: vtkusers Digest, Vol 111, Issue 16 (rahul indoria)<br>
3. Re: vtkusers Digest, Vol 111, Issue 16 (Bill Lorensen)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Tue, 9 Jul 2013 12:10:24 -0400<br>
From: Bill Lorensen <<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>><br>
Subject: Re: [vtkusers] My point cloud data won't display in the<br>
renderer.<br>
To: Ruff <<a href="mailto:albin.nilsson@gmail.com" target="_blank">albin.nilsson@gmail.com</a>><br>
Cc: VTK Users <<a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>><br>
Message-ID:<br>
<CADZJ4hOT2J5Pg9C=<a href="mailto:SxkQ%2BWOisqxcqefh6r5GQhLAc%2B_2cCTMiA@mail.gmail.com" target="_blank">SxkQ+WOisqxcqefh6r5GQhLAc+_2cCTMiA@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
A vtkPoint is a geometric location. You need cells to visualize your data.<br>
in your case, you need Vert's, one for each Point. An easy way to create<br>
the verts is to use vtkVertexGlyphFilter.<br>
<br>
See for example:<br>
<a href="http://vtk.org/Wiki/VTK/Examples/Cxx/IO/ReadTextFile" target="_blank">http://vtk.org/Wiki/VTK/Examples/Cxx/IO/ReadTextFile</a><br>
<a href="http://vtk.org/Wiki/VTK/Examples/Cxx/Filtering/VertexGlyphFilter" target="_blank">http://vtk.org/Wiki/VTK/Examples/Cxx/Filtering/VertexGlyphFilter</a><br>
<br>
<br>
<br>
On Tue, Jul 9, 2013 at 11:46 AM, Ruff <<a href="mailto:albin.nilsson@gmail.com" target="_blank">albin.nilsson@gmail.com</a>> wrote:<br>
<br>
> All i get is an empty renderWindow. I get no errors, but no data is<br>
> rendered<br>
> either. What am I doing wrong?<br>
><br>
> What I do is pretty much this:<br>
><br>
> AtomGrid=vtk.vtkUnstructuredGrid()<br>
> AtomGrid.SetPoints( vtkPoints with [index,x,y,z] )<br>
> AtomGrid.GetPointData().SetScalars( vtkFloatArray with [index, scalar]<br>
> )<br>
><br>
> volMapper = vtk.vtkUnstructuredGridVolumeRayCastMapper()<br>
> volMapper.SetBlendModeToComposite()<br>
> volMapper.SetInput(AtomGrid)<br>
><br>
><br>
> I tried volMapper.SetScalarModeToUsePointFieldData(), but then it claims<br>
> that I have no scalar values to use(!!)<br>
><br>
> (I cheated before, and was satisfied using ImageData for this, but now I<br>
> really need to get this to work with UnstructuredGrid)<br>
><br>
><br>
><br>
> --<br>
> View this message in context:<br>
> <a href="http://vtk.1045678.n5.nabble.com/My-point-cloud-data-won-t-display-in-the-renderer-tp5721844.html" target="_blank">http://vtk.1045678.n5.nabble.com/My-point-cloud-data-won-t-display-in-the-renderer-tp5721844.html</a><br>
> Sent from the VTK - Users mailing list archive at Nabble.com.<br>
> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Please keep messages on-topic and check the VTK FAQ at:<br>
> <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
><br>
<br>
<br>
<br>
--<br>
Unpaid intern in BillsBasement at noware dot com<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130709/0b18f194/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130709/0b18f194/attachment-0001.htm</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Tue, 9 Jul 2013 20:43:19 +0200<br>
From: rahul indoria <<a href="mailto:rahulindoria5@gmail.com" target="_blank">rahulindoria5@gmail.com</a>><br>
Subject: Re: [vtkusers] vtkusers Digest, Vol 111, Issue 16<br>
To: "<a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>" <<a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>><br>
Message-ID:<br>
<CAGQ+16JOmQ6-kXGLVqk=p5PUo9eY-scAhxsxfZ1vnanY4bY=<a href="mailto:YQ@mail.gmail.com" target="_blank">YQ@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Hi,<br>
Can you explain me some portion of the code of this example (<br>
<a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/CurvedReformation" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/CurvedReformation</a>)?<br>
<br>
i need to ask the line by line documentation of this function, how these<br>
points and surface is formed?<br>
<br>
<br>
vtkSmartPointer<vtkPolyData> SweepLine (vtkPolyData *line,<br>
double direction[3],<br>
double distance,<br>
unsigned int cols)<br>
<br>
{<br>
<br>
unsigned int rows = line->GetNumberOfPoints();<br>
<br>
double spacing = distance / cols;<br>
vtkSmartPointer<vtkPolyData> surface =<br>
vtkSmartPointer<vtkPolyData>::New();<br>
<br>
// Generate the points<br>
cols++; // why this statement ?<br>
unsigned int numberOfPoints = rows * cols; // how these number<br>
points are generated<br>
unsigned int numberOfPolys = (rows - 1) * (cols - 1); // what is this???<br>
<br>
<br>
vtkSmartPointer<vtkPoints> points =<br>
vtkSmartPointer<vtkPoints>::New();<br>
points->Allocate(numberOfPoints);<br>
vtkSmartPointer<vtkCellArray> polys =<br>
vtkSmartPointer<vtkCellArray>::New();<br>
polys->Allocate(numberOfPolys*4);<br>
<br>
double x[3];<br>
unsigned int cnt = 0;<br>
for (unsigned int row = 0; row < rows; row++)<br>
{<br>
for (unsigned int col = 0; col < cols; col++)<br>
{<br>
double p[3];<br>
line->GetPoint(row, p);<br>
x[0] = p[0] + direction[0] * col * spacing;<br>
x[1] = p[1] + direction[1] * col * spacing;<br>
x[2] = p[2] + direction[2] * col * spacing;<br>
points->InsertPoint(cnt++, x);<br>
}<br>
}<br>
// Generate the quads<br>
vtkIdType pts[4];<br>
for (unsigned int row = 0; row < rows - 1; row++)<br>
{<br>
for (unsigned int col = 0; col < cols - 1; col++)<br>
{<br>
pts[0] = col + row * (cols);<br>
pts[1] = pts[0] + 1;<br>
pts[2] = pts[0] + cols + 1;<br>
pts[3] = pts[0] + cols;<br>
polys->InsertNextCell(4,pts);<br>
}<br>
}<br>
surface->SetPoints(points);<br>
surface->SetPolys(polys);<br>
<br>
return surface;}<br>
<br>
<br>
<br>
<br>
please reply as soon as possible<br>
<br>
<br>
<br>
On Tue, Jul 9, 2013 at 6:00 PM, <<a href="mailto:vtkusers-request@vtk.org" target="_blank">vtkusers-request@vtk.org</a>> wrote:<br>
<br>
> Send vtkusers mailing list submissions to<br>
> <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br>
><br>
> To subscribe or unsubscribe via the World Wide Web, visit<br>
> <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
> or, via email, send a message with subject or body 'help' to<br>
> <a href="mailto:vtkusers-request@vtk.org" target="_blank">vtkusers-request@vtk.org</a><br>
><br>
> You can reach the person managing the list at<br>
> <a href="mailto:vtkusers-owner@vtk.org" target="_blank">vtkusers-owner@vtk.org</a><br>
><br>
> When replying, please edit your Subject line so it is more specific<br>
> than "Re: Contents of vtkusers digest..."<br>
><br>
><br>
> Today's Topics:<br>
><br>
> 1. Re: Vtk 6.0 dotnet (David Cole)<br>
> 2. Re: Regarding example VTKimagereslicemapper (rahul indoria)<br>
> 3. FindCell method of vtkCellLocator (shinpei)<br>
> 4. Re: FindCell method of vtkCellLocator (Alex Malyushytskyy)<br>
> 5. VTK Stereo Rendering (mailagentrus)<br>
> 6. [vtkUsers] About Different RenderWindowInteractor (hongsongyang)<br>
> 7. using vtkGL2PSExporter in python [ under pythonXY() ]<br>
> (Gideon Valch)<br>
> 8. Re: Help with image planes example (Ruff)<br>
> 9. adding texture to a wavefront .obj file in vtk (Umer Rafi)<br>
> 10. Unexpected actor orientation results (divya)<br>
> 11. Re: FindCell method of vtkCellLocator (shinpei)<br>
> 12. VTK application running on Linux loads VNC server (Haroon Showgan)<br>
> 13. .RAW file (Massinissa Bandou)<br>
> 14. Re: .RAW file (Bill Lorensen)<br>
> 15. My point cloud data won't display in the renderer. (Ruff)<br>
><br>
><br>
> ----------------------------------------------------------------------<br>
><br>
> Message: 1<br>
> Date: Mon, 8 Jul 2013 16:21:52 +0000<br>
> From: David Cole <<a href="mailto:dlrdave@aol.com" target="_blank">dlrdave@aol.com</a>><br>
> Subject: Re: [vtkusers] Vtk 6.0 dotnet<br>
> To: " <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a> " <<a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>>, Serge Lalonde<br>
> <<a href="mailto:serge@infolytica.com" target="_blank">serge@infolytica.com</a>><br>
> Message-ID: <<a href="mailto:20130708165306.6B0E66504F@public.kitware.com" target="_blank">20130708165306.6B0E66504F@public.kitware.com</a>><br>
> Content-Type: text/plain; charset="utf-8"<br>
><br>
> Thanks, Serge. It *is* too bad that the kickstarter approach did not yield<br>
> a funded project this time around. Perhaps later, another one will be<br>
> successful.<br>
><br>
><br>
><br>
> Alex, you wrote ?as for me I would trust more in the results of free<br>
> development than in results of the projects developed using such financing.?<br>
><br>
><br>
><br>
> In response, I would simply point out the results of free development are<br>
> that ActiViz is presently ?stuck? on the VTK 5.8 version. And it was only<br>
> ?free as in beer? to those of you who didn?t pay for it.<br>
><br>
><br>
><br>
> It?s also too bad that nobody else has stepped up and said, ?hey, how can<br>
> I contribute and help to make this happen?? (Aside from the 20 kickstarter<br>
> project backers [1] -- thanks again, guys...)<br>
><br>
><br>
><br>
> For those willing to contribute effort and manpower to the problem, rather<br>
> than money, go for it. VTK and ActiViz are both open source, and may be<br>
> built and extended by any interested party. I recently abandoned the topic<br>
> integrating the two [2] due to lack of activity. Anybody who wants to,<br>
> please feel free to resurrect it, rebase it on current ?master?, and try<br>
> again. Alternatively, you could simply extend the ActiViz git repo with<br>
> commits to make it build against an external VTK 5.10 or 6.0 [3].<br>
><br>
><br>
> While I am capable and mildly interested in furthering ActiViz .NET, I<br>
> prefer to spend much of my free time on non-computer related activities<br>
> these days. I get quite enough compute time just doing my job. But money<br>
> actually does motivate me... and I would be willing to do the work if paid<br>
> for it. So, that, plus gauging actual interest level, were my primary<br>
> motivations for seeking funding via kickstarter.<br>
><br>
><br>
><br>
><br>
><br>
> Cheers,<br>
><br>
> David Cole<br>
><br>
><br>
><br>
><br>
> [1]<br>
> <a href="http://www.kickstarter.com/projects/dlrdave/activiz-net-installers-featuring-vtk-510/backers" target="_blank">http://www.kickstarter.com/projects/dlrdave/activiz-net-installers-featuring-vtk-510/backers</a><br>
><br>
> [2] <a href="http://review.source.kitware.com/#/t/1615/" target="_blank">http://review.source.kitware.com/#/t/1615/</a><br>
><br>
> [3] <a href="http://public.kitware.com/gitweb?p=activizdotnet.git" target="_blank">http://public.kitware.com/gitweb?p=activizdotnet.git</a><br>
><br>
><br>
><br>
> P.S. ---<br>
><br>
><br>
> I would also like to point out that nowadays, you can simply build a<br>
> managed-C++ project with VS 2012, and ?just link for free? to the native<br>
> VTK C++ libraries. That doesn?t help folks using other .NET languages, but<br>
> it is a nice feature of the modern C++ compiler from MS that you can link<br>
> in both managed and un-managed code together. If you are starting a new<br>
> Windows Forms application, consider using managed C++ as your language.<br>
> -------------- next part --------------<br>
> An HTML attachment was scrubbed...<br>
> URL: <<br>
> <a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130708/0cc105c5/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130708/0cc105c5/attachment-0001.htm</a><br>
> ><br>
><br>
> ------------------------------<br>
><br>
> Message: 2<br>
> Date: Mon, 8 Jul 2013 20:12:06 +0200<br>
> From: rahul indoria <<a href="mailto:rahulindoria5@gmail.com" target="_blank">rahulindoria5@gmail.com</a>><br>
> Subject: Re: [vtkusers] Regarding example VTKimagereslicemapper<br>
> To: David Doria <<a href="mailto:daviddoria@gmail.com" target="_blank">daviddoria@gmail.com</a>>, "<a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>"<br>
> <<a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>><br>
> Message-ID:<br>
> <CAGQ+16KkyGkkjmWQ86Xh5=<br>
> <a href="mailto:VfUnbABFEquKOdKEDKfm9_F1eyaA@mail.gmail.com" target="_blank">VfUnbABFEquKOdKEDKfm9_F1eyaA@mail.gmail.com</a>><br>
> Content-Type: text/plain; charset="iso-8859-1"<br>
><br>
> Hi,<br>
> Could you please tell me, what are port index in VTK functions?<br>
><br>
><br>
> On Mon, Jul 8, 2013 at 5:51 PM, David Doria <<a href="mailto:daviddoria@gmail.com" target="_blank">daviddoria@gmail.com</a>> wrote:<br>
><br>
> > In the future, please keep the conversation on the mailing list so that<br>
> > everyone can participate/benefit from the discussion.<br>
> ><br>
> > I believe what you're seeing is a contrast adjustment mechanism (called<br>
> > "window level events" -<br>
> ><br>
> <a href="http://www.vtk.org/doc/nightly/html/classvtkInteractorStyleImage.html#details" target="_blank">http://www.vtk.org/doc/nightly/html/classvtkInteractorStyleImage.html#details</a><br>
> > ).<br>
> ><br>
> ><br>
> > David<br>
> ><br>
> ><br>
> > On Mon, Jul 8, 2013 at 11:48 AM, rahul indoria <<a href="mailto:rahulindoria5@gmail.com" target="_blank">rahulindoria5@gmail.com</a><br>
> >wrote:<br>
> ><br>
> >> Hi David,<br>
> >> I have one more question regarding this example, in the<br>
> >> output of this example(<br>
> >> <a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/ImageSliceMapper" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/ImageSliceMapper</a>), why<br>
> >> we are getting different colors of the image, when i am left-clicking on<br>
> >> the image and moving mouse up and down?<br>
> >><br>
> >> Looking forward your reply soon.<br>
> >><br>
> >><br>
> >> rahul indoria<br>
> >><br>
> >><br>
> >> On Mon, Jul 8, 2013 at 3:22 PM, David Doria <<a href="mailto:daviddoria@gmail.com" target="_blank">daviddoria@gmail.com</a>><br>
> wrote:<br>
> >><br>
> >>> On Mon, Jul 8, 2013 at 9:05 AM, rahul indoria <<a href="mailto:rahulindoria5@gmail.com" target="_blank">rahulindoria5@gmail.com</a><br>
> >wrote:<br>
> >>><br>
> >>>> Hi,<br>
> >>>> I was modifying this example:<br>
> >>>> <a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/ImageSliceMapper" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/ImageSliceMapper</a><br>
> >>>> in this example, i am deleting the object vtkImageSlice, and when i<br>
> am<br>
> >>>> putting the object "imageSliceMapper" i getting an error?<br>
> >>>><br>
> >>>> As vtkimageslice class used to represent an image in a 3D scene, i<br>
> >>>> don`t want to display this in 3D scene, just want to display on the<br>
> screen<br>
> >>>> that`s why i am deleting this class, so why i am getting this error?<br>
> >>>><br>
> >>>> I modified this code like this :<br>
> >>>><br>
> >>><br>
> >>> What do you want to do if not display the image? The problem is that<br>
> you<br>
> >>> can't call AddViewProp on a mapper - it has to be a vtkProp subclass<br>
> >>> (like the vtkImageSlice was). In the future, please include the exact<br>
> >>> error that you are getting.<br>
> >>><br>
> >>> David<br>
> >>><br>
> >><br>
> >><br>
> >><br>
> >> --<br>
> >> *Best Regards<br>
> >> Rahul Indoria<br>
> >> Mobile No: <a href="tel:%2B49-157-35652212" value="+4915735652212" target="_blank">+49-157-35652212</a>*<br>
> >><br>
> ><br>
> ><br>
><br>
><br>
> --<br>
> *Best Regards<br>
> Rahul Indoria<br>
> Mobile No: <a href="tel:%2B49-157-35652212" value="+4915735652212" target="_blank">+49-157-35652212</a>*<br>
> -------------- next part --------------<br>
> An HTML attachment was scrubbed...<br>
> URL: <<br>
> <a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130708/8de03097/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130708/8de03097/attachment-0001.htm</a><br>
> ><br>
><br>
> ------------------------------<br>
><br>
> Message: 3<br>
> Date: Mon, 8 Jul 2013 15:44:56 -0700 (PDT)<br>
> From: shinpei <<a href="mailto:noro_shinpei@web.de" target="_blank">noro_shinpei@web.de</a>><br>
> Subject: [vtkusers] FindCell method of vtkCellLocator<br>
> To: <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br>
> Message-ID: <<a href="mailto:1373323496433-5721831.post@n5.nabble.com" target="_blank">1373323496433-5721831.post@n5.nabble.com</a>><br>
> Content-Type: text/plain; charset=us-ascii<br>
><br>
> Hi,<br>
><br>
> I have two triangle cells in my vtkCellLocator and I create a little bb<br>
> around a point of one triangle (see picture). Now I use FindCell(bb,<br>
> idList)<br>
> and I should get one id, but I get two. Is this a bug, or must I change<br>
> something?<br>
><br>
> <<a href="http://vtk.1045678.n5.nabble.com/file/n5721831/Unbenannt.png" target="_blank">http://vtk.1045678.n5.nabble.com/file/n5721831/Unbenannt.png</a>><br>
> - two trinagles (red)<br>
> - bb (blue)<br>
><br>
> My code:<br>
><br>
> for (vtkIdType ptId = 0; ptId < geometry->GetNumberOfPoints(); ++ptId)<br>
> {<br>
> bounds[0] = trianglePoint[0] - 0.01;<br>
> bounds[1] = trianglePoint[0] + 0.01;<br>
> bounds[2] = trianglePoint[1] - 0.01;<br>
> bounds[3] = trianglePoint[1] + 0.01;<br>
> bounds[4] = trianglePoint[2] - 0.01;<br>
> bounds[5] = trianglePoint[2] + 0.01;<br>
><br>
> cellLocator->FindCellsWithinBounds(bounds, foundCells);<br>
><br>
> int size = foundCells->GetNumberOfIds(); // is always two<br>
> }<br>
><br>
><br>
> Thx<br>
><br>
><br>
><br>
> --<br>
> View this message in context:<br>
> <a href="http://vtk.1045678.n5.nabble.com/FindCell-method-of-vtkCellLocator-tp5721831.html" target="_blank">http://vtk.1045678.n5.nabble.com/FindCell-method-of-vtkCellLocator-tp5721831.html</a><br>
> Sent from the VTK - Users mailing list archive at Nabble.com.<br>
><br>
><br>
> ------------------------------<br>
><br>
> Message: 4<br>
> Date: Mon, 8 Jul 2013 19:00:25 -0700<br>
> From: Alex Malyushytskyy <<a href="mailto:alexmalvtk@gmail.com" target="_blank">alexmalvtk@gmail.com</a>><br>
> Subject: Re: [vtkusers] FindCell method of vtkCellLocator<br>
> To: shinpei <<a href="mailto:noro_shinpei@web.de" target="_blank">noro_shinpei@web.de</a>><br>
> Cc: VTK <<a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>><br>
> Message-ID:<br>
> <<br>
> <a href="mailto:CAHR9pJ0m4dYdghFRjZ5Y6YffT23dv3Q%2BScsu4JEK8yMLQZ7rbg@mail.gmail.com" target="_blank">CAHR9pJ0m4dYdghFRjZ5Y6YffT23dv3Q+Scsu4JEK8yMLQZ7rbg@mail.gmail.com</a>><br>
> Content-Type: text/plain; charset="iso-8859-1"<br>
><br>
> It is not clear that attached picture corresponds to your claims.<br>
> There is no visible relation between trianglePoint and<br>
> geometry->GetNumberOfPoints().<br>
> Also for (vtkIdType ptId = 0; ptId < geometry->GetNumberOfPoints();<br>
> ++ptId)<br>
> loop does not make any sense cause nothing changes in the loop.<br>
><br>
> So I guess your trianglePoint is not what you think it is.<br>
> For example if this point is shared by 2 triangles you will have the same<br>
> effect.<br>
> Another possible problem might be absolute value 0.1 used.<br>
> For example your triangle may have size smaller than it, which will be a<br>
> source of such effect too.<br>
><br>
> Your example is not complete , you could create much better example<br>
> initializing all available variables so the behavior can be reproduced.<br>
><br>
> Alex<br>
><br>
><br>
><br>
> On Mon, Jul 8, 2013 at 3:44 PM, shinpei <<a href="mailto:noro_shinpei@web.de" target="_blank">noro_shinpei@web.de</a>> wrote:<br>
><br>
> > Hi,<br>
> ><br>
> > I have two triangle cells in my vtkCellLocator and I create a little bb<br>
> > around a point of one triangle (see picture). Now I use FindCell(bb,<br>
> > idList)<br>
> > and I should get one id, but I get two. Is this a bug, or must I change<br>
> > something?<br>
> ><br>
> > <<a href="http://vtk.1045678.n5.nabble.com/file/n5721831/Unbenannt.png" target="_blank">http://vtk.1045678.n5.nabble.com/file/n5721831/Unbenannt.png</a>><br>
> > - two trinagles (red)<br>
> > - bb (blue)<br>
> ><br>
> > My code:<br>
> ><br>
> > for (vtkIdType ptId = 0; ptId < geometry->GetNumberOfPoints();<br>
> ++ptId)<br>
> > {<br>
> > bounds[0] = trianglePoint[0] - 0.01;<br>
> > bounds[1] = trianglePoint[0] + 0.01;<br>
> > bounds[2] = trianglePoint[1] - 0.01;<br>
> > bounds[3] = trianglePoint[1] + 0.01;<br>
> > bounds[4] = trianglePoint[2] - 0.01;<br>
> > bounds[5] = trianglePoint[2] + 0.01;<br>
> ><br>
> > cellLocator->FindCellsWithinBounds(bounds, foundCells);<br>
> ><br>
> > int size = foundCells->GetNumberOfIds(); // is always two<br>
> > }<br>
> ><br>
> ><br>
> > Thx<br>
> ><br>
> ><br>
> ><br>
> > --<br>
> > View this message in context:<br>
> ><br>
> <a href="http://vtk.1045678.n5.nabble.com/FindCell-method-of-vtkCellLocator-tp5721831.html" target="_blank">http://vtk.1045678.n5.nabble.com/FindCell-method-of-vtkCellLocator-tp5721831.html</a><br>
> > Sent from the VTK - Users mailing list archive at Nabble.com.<br>
> > _______________________________________________<br>
> > Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
> ><br>
> > Visit other Kitware open-source projects at<br>
> > <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
> ><br>
> > Please keep messages on-topic and check the VTK FAQ at:<br>
> > <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
> ><br>
> > Follow this link to subscribe/unsubscribe:<br>
> > <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
> ><br>
> -------------- next part --------------<br>
> An HTML attachment was scrubbed...<br>
> URL: <<br>
> <a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130708/533f4d72/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130708/533f4d72/attachment-0001.htm</a><br>
> ><br>
><br>
> ------------------------------<br>
><br>
> Message: 5<br>
> Date: Mon, 8 Jul 2013 22:09:00 -0700 (PDT)<br>
> From: mailagentrus <<a href="mailto:mailagentrus@mail.ru" target="_blank">mailagentrus@mail.ru</a>><br>
> Subject: [vtkusers] VTK Stereo Rendering<br>
> To: <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br>
> Message-ID: <<a href="mailto:1373346540408-5721833.post@n5.nabble.com" target="_blank">1373346540408-5721833.post@n5.nabble.com</a>><br>
> Content-Type: text/plain; charset=us-ascii<br>
><br>
> Hi! I want to add a stereo mode to my program. Program wil be show pairs of<br>
> images image in stereo mode (with Nvidia 3d vision). I set up NVidia Qudro<br>
> 410 and saw stereo mode with Polydata object with using Paraview.<br>
> But, when I try to make own program i see inly the firs pair images in<br>
> stereo mode, after that image in right eye does not update... Updates inly<br>
> the left eye image.<br>
> Help me, please!<br>
><br>
> Code:<br>
><br>
> #include <vtkPolyDataReader.h><br>
> #include <vtkSmartPointer.h><br>
> #include <vtkDataSetMapper.h><br>
> #include <vtkActor.h><br>
> #include <vtkRenderWindow.h><br>
> #include <vtkRenderer.h><br>
> #include <vtkRenderWindowInteractor.h><br>
> #include <vtkCamera.h><br>
> #include "vtkCommand.h"<br>
> #include "vtkImageData.h"<br>
> #include <vtkBMPReader.h><br>
> #include <vtkImageViewer2.h><br>
> #include <vtkImageActor.h><br>
><br>
> vtkSmartPointer<vtkBMPReader> readerR;<br>
> vtkSmartPointer<vtkBMPReader> readerL;<br>
> vtkSmartPointer<vtkImageViewer2> imageViewer;<br>
><br>
> class vtkTimerCallback : public vtkCommand<br>
> {<br>
> public:<br>
> static vtkTimerCallback *New()<br>
> {<br>
> vtkTimerCallback *cb = new vtkTimerCallback;<br>
> cb->TimerCount = 0;<br>
> return cb;<br>
> }<br>
><br>
> virtual void Execute(vtkObject *vtkNotUsed(caller), unsigned long<br>
> eventId,<br>
> void *vtkNotUsed(callData))<br>
> {<br>
> if (vtkCommand::TimerEvent == eventId)<br>
> {<br>
><br>
> // for example name for left eye image is<br>
> readerL->SetFileName ( "D:/1234/-40.bmp");<br>
> readerL->Update();<br>
><br>
> // for example name for right eye image is<br>
> readerR->SetFileName ( "D:/1234/40.bmp");<br>
> readerR->Update();<br>
><br>
> imageViewer->SetInput(readerL->GetOutput());<br>
> imageViewer->GetRenderWindow()->SetStereoTypeToLeft();<br>
> imageViewer->GetRenderWindow()->Render();<br>
> imageViewer->GetRenderer()->ResetCamera();<br>
> imageViewer->GetRenderWindow()->Render();<br>
><br>
> imageViewer->GetRenderWindow()->StereoUpdate();<br>
><br>
> imageViewer->SetInput(readerL->GetOutput());<br>
> imageViewer->GetRenderWindow()->SetStereoTypeToRight();<br>
> imageViewer->GetRenderWindow()->Render();<br>
> imageViewer->GetRenderer()->ResetCamera();<br>
> imageViewer->GetRenderWindow()->Render();<br>
><br>
> imageViewer->GetRenderWindow()->StereoUpdate();<br>
><br>
> ++this->TimerCount;<br>
> }<br>
> cout << this->TimerCount << endl;<br>
> }<br>
><br>
> private:<br>
> int TimerCount;<br>
><br>
> };<br>
><br>
><br>
> int main ( int argc, char *argv[] )<br>
> {<br>
> //Read the image<br>
> readerL =<br>
> vtkSmartPointer<vtkBMPReader>::New();<br>
> readerL->SetFileName ( "D:/1234/-5.bmp");<br>
> readerL->Update();<br>
><br>
> readerR =<br>
> vtkSmartPointer<vtkBMPReader>::New();<br>
> readerR->SetFileName ( "D:/1234/5.bmp");<br>
> readerR->Update();<br>
><br>
> // Visualize<br>
> imageViewer =<br>
> vtkSmartPointer<vtkImageViewer2>::New();<br>
><br>
> vtkSmartPointer<vtkRenderWindowInteractor> renderWindowInteractor =<br>
> vtkSmartPointer<vtkRenderWindowInteractor>::New();<br>
> imageViewer->SetupInteractor(renderWindowInteractor);<br>
><br>
> imageViewer->GetRenderWindow()->SetSize( 800, 600 );<br>
><br>
> imageViewer->GetRenderWindow()->StereoCapableWindowOn();<br>
> imageViewer->GetRenderWindow()->SetStereoTypeToCrystalEyes();<br>
> imageViewer->GetRenderWindow()->SetStereoRender(1);<br>
> imageViewer->GetRenderWindow()->StereoUpdate();<br>
><br>
> renderWindowInteractor->Initialize();<br>
><br>
> imageViewer->SetInput(readerBase->GetOutput());<br>
> imageViewer->GetRenderWindow()->Render();<br>
> imageViewer->GetRenderer()->ResetCamera();<br>
> imageViewer->GetRenderWindow()->Render();<br>
><br>
> // Sign up to receive TimerEvent<br>
> vtkSmartPointer<vtkTimerCallback> cb =<br>
> vtkSmartPointer<vtkTimerCallback>::New();<br>
> renderWindowInteractor->AddObserver(vtkCommand::TimerEvent, cb);<br>
><br>
> int timerId = renderWindowInteractor->CreateRepeatingTimer(100);<br>
> std::cout << "timerId: " << timerId << std::endl;<br>
><br>
> renderWindowInteractor->Start();<br>
><br>
> return EXIT_SUCCESS;<br>
> }<br>
><br>
><br>
><br>
><br>
> --<br>
> View this message in context:<br>
> <a href="http://vtk.1045678.n5.nabble.com/VTK-Stereo-Rendering-tp5721833.html" target="_blank">http://vtk.1045678.n5.nabble.com/VTK-Stereo-Rendering-tp5721833.html</a><br>
> Sent from the VTK - Users mailing list archive at Nabble.com.<br>
><br>
><br>
> ------------------------------<br>
><br>
> Message: 6<br>
> Date: Tue, 9 Jul 2013 14:08:36 +0800<br>
> From: "hongsongyang" <<a href="mailto:hongsongyang@163.com" target="_blank">hongsongyang@163.com</a>><br>
> Subject: [vtkusers] [vtkUsers] About Different RenderWindowInteractor<br>
> To: <<a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>><br>
> Message-ID: <D36F8CD489D643279CDEF9B7802D2D8F@WlfPC><br>
> Content-Type: text/plain; charset="us-ascii"<br>
><br>
> Dear All:<br>
><br>
> I have several renders (e.g 4 render), and we could use SetViewport to<br>
> display all of them in one RenderWindow.<br>
><br>
> My question is that could I set different interactor for each of the<br>
> render?<br>
><br>
> For example, for render1, I only need zoom and ww/wl operation, but for<br>
> render2, I need zoom, pan and rotate operation.<br>
><br>
><br>
><br>
> Thanks a lot.<br>
><br>
> Hongsongyang<br>
><br>
> -------------- next part --------------<br>
> An HTML attachment was scrubbed...<br>
> URL: <<br>
> <a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130709/73d6e3a8/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130709/73d6e3a8/attachment-0001.htm</a><br>
> ><br>
><br>
> ------------------------------<br>
><br>
> Message: 7<br>
> Date: Mon, 8 Jul 2013 23:34:35 -0700<br>
> From: Gideon Valch <<a href="mailto:gvalch1237@gmail.com" target="_blank">gvalch1237@gmail.com</a>><br>
> Subject: [vtkusers] using vtkGL2PSExporter in python [ under<br>
> pythonXY() ]<br>
> To: <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br>
> Message-ID:<br>
> <<br>
> <a href="mailto:CAEEGk3YCKrV6gQCtRoPXZZQXQ%2BQr7J%2BKPgK%2BzLAAeF2e6%2BKpgw@mail.gmail.com" target="_blank">CAEEGk3YCKrV6gQCtRoPXZZQXQ+Qr7J+KPgK+zLAAeF2e6+Kpgw@mail.gmail.com</a>><br>
> Content-Type: text/plain; charset="iso-8859-1"<br>
><br>
> Hello,<br>
><br>
> I use pythonxy() as my platform for python supported vtk. Currently,<br>
> I'm trying to export a vtk render window to post script using the sample<br>
> code (at bottom) but I'm getting an error (see below). I suspect this<br>
> relates to how pythonxy() is compiled. Can anyone suggest a workaround?<br>
><br>
> Thanks,<br>
> GV<br>
><br>
> exporter = vtk.vtkGL2PSExporter()<br>
> AttributeError: 'module' object has no attribute 'vtkGL2PSExporter'<br>
><br>
> ----------------------------<br>
><br>
> prefix="c:\\temp\\foo444"<br>
> exporter = vtk.vtkGL2PSExporter()<br>
> exporter.SetFilePrefix(prefix)<br>
> exporter.SetFileFormatToSVG()<br>
> exporter.SetRenderWindow(renWin)<br>
> exporter.CompressOff()<br>
> exporter.SetSortToOff()<br>
> #exporter.DrawBackgroundOn()<br>
> #exporter.Write3DPropsAsRasterImageOn()<br>
> exporter.Write()<br>
> -------------- next part --------------<br>
> An HTML attachment was scrubbed...<br>
> URL: <<br>
> <a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130708/2dfee622/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130708/2dfee622/attachment-0001.htm</a><br>
> ><br>
><br>
> ------------------------------<br>
><br>
> Message: 8<br>
> Date: Tue, 9 Jul 2013 00:44:38 -0700 (PDT)<br>
> From: Ruff <<a href="mailto:albin.nilsson@gmail.com" target="_blank">albin.nilsson@gmail.com</a>><br>
> Subject: Re: [vtkusers] Help with image planes example<br>
> To: <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br>
> Message-ID: <<a href="mailto:1373355878399-5721836.post@n5.nabble.com" target="_blank">1373355878399-5721836.post@n5.nabble.com</a>><br>
> Content-Type: text/plain; charset=us-ascii<br>
><br>
> Thank you!<br>
> The problem is that when I tried with ImageData as input in volume16reader<br>
> I<br>
> got the error "Attempt to connect input port index 0 for an algorithm with<br>
> 0<br>
> input ports"<br>
> Using ImageData as input directly to vtkImagePlaneWidget worked fine<br>
> though,<br>
> so I guess that solves it.<br>
> (My VTK-programming right now is mostly trial and error along with trying<br>
> to<br>
> understand the different data structures and the pipeline)<br>
><br>
><br>
><br>
> --<br>
> View this message in context:<br>
> <a href="http://vtk.1045678.n5.nabble.com/Help-with-image-planes-example-tp5721813p5721836.html" target="_blank">http://vtk.1045678.n5.nabble.com/Help-with-image-planes-example-tp5721813p5721836.html</a><br>
> Sent from the VTK - Users mailing list archive at Nabble.com.<br>
><br>
><br>
> ------------------------------<br>
><br>
> Message: 9<br>
> Date: Tue, 09 Jul 2013 11:23:11 +0200<br>
> From: Umer Rafi <<a href="mailto:umer.rafi@rwth-aachen.de" target="_blank">umer.rafi@rwth-aachen.de</a>><br>
> Subject: [vtkusers] adding texture to a wavefront .obj file in vtk<br>
> To: <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br>
> Message-ID: <<a href="mailto:fb959ae41b00e3.51dbf29f@rwth-aachen.de" target="_blank">fb959ae41b00e3.51dbf29f@rwth-aachen.de</a>><br>
> Content-Type: text/plain; CHARSET=US-ASCII<br>
><br>
> Hello everyone,<br>
><br>
> I am new to vtk. I am having a wavefront file of a 3d human model.<br>
> What I want to do is to render it using vtk and apply different textures to<br>
> different parts of the 3d human model. For example I have a texture image<br>
> containing a shirt that I want to apply to torso and arms only. Another<br>
> one for jeans that I want to apply to legs and thighs only. I will really<br>
> appreciate if anyone can provide a sample code snippet to get me started.<br>
><br>
><br>
> thanks in advance.<br>
><br>
> Regards<br>
> Umer<br>
><br>
><br>
> ------------------------------<br>
><br>
> Message: 10<br>
> Date: Tue, 9 Jul 2013 16:53:12 +0530<br>
> From: "divya" <<a href="mailto:divya@triassicsolutions.com" target="_blank">divya@triassicsolutions.com</a>><br>
> Subject: [vtkusers] Unexpected actor orientation results<br>
> To: "Vtk Users" <<a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>><br>
> Message-ID: <004201ce7c96$b5c358a0$214a09e0$@<a href="http://triassicsolutions.com" target="_blank">triassicsolutions.com</a>><br>
> Content-Type: text/plain; charset="us-ascii"<br>
><br>
><br>
><br>
> Dear vtkUsers,<br>
><br>
> I am trying to find the orientation of an actor while I'm rotating it, the<br>
> z<br>
> and y are correct, but the value range for the x axis is [-90, 90],<br>
> whereas<br>
> the value range for z and y axis is [-180, 180].<br>
><br>
><br>
><br>
> Also the rotation doesn't happen in the chosen axis, for example when I<br>
> chose to rotate the actor by 15 degrees on y-axis, the value of the z-axis<br>
> increases.<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> -------------- next part --------------<br>
> An HTML attachment was scrubbed...<br>
> URL: <<br>
> <a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130709/3543ac30/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130709/3543ac30/attachment-0001.htm</a><br>
> ><br>
> -------------- next part --------------<br>
> A non-text attachment was scrubbed...<br>
> Name: not available<br>
> Type: image/jpeg<br>
> Size: 10515 bytes<br>
> Desc: not available<br>
> URL: <<br>
> <a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130709/3543ac30/attachment-0002.jpeg" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130709/3543ac30/attachment-0002.jpeg</a><br>
> ><br>
> -------------- next part --------------<br>
> A non-text attachment was scrubbed...<br>
> Name: not available<br>
> Type: image/jpeg<br>
> Size: 13048 bytes<br>
> Desc: not available<br>
> URL: <<br>
> <a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130709/3543ac30/attachment-0003.jpeg" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130709/3543ac30/attachment-0003.jpeg</a><br>
> ><br>
><br>
> ------------------------------<br>
><br>
> Message: 11<br>
> Date: Tue, 9 Jul 2013 05:23:41 -0700 (PDT)<br>
> From: shinpei <<a href="mailto:noro_shinpei@web.de" target="_blank">noro_shinpei@web.de</a>><br>
> Subject: Re: [vtkusers] FindCell method of vtkCellLocator<br>
> To: <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br>
> Message-ID: <<a href="mailto:1373372621955-5721840.post@n5.nabble.com" target="_blank">1373372621955-5721840.post@n5.nabble.com</a>><br>
> Content-Type: text/plain; charset=us-ascii<br>
><br>
> Sry... I thought it would be clear what I mean.<br>
><br>
> The geometry contains two triangles:<br>
> Points are:<br>
> (0 0 0)<br>
> (0 10 0)<br>
> (10 0 0)<br>
> (10 10 0)<br>
><br>
> with connection:<br>
> (0 1 2)<br>
> (1 2 3)<br>
><br>
> for (vtkIdType ptId = 0; ptId < geometry->GetNumberOfPoints(); ++ptId)<br>
> {<br>
> geometry->getPoints()->GetPoint(ptId, trianglePoint);<br>
><br>
> bounds[0] = trianglePoint[0] - 0.01;<br>
> bounds[1] = trianglePoint[0] + 0.01;<br>
> bounds[2] = trianglePoint[1] - 0.01;<br>
> bounds[3] = trianglePoint[1] + 0.01;<br>
> bounds[4] = trianglePoint[2] - 0.01;<br>
> bounds[5] = trianglePoint[2] + 0.01;<br>
><br>
> cellLocator->FindCellsWithinBounds(bounds, foundCells);<br>
><br>
> int size = foundCells->GetNumberOfIds(); // is always two<br>
> }<br>
><br>
> The trianglePoint is e.g. (0 0 0) (first iteration of the loop) so I should<br>
> get only one triangle, but I get always two triangles. The bb is small<br>
> enough and there is a point which correspons to only one triangle.<br>
><br>
><br>
><br>
> --<br>
> View this message in context:<br>
> <a href="http://vtk.1045678.n5.nabble.com/FindCell-method-of-vtkCellLocator-tp5721831p5721840.html" target="_blank">http://vtk.1045678.n5.nabble.com/FindCell-method-of-vtkCellLocator-tp5721831p5721840.html</a><br>
> Sent from the VTK - Users mailing list archive at Nabble.com.<br>
><br>
><br>
> ------------------------------<br>
><br>
> Message: 12<br>
> Date: Tue, 9 Jul 2013 15:43:23 +0300<br>
> From: Haroon Showgan <<a href="mailto:haroon.showgan@gmail.com" target="_blank">haroon.showgan@gmail.com</a>><br>
> Subject: [vtkusers] VTK application running on Linux loads VNC server<br>
> To: <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br>
> Message-ID:<br>
> <CAJ=<br>
> <a href="mailto:gTgXfT44oBK1Qz5idLBRDt0kdiZuLh0iA%2BmrtAChwR_-Pkw@mail.gmail.com" target="_blank">gTgXfT44oBK1Qz5idLBRDt0kdiZuLh0iA+mrtAChwR_-Pkw@mail.gmail.com</a>><br>
> Content-Type: text/plain; charset="iso-8859-1"<br>
><br>
> Hi,<br>
><br>
> I'm implementing a VTK application for visualizing geometrical 3D objects.<br>
> Most of the code is written in C++, and I use TCL-TK widgets for the GUI (I<br>
> use *vtkTkRenderWidget* for the main canvas).<br>
><br>
> Most of my objects are *vtkVoxel* objects inserted into a *<br>
> vtkUnstructuredGrid*.<br>
><br>
> I run this application on a Linux server and I connect to this server from<br>
> Windows using VNC. I noticed that when I load a very large data set into<br>
> the application then the *VNC server* (on the Linux machine) consumes a lot<br>
> of memory and uses 100% CPU. I didn't realize that the memory and CPU<br>
> usages of a VNC server would be affected so much like this.<br>
><br>
> Note that my VTK application is also consuming a lot of memory and CPU,<br>
> but what I find strange is that the VNC server is also affected (the<br>
> process is called *Xvnc_core*).<br>
><br>
> Does anyone know how this is caused and do you have any suggestion how to<br>
> mitigate the problem?<br>
><br>
> Regards,<br>
> Haroon<br>
> -------------- next part --------------<br>
> An HTML attachment was scrubbed...<br>
> URL: <<br>
> <a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130709/621fefc2/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130709/621fefc2/attachment-0001.htm</a><br>
> ><br>
><br>
> ------------------------------<br>
><br>
> Message: 13<br>
> Date: Tue, 9 Jul 2013 07:25:46 -0700 (PDT)<br>
> From: Massinissa Bandou <Massinissa.Bandou@USherbrooke.ca><br>
> Subject: [vtkusers] .RAW file<br>
> To: <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br>
> Message-ID: <<a href="mailto:1373379946181-5721842.post@n5.nabble.com" target="_blank">1373379946181-5721842.post@n5.nabble.com</a>><br>
> Content-Type: text/plain; charset=us-ascii<br>
><br>
> Hello everyone,<br>
><br>
> I tried to read a (.raw) file with the following code but it displays a RED<br>
> CUBE. Here is some information about my file dataInfo.txt<br>
> <<a href="http://vtk.1045678.n5.nabble.com/file/n5721842/dataInfo.txt" target="_blank">http://vtk.1045678.n5.nabble.com/file/n5721842/dataInfo.txt</a>> . Is there<br>
> something wrong in my code?<br>
><br>
> thx for your time and help!<br>
><br>
> sorry my file is too large to be send.<br>
><br>
> #include <vtkSmartPointer.h><br>
> #include <vtkRenderWindow.h><br>
> #include <vtkRenderWindowInteractor.h><br>
> #include <vtkRenderer.h><br>
> #include <vtkActor><br>
> #include <vtkImageReader><br>
> #include <vtkDataSetMapper><br>
><br>
> int main(int argc, char *argv[])<br>
> {<br>
> vtkImageReader *reader = vtkImageReader::New();<br>
> reader->SetFileName(file.c_str());<br>
> reader->SetFileDimensionality(3);<br>
> reader->SetNumberOfScalarComponents(1);<br>
> reader->SetDataExtent(0,512,0,512,0,512);<br>
> reader->SetDataSpacing(0.145, 0.145, 0.145);<br>
> reader->SetDataByteOrderToBigEndian();<br>
> reader->SetDataScalarTypeToChar();<br>
> reader->Update();<br>
><br>
> vtkSmartPointer<vtkDataSetMapper> map =<br>
> vtkSmartPointer<vtkDataSetMapper>::New();<br>
> map->SetInputConnection(reader->GetOutputPort());<br>
><br>
><br>
> vtkSmartPointer<vtkActor> actor = vtkSmartPointer<vtkActor>::New();<br>
> actor->SetMapper(map);<br>
><br>
> vtkSmartPointer<vtkRenderWindowInteractor> interactor =<br>
> vtkSmartPointer<vtkRenderWindowInteractor>::New();<br>
><br>
> vtkSmartPointer<vtkRenderWindow> renderWindow =<br>
> vtkSmartPointer<vtkRenderWindow>::New();<br>
> interactor->SetRenderWindow(renderWindow);<br>
> vtkSmartPointer<vtkRenderer> renderer =<br>
> vtkSmartPointer<vtkRenderer>::New();<br>
> renderWindow->AddRenderer(renderer);<br>
> renderer->AddActor(actor);<br>
><br>
> renderWindow->Render();<br>
> interactor->Start();<br>
> }<br>
><br>
><br>
><br>
><br>
> --<br>
> View this message in context:<br>
> <a href="http://vtk.1045678.n5.nabble.com/RAW-file-tp5721842.html" target="_blank">http://vtk.1045678.n5.nabble.com/RAW-file-tp5721842.html</a><br>
> Sent from the VTK - Users mailing list archive at Nabble.com.<br>
><br>
><br>
> ------------------------------<br>
><br>
> Message: 14<br>
> Date: Tue, 9 Jul 2013 11:38:50 -0400<br>
> From: Bill Lorensen <<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>><br>
> Subject: Re: [vtkusers] .RAW file<br>
> To: Massinissa Bandou <<a href="mailto:Massinissa.Bandou@usherbrooke.ca" target="_blank">Massinissa.Bandou@usherbrooke.ca</a>><br>
> Cc: VTK Users <<a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>><br>
> Message-ID:<br>
> <<br>
> <a href="mailto:CADZJ4hNXVuS_7L9ocCzex3XHpqyg5dpdKJ2NmxfQn_DnaSDp_Q@mail.gmail.com" target="_blank">CADZJ4hNXVuS_7L9ocCzex3XHpqyg5dpdKJ2NmxfQn_DnaSDp_Q@mail.gmail.com</a>><br>
> Content-Type: text/plain; charset="iso-8859-1"<br>
><br>
> If your data is 512x512x512 then<br>
> reader->SetDataExtent(0,512,0,512,0,512);<br>
> should be:<br>
> reader->SetDataExtent(0,511,0,511,0,511);<br>
><br>
> Also be certain you are setting the correct endianness.<br>
><br>
><br>
> On Tue, Jul 9, 2013 at 10:25 AM, Massinissa Bandou <<br>
> <a href="mailto:Massinissa.Bandou@usherbrooke.ca" target="_blank">Massinissa.Bandou@usherbrooke.ca</a>> wrote:<br>
><br>
> > Hello everyone,<br>
> ><br>
> > I tried to read a (.raw) file with the following code but it displays a<br>
> RED<br>
> > CUBE. Here is some information about my file dataInfo.txt<br>
> > <<a href="http://vtk.1045678.n5.nabble.com/file/n5721842/dataInfo.txt" target="_blank">http://vtk.1045678.n5.nabble.com/file/n5721842/dataInfo.txt</a>> . Is<br>
> there<br>
> > something wrong in my code?<br>
> ><br>
> > thx for your time and help!<br>
> ><br>
> > sorry my file is too large to be send.<br>
> ><br>
> > #include <vtkSmartPointer.h><br>
> > #include <vtkRenderWindow.h><br>
> > #include <vtkRenderWindowInteractor.h><br>
> > #include <vtkRenderer.h><br>
> > #include <vtkActor><br>
> > #include <vtkImageReader><br>
> > #include <vtkDataSetMapper><br>
> ><br>
> > int main(int argc, char *argv[])<br>
> > {<br>
> > vtkImageReader *reader = vtkImageReader::New();<br>
> > reader->SetFileName(file.c_str());<br>
> > reader->SetFileDimensionality(3);<br>
> > reader->SetNumberOfScalarComponents(1);<br>
> > reader->SetDataExtent(0,512,0,512,0,512);<br>
> > reader->SetDataSpacing(0.145, 0.145, 0.145);<br>
> > reader->SetDataByteOrderToBigEndian();<br>
> > reader->SetDataScalarTypeToChar();<br>
> > reader->Update();<br>
> ><br>
> > vtkSmartPointer<vtkDataSetMapper> map =<br>
> > vtkSmartPointer<vtkDataSetMapper>::New();<br>
> > map->SetInputConnection(reader->GetOutputPort());<br>
> ><br>
> ><br>
> > vtkSmartPointer<vtkActor> actor =<br>
> vtkSmartPointer<vtkActor>::New();<br>
> > actor->SetMapper(map);<br>
> ><br>
> > vtkSmartPointer<vtkRenderWindowInteractor> interactor =<br>
> > vtkSmartPointer<vtkRenderWindowInteractor>::New();<br>
> ><br>
> > vtkSmartPointer<vtkRenderWindow> renderWindow =<br>
> > vtkSmartPointer<vtkRenderWindow>::New();<br>
> > interactor->SetRenderWindow(renderWindow);<br>
> > vtkSmartPointer<vtkRenderer> renderer =<br>
> > vtkSmartPointer<vtkRenderer>::New();<br>
> > renderWindow->AddRenderer(renderer);<br>
> > renderer->AddActor(actor);<br>
> ><br>
> > renderWindow->Render();<br>
> > interactor->Start();<br>
> > }<br>
> ><br>
> ><br>
> ><br>
> ><br>
> > --<br>
> > View this message in context:<br>
> > <a href="http://vtk.1045678.n5.nabble.com/RAW-file-tp5721842.html" target="_blank">http://vtk.1045678.n5.nabble.com/RAW-file-tp5721842.html</a><br>
> > Sent from the VTK - Users mailing list archive at Nabble.com.<br>
> > _______________________________________________<br>
> > Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
> ><br>
> > Visit other Kitware open-source projects at<br>
> > <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
> ><br>
> > Please keep messages on-topic and check the VTK FAQ at:<br>
> > <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
> ><br>
> > Follow this link to subscribe/unsubscribe:<br>
> > <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
> ><br>
><br>
><br>
><br>
> --<br>
> Unpaid intern in BillsBasement at noware dot com<br>
> -------------- next part --------------<br>
> An HTML attachment was scrubbed...<br>
> URL: <<br>
> <a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130709/b188c2b1/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130709/b188c2b1/attachment-0001.htm</a><br>
> ><br>
><br>
> ------------------------------<br>
><br>
> Message: 15<br>
> Date: Tue, 9 Jul 2013 08:46:33 -0700 (PDT)<br>
> From: Ruff <<a href="mailto:albin.nilsson@gmail.com" target="_blank">albin.nilsson@gmail.com</a>><br>
> Subject: [vtkusers] My point cloud data won't display in the renderer.<br>
> To: <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br>
> Message-ID: <<a href="mailto:1373384793963-5721844.post@n5.nabble.com" target="_blank">1373384793963-5721844.post@n5.nabble.com</a>><br>
> Content-Type: text/plain; charset=us-ascii<br>
><br>
> All i get is an empty renderWindow. I get no errors, but no data is<br>
> rendered<br>
> either. What am I doing wrong?<br>
><br>
> What I do is pretty much this:<br>
><br>
> AtomGrid=vtk.vtkUnstructuredGrid()<br>
> AtomGrid.SetPoints( vtkPoints with [index,x,y,z] )<br>
> AtomGrid.GetPointData().SetScalars( vtkFloatArray with [index, scalar]<br>
> )<br>
><br>
> volMapper = vtk.vtkUnstructuredGridVolumeRayCastMapper()<br>
> volMapper.SetBlendModeToComposite()<br>
> volMapper.SetInput(AtomGrid)<br>
><br>
><br>
> I tried volMapper.SetScalarModeToUsePointFieldData(), but then it claims<br>
> that I have no scalar values to use(!!)<br>
><br>
> (I cheated before, and was satisfied using ImageData for this, but now I<br>
> really need to get this to work with UnstructuredGrid)<br>
><br>
><br>
><br>
> --<br>
> View this message in context:<br>
> <a href="http://vtk.1045678.n5.nabble.com/My-point-cloud-data-won-t-display-in-the-renderer-tp5721844.html" target="_blank">http://vtk.1045678.n5.nabble.com/My-point-cloud-data-won-t-display-in-the-renderer-tp5721844.html</a><br>
> Sent from the VTK - Users mailing list archive at Nabble.com.<br>
><br>
><br>
> ------------------------------<br>
><br>
> _______________________________________________<br>
> vtkusers mailing list<br>
> <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br>
> <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
><br>
><br>
> End of vtkusers Digest, Vol 111, Issue 16<br>
> *****************************************<br>
><br>
<br>
<br>
<br>
--<br>
*Best Regards<br>
Rahul Indoria<br>
Mobile No: <a href="tel:%2B49-157-35652212" value="+4915735652212" target="_blank">+49-157-35652212</a>*<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130709/ce46c409/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130709/ce46c409/attachment-0001.htm</a>><br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Tue, 9 Jul 2013 15:00:16 -0400<br>
From: Bill Lorensen <<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>><br>
Subject: Re: [vtkusers] vtkusers Digest, Vol 111, Issue 16<br>
To: rahul indoria <<a href="mailto:rahulindoria5@gmail.com" target="_blank">rahulindoria5@gmail.com</a>><br>
Cc: "<a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>" <<a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>><br>
Message-ID:<br>
<CADZJ4hMNYM4Rp7Fn0Kt+yvxbje_3eeD+F0-=<a href="mailto:Ti%2Ba4JGRBQp5Yw@mail.gmail.com" target="_blank">Ti+a4JGRBQp5Yw@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
The points and cells are generated in the for loops.<br>
<br>
<br>
<br>
On Tue, Jul 9, 2013 at 2:43 PM, rahul indoria <<a href="mailto:rahulindoria5@gmail.com" target="_blank">rahulindoria5@gmail.com</a>>wrote:<br>
<br>
> Hi,<br>
> Can you explain me some portion of the code of this example (<br>
> <a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/CurvedReformation" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/CurvedReformation</a>)?<br>
><br>
> i need to ask the line by line documentation of this function, how these<br>
> points and surface is formed?<br>
><br>
><br>
> vtkSmartPointer<vtkPolyData> SweepLine (vtkPolyData *line,<br>
> double direction[3],<br>
> double distance,<br>
> unsigned int cols)<br>
><br>
> {<br>
><br>
> unsigned int rows = line->GetNumberOfPoints();<br>
><br>
> double spacing = distance / cols;<br>
> vtkSmartPointer<vtkPolyData> surface =<br>
> vtkSmartPointer<vtkPolyData>::New();<br>
><br>
> // Generate the points<br>
> cols++; // why this statement ?<br>
> unsigned int numberOfPoints = rows * cols; // how these number points are generated<br>
> unsigned int numberOfPolys = (rows - 1) * (cols - 1); // what is this???<br>
><br>
><br>
> vtkSmartPointer<vtkPoints> points =<br>
> vtkSmartPointer<vtkPoints>::New();<br>
> points->Allocate(numberOfPoints);<br>
> vtkSmartPointer<vtkCellArray> polys =<br>
> vtkSmartPointer<vtkCellArray>::New();<br>
> polys->Allocate(numberOfPolys*4);<br>
><br>
> double x[3];<br>
> unsigned int cnt = 0;<br>
> for (unsigned int row = 0; row < rows; row++)<br>
> {<br>
> for (unsigned int col = 0; col < cols; col++)<br>
> {<br>
> double p[3];<br>
> line->GetPoint(row, p);<br>
> x[0] = p[0] + direction[0] * col * spacing;<br>
> x[1] = p[1] + direction[1] * col * spacing;<br>
> x[2] = p[2] + direction[2] * col * spacing;<br>
> points->InsertPoint(cnt++, x);<br>
> }<br>
> }<br>
> // Generate the quads<br>
> vtkIdType pts[4];<br>
> for (unsigned int row = 0; row < rows - 1; row++)<br>
> {<br>
> for (unsigned int col = 0; col < cols - 1; col++)<br>
> {<br>
> pts[0] = col + row * (cols);<br>
> pts[1] = pts[0] + 1;<br>
> pts[2] = pts[0] + cols + 1;<br>
> pts[3] = pts[0] + cols;<br>
> polys->InsertNextCell(4,pts);<br>
> }<br>
> }<br>
> surface->SetPoints(points);<br>
> surface->SetPolys(polys);<br>
><br>
> return surface;}<br>
><br>
><br>
><br>
><br>
> please reply as soon as possible<br>
><br>
><br>
><br>
> On Tue, Jul 9, 2013 at 6:00 PM, <<a href="mailto:vtkusers-request@vtk.org" target="_blank">vtkusers-request@vtk.org</a>> wrote:<br>
><br>
>> Send vtkusers mailing list submissions to<br>
>> <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br>
>><br>
>> To subscribe or unsubscribe via the World Wide Web, visit<br>
>> <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
>> or, via email, send a message with subject or body 'help' to<br>
>> <a href="mailto:vtkusers-request@vtk.org" target="_blank">vtkusers-request@vtk.org</a><br>
>><br>
>> You can reach the person managing the list at<br>
>> <a href="mailto:vtkusers-owner@vtk.org" target="_blank">vtkusers-owner@vtk.org</a><br>
>><br>
>> When replying, please edit your Subject line so it is more specific<br>
>> than "Re: Contents of vtkusers digest..."<br>
>><br>
>><br>
>> Today's Topics:<br>
>><br>
>> 1. Re: Vtk 6.0 dotnet (David Cole)<br>
>> 2. Re: Regarding example VTKimagereslicemapper (rahul indoria)<br>
>> 3. FindCell method of vtkCellLocator (shinpei)<br>
>> 4. Re: FindCell method of vtkCellLocator (Alex Malyushytskyy)<br>
>> 5. VTK Stereo Rendering (mailagentrus)<br>
>> 6. [vtkUsers] About Different RenderWindowInteractor (hongsongyang)<br>
>> 7. using vtkGL2PSExporter in python [ under pythonXY() ]<br>
>> (Gideon Valch)<br>
>> 8. Re: Help with image planes example (Ruff)<br>
>> 9. adding texture to a wavefront .obj file in vtk (Umer Rafi)<br>
>> 10. Unexpected actor orientation results (divya)<br>
>> 11. Re: FindCell method of vtkCellLocator (shinpei)<br>
>> 12. VTK application running on Linux loads VNC server (Haroon Showgan)<br>
>> 13. .RAW file (Massinissa Bandou)<br>
>> 14. Re: .RAW file (Bill Lorensen)<br>
>> 15. My point cloud data won't display in the renderer. (Ruff)<br>
>><br>
>><br>
>> ----------------------------------------------------------------------<br>
>><br>
>> Message: 1<br>
>> Date: Mon, 8 Jul 2013 16:21:52 +0000<br>
>> From: David Cole <<a href="mailto:dlrdave@aol.com" target="_blank">dlrdave@aol.com</a>><br>
>> Subject: Re: [vtkusers] Vtk 6.0 dotnet<br>
>> To: " <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a> " <<a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>>, Serge Lalonde<br>
>> <<a href="mailto:serge@infolytica.com" target="_blank">serge@infolytica.com</a>><br>
>> Message-ID: <<a href="mailto:20130708165306.6B0E66504F@public.kitware.com" target="_blank">20130708165306.6B0E66504F@public.kitware.com</a>><br>
>> Content-Type: text/plain; charset="utf-8"<br>
>><br>
>> Thanks, Serge. It *is* too bad that the kickstarter approach did not<br>
>> yield a funded project this time around. Perhaps later, another one will be<br>
>> successful.<br>
>><br>
>><br>
>><br>
>> Alex, you wrote ?as for me I would trust more in the results of free<br>
>> development than in results of the projects developed using such financing.?<br>
>><br>
>><br>
>><br>
>> In response, I would simply point out the results of free development are<br>
>> that ActiViz is presently ?stuck? on the VTK 5.8 version. And it was only<br>
>> ?free as in beer? to those of you who didn?t pay for it.<br>
>><br>
>><br>
>><br>
>> It?s also too bad that nobody else has stepped up and said, ?hey, how can<br>
>> I contribute and help to make this happen?? (Aside from the 20 kickstarter<br>
>> project backers [1] -- thanks again, guys...)<br>
>><br>
>><br>
>><br>
>> For those willing to contribute effort and manpower to the problem,<br>
>> rather than money, go for it. VTK and ActiViz are both open source, and may<br>
>> be built and extended by any interested party. I recently abandoned the<br>
>> topic integrating the two [2] due to lack of activity. Anybody who wants<br>
>> to, please feel free to resurrect it, rebase it on current ?master?, and<br>
>> try again. Alternatively, you could simply extend the ActiViz git repo with<br>
>> commits to make it build against an external VTK 5.10 or 6.0 [3].<br>
>><br>
>><br>
>> While I am capable and mildly interested in furthering ActiViz .NET, I<br>
>> prefer to spend much of my free time on non-computer related activities<br>
>> these days. I get quite enough compute time just doing my job. But money<br>
>> actually does motivate me... and I would be willing to do the work if paid<br>
>> for it. So, that, plus gauging actual interest level, were my primary<br>
>> motivations for seeking funding via kickstarter.<br>
>><br>
>><br>
>><br>
>><br>
>><br>
>> Cheers,<br>
>><br>
>> David Cole<br>
>><br>
>><br>
>><br>
>><br>
>> [1]<br>
>> <a href="http://www.kickstarter.com/projects/dlrdave/activiz-net-installers-featuring-vtk-510/backers" target="_blank">http://www.kickstarter.com/projects/dlrdave/activiz-net-installers-featuring-vtk-510/backers</a><br>
>><br>
>> [2] <a href="http://review.source.kitware.com/#/t/1615/" target="_blank">http://review.source.kitware.com/#/t/1615/</a><br>
>><br>
>> [3] <a href="http://public.kitware.com/gitweb?p=activizdotnet.git" target="_blank">http://public.kitware.com/gitweb?p=activizdotnet.git</a><br>
>><br>
>><br>
>><br>
>> P.S. ---<br>
>><br>
>><br>
>> I would also like to point out that nowadays, you can simply build a<br>
>> managed-C++ project with VS 2012, and ?just link for free? to the native<br>
>> VTK C++ libraries. That doesn?t help folks using other .NET languages, but<br>
>> it is a nice feature of the modern C++ compiler from MS that you can link<br>
>> in both managed and un-managed code together. If you are starting a new<br>
>> Windows Forms application, consider using managed C++ as your language.<br>
>> -------------- next part --------------<br>
>> An HTML attachment was scrubbed...<br>
>> URL: <<br>
>> <a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130708/0cc105c5/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130708/0cc105c5/attachment-0001.htm</a><br>
>> ><br>
>><br>
>> ------------------------------<br>
>><br>
>> Message: 2<br>
>> Date: Mon, 8 Jul 2013 20:12:06 +0200<br>
>> From: rahul indoria <<a href="mailto:rahulindoria5@gmail.com" target="_blank">rahulindoria5@gmail.com</a>><br>
>> Subject: Re: [vtkusers] Regarding example VTKimagereslicemapper<br>
>> To: David Doria <<a href="mailto:daviddoria@gmail.com" target="_blank">daviddoria@gmail.com</a>>, "<a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>"<br>
>> <<a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>><br>
>> Message-ID:<br>
>> <CAGQ+16KkyGkkjmWQ86Xh5=<br>
>> <a href="mailto:VfUnbABFEquKOdKEDKfm9_F1eyaA@mail.gmail.com" target="_blank">VfUnbABFEquKOdKEDKfm9_F1eyaA@mail.gmail.com</a>><br>
>> Content-Type: text/plain; charset="iso-8859-1"<br>
>><br>
>> Hi,<br>
>> Could you please tell me, what are port index in VTK functions?<br>
>><br>
>><br>
>> On Mon, Jul 8, 2013 at 5:51 PM, David Doria <<a href="mailto:daviddoria@gmail.com" target="_blank">daviddoria@gmail.com</a>> wrote:<br>
>><br>
>> > In the future, please keep the conversation on the mailing list so that<br>
>> > everyone can participate/benefit from the discussion.<br>
>> ><br>
>> > I believe what you're seeing is a contrast adjustment mechanism (called<br>
>> > "window level events" -<br>
>> ><br>
>> <a href="http://www.vtk.org/doc/nightly/html/classvtkInteractorStyleImage.html#details" target="_blank">http://www.vtk.org/doc/nightly/html/classvtkInteractorStyleImage.html#details</a><br>
>> > ).<br>
>> ><br>
>> ><br>
>> > David<br>
>> ><br>
>> ><br>
>> > On Mon, Jul 8, 2013 at 11:48 AM, rahul indoria <<a href="mailto:rahulindoria5@gmail.com" target="_blank">rahulindoria5@gmail.com</a><br>
>> >wrote:<br>
>> ><br>
>> >> Hi David,<br>
>> >> I have one more question regarding this example, in the<br>
>> >> output of this example(<br>
>> >> <a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/ImageSliceMapper" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/ImageSliceMapper</a>), why<br>
>> >> we are getting different colors of the image, when i am left-clicking<br>
>> on<br>
>> >> the image and moving mouse up and down?<br>
>> >><br>
>> >> Looking forward your reply soon.<br>
>> >><br>
>> >><br>
>> >> rahul indoria<br>
>> >><br>
>> >><br>
>> >> On Mon, Jul 8, 2013 at 3:22 PM, David Doria <<a href="mailto:daviddoria@gmail.com" target="_blank">daviddoria@gmail.com</a>><br>
>> wrote:<br>
>> >><br>
>> >>> On Mon, Jul 8, 2013 at 9:05 AM, rahul indoria <<br>
>> <a href="mailto:rahulindoria5@gmail.com" target="_blank">rahulindoria5@gmail.com</a>>wrote:<br>
>> >>><br>
>> >>>> Hi,<br>
>> >>>> I was modifying this example:<br>
>> >>>> <a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/ImageSliceMapper" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/ImageSliceMapper</a><br>
>> >>>> in this example, i am deleting the object vtkImageSlice, and when i<br>
>> am<br>
>> >>>> putting the object "imageSliceMapper" i getting an error?<br>
>> >>>><br>
>> >>>> As vtkimageslice class used to represent an image in a 3D scene, i<br>
>> >>>> don`t want to display this in 3D scene, just want to display on the<br>
>> screen<br>
>> >>>> that`s why i am deleting this class, so why i am getting this error?<br>
>> >>>><br>
>> >>>> I modified this code like this :<br>
>> >>>><br>
>> >>><br>
>> >>> What do you want to do if not display the image? The problem is that<br>
>> you<br>
>> >>> can't call AddViewProp on a mapper - it has to be a vtkProp subclass<br>
>> >>> (like the vtkImageSlice was). In the future, please include the exact<br>
>> >>> error that you are getting.<br>
>> >>><br>
>> >>> David<br>
>> >>><br>
>> >><br>
>> >><br>
>> >><br>
>> >> --<br>
>> >> *Best Regards<br>
>> >> Rahul Indoria<br>
>> >> Mobile No: <a href="tel:%2B49-157-35652212" value="+4915735652212" target="_blank">+49-157-35652212</a>*<br>
>> >><br>
>> ><br>
>> ><br>
>><br>
>><br>
>> --<br>
>> *Best Regards<br>
>> Rahul Indoria<br>
>> Mobile No: <a href="tel:%2B49-157-35652212" value="+4915735652212" target="_blank">+49-157-35652212</a>*<br>
>> -------------- next part --------------<br>
>> An HTML attachment was scrubbed...<br>
>> URL: <<br>
>> <a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130708/8de03097/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130708/8de03097/attachment-0001.htm</a><br>
>> ><br>
>><br>
>> ------------------------------<br>
>><br>
>> Message: 3<br>
>> Date: Mon, 8 Jul 2013 15:44:56 -0700 (PDT)<br>
>> From: shinpei <<a href="mailto:noro_shinpei@web.de" target="_blank">noro_shinpei@web.de</a>><br>
>> Subject: [vtkusers] FindCell method of vtkCellLocator<br>
>> To: <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br>
>> Message-ID: <<a href="mailto:1373323496433-5721831.post@n5.nabble.com" target="_blank">1373323496433-5721831.post@n5.nabble.com</a>><br>
>> Content-Type: text/plain; charset=us-ascii<br>
>><br>
>> Hi,<br>
>><br>
>> I have two triangle cells in my vtkCellLocator and I create a little bb<br>
>> around a point of one triangle (see picture). Now I use FindCell(bb,<br>
>> idList)<br>
>> and I should get one id, but I get two. Is this a bug, or must I change<br>
>> something?<br>
>><br>
>> <<a href="http://vtk.1045678.n5.nabble.com/file/n5721831/Unbenannt.png" target="_blank">http://vtk.1045678.n5.nabble.com/file/n5721831/Unbenannt.png</a>><br>
>> - two trinagles (red)<br>
>> - bb (blue)<br>
>><br>
>> My code:<br>
>><br>
>> for (vtkIdType ptId = 0; ptId < geometry->GetNumberOfPoints(); ++ptId)<br>
>> {<br>
>> bounds[0] = trianglePoint[0] - 0.01;<br>
>> bounds[1] = trianglePoint[0] + 0.01;<br>
>> bounds[2] = trianglePoint[1] - 0.01;<br>
>> bounds[3] = trianglePoint[1] + 0.01;<br>
>> bounds[4] = trianglePoint[2] - 0.01;<br>
>> bounds[5] = trianglePoint[2] + 0.01;<br>
>><br>
>> cellLocator->FindCellsWithinBounds(bounds, foundCells);<br>
>><br>
>> int size = foundCells->GetNumberOfIds(); // is always two<br>
>> }<br>
>><br>
>><br>
>> Thx<br>
>><br>
>><br>
>><br>
>> --<br>
>> View this message in context:<br>
>> <a href="http://vtk.1045678.n5.nabble.com/FindCell-method-of-vtkCellLocator-tp5721831.html" target="_blank">http://vtk.1045678.n5.nabble.com/FindCell-method-of-vtkCellLocator-tp5721831.html</a><br>
>> Sent from the VTK - Users mailing list archive at Nabble.com.<br>
>><br>
>><br>
>> ------------------------------<br>
>><br>
>> Message: 4<br>
>> Date: Mon, 8 Jul 2013 19:00:25 -0700<br>
>> From: Alex Malyushytskyy <<a href="mailto:alexmalvtk@gmail.com" target="_blank">alexmalvtk@gmail.com</a>><br>
>> Subject: Re: [vtkusers] FindCell method of vtkCellLocator<br>
>> To: shinpei <<a href="mailto:noro_shinpei@web.de" target="_blank">noro_shinpei@web.de</a>><br>
>> Cc: VTK <<a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>><br>
>> Message-ID:<br>
>> <<br>
>> <a href="mailto:CAHR9pJ0m4dYdghFRjZ5Y6YffT23dv3Q%2BScsu4JEK8yMLQZ7rbg@mail.gmail.com" target="_blank">CAHR9pJ0m4dYdghFRjZ5Y6YffT23dv3Q+Scsu4JEK8yMLQZ7rbg@mail.gmail.com</a>><br>
>> Content-Type: text/plain; charset="iso-8859-1"<br>
>><br>
>> It is not clear that attached picture corresponds to your claims.<br>
>> There is no visible relation between trianglePoint and<br>
>> geometry->GetNumberOfPoints().<br>
>> Also for (vtkIdType ptId = 0; ptId < geometry->GetNumberOfPoints();<br>
>> ++ptId)<br>
>> loop does not make any sense cause nothing changes in the loop.<br>
>><br>
>> So I guess your trianglePoint is not what you think it is.<br>
>> For example if this point is shared by 2 triangles you will have the same<br>
>> effect.<br>
>> Another possible problem might be absolute value 0.1 used.<br>
>> For example your triangle may have size smaller than it, which will be a<br>
>> source of such effect too.<br>
>><br>
>> Your example is not complete , you could create much better example<br>
>> initializing all available variables so the behavior can be reproduced.<br>
>><br>
>> Alex<br>
>><br>
>><br>
>><br>
>> On Mon, Jul 8, 2013 at 3:44 PM, shinpei <<a href="mailto:noro_shinpei@web.de" target="_blank">noro_shinpei@web.de</a>> wrote:<br>
>><br>
>> > Hi,<br>
>> ><br>
>> > I have two triangle cells in my vtkCellLocator and I create a little bb<br>
>> > around a point of one triangle (see picture). Now I use FindCell(bb,<br>
>> > idList)<br>
>> > and I should get one id, but I get two. Is this a bug, or must I change<br>
>> > something?<br>
>> ><br>
>> > <<a href="http://vtk.1045678.n5.nabble.com/file/n5721831/Unbenannt.png" target="_blank">http://vtk.1045678.n5.nabble.com/file/n5721831/Unbenannt.png</a>><br>
>> > - two trinagles (red)<br>
>> > - bb (blue)<br>
>> ><br>
>> > My code:<br>
>> ><br>
>> > for (vtkIdType ptId = 0; ptId < geometry->GetNumberOfPoints();<br>
>> ++ptId)<br>
>> > {<br>
>> > bounds[0] = trianglePoint[0] - 0.01;<br>
>> > bounds[1] = trianglePoint[0] + 0.01;<br>
>> > bounds[2] = trianglePoint[1] - 0.01;<br>
>> > bounds[3] = trianglePoint[1] + 0.01;<br>
>> > bounds[4] = trianglePoint[2] - 0.01;<br>
>> > bounds[5] = trianglePoint[2] + 0.01;<br>
>> ><br>
>> > cellLocator->FindCellsWithinBounds(bounds, foundCells);<br>
>> ><br>
>> > int size = foundCells->GetNumberOfIds(); // is always two<br>
>> > }<br>
>> ><br>
>> ><br>
>> > Thx<br>
>> ><br>
>> ><br>
>> ><br>
>> > --<br>
>> > View this message in context:<br>
>> ><br>
>> <a href="http://vtk.1045678.n5.nabble.com/FindCell-method-of-vtkCellLocator-tp5721831.html" target="_blank">http://vtk.1045678.n5.nabble.com/FindCell-method-of-vtkCellLocator-tp5721831.html</a><br>
>> > Sent from the VTK - Users mailing list archive at Nabble.com.<br>
>> > _______________________________________________<br>
>> > Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>> ><br>
>> > Visit other Kitware open-source projects at<br>
>> > <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>> ><br>
>> > Please keep messages on-topic and check the VTK FAQ at:<br>
>> > <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
>> ><br>
>> > Follow this link to subscribe/unsubscribe:<br>
>> > <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
>> ><br>
>> -------------- next part --------------<br>
>> An HTML attachment was scrubbed...<br>
>> URL: <<br>
>> <a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130708/533f4d72/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130708/533f4d72/attachment-0001.htm</a><br>
>> ><br>
>><br>
>> ------------------------------<br>
>><br>
>> Message: 5<br>
>> Date: Mon, 8 Jul 2013 22:09:00 -0700 (PDT)<br>
>> From: mailagentrus <<a href="mailto:mailagentrus@mail.ru" target="_blank">mailagentrus@mail.ru</a>><br>
>> Subject: [vtkusers] VTK Stereo Rendering<br>
>> To: <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br>
>> Message-ID: <<a href="mailto:1373346540408-5721833.post@n5.nabble.com" target="_blank">1373346540408-5721833.post@n5.nabble.com</a>><br>
>> Content-Type: text/plain; charset=us-ascii<br>
>><br>
>> Hi! I want to add a stereo mode to my program. Program wil be show pairs<br>
>> of<br>
>> images image in stereo mode (with Nvidia 3d vision). I set up NVidia Qudro<br>
>> 410 and saw stereo mode with Polydata object with using Paraview.<br>
>> But, when I try to make own program i see inly the firs pair images in<br>
>> stereo mode, after that image in right eye does not update... Updates inly<br>
>> the left eye image.<br>
>> Help me, please!<br>
>><br>
>> Code:<br>
>><br>
>> #include <vtkPolyDataReader.h><br>
>> #include <vtkSmartPointer.h><br>
>> #include <vtkDataSetMapper.h><br>
>> #include <vtkActor.h><br>
>> #include <vtkRenderWindow.h><br>
>> #include <vtkRenderer.h><br>
>> #include <vtkRenderWindowInteractor.h><br>
>> #include <vtkCamera.h><br>
>> #include "vtkCommand.h"<br>
>> #include "vtkImageData.h"<br>
>> #include <vtkBMPReader.h><br>
>> #include <vtkImageViewer2.h><br>
>> #include <vtkImageActor.h><br>
>><br>
>> vtkSmartPointer<vtkBMPReader> readerR;<br>
>> vtkSmartPointer<vtkBMPReader> readerL;<br>
>> vtkSmartPointer<vtkImageViewer2> imageViewer;<br>
>><br>
>> class vtkTimerCallback : public vtkCommand<br>
>> {<br>
>> public:<br>
>> static vtkTimerCallback *New()<br>
>> {<br>
>> vtkTimerCallback *cb = new vtkTimerCallback;<br>
>> cb->TimerCount = 0;<br>
>> return cb;<br>
>> }<br>
>><br>
>> virtual void Execute(vtkObject *vtkNotUsed(caller), unsigned long<br>
>> eventId,<br>
>> void *vtkNotUsed(callData))<br>
>> {<br>
>> if (vtkCommand::TimerEvent == eventId)<br>
>> {<br>
>><br>
>> // for example name for left eye image is<br>
>> readerL->SetFileName ( "D:/1234/-40.bmp");<br>
>> readerL->Update();<br>
>><br>
>> // for example name for right eye image is<br>
>> readerR->SetFileName ( "D:/1234/40.bmp");<br>
>> readerR->Update();<br>
>><br>
>> imageViewer->SetInput(readerL->GetOutput());<br>
>> imageViewer->GetRenderWindow()->SetStereoTypeToLeft();<br>
>> imageViewer->GetRenderWindow()->Render();<br>
>> imageViewer->GetRenderer()->ResetCamera();<br>
>> imageViewer->GetRenderWindow()->Render();<br>
>><br>
>> imageViewer->GetRenderWindow()->StereoUpdate();<br>
>><br>
>> imageViewer->SetInput(readerL->GetOutput());<br>
>> imageViewer->GetRenderWindow()->SetStereoTypeToRight();<br>
>> imageViewer->GetRenderWindow()->Render();<br>
>> imageViewer->GetRenderer()->ResetCamera();<br>
>> imageViewer->GetRenderWindow()->Render();<br>
>><br>
>> imageViewer->GetRenderWindow()->StereoUpdate();<br>
>><br>
>> ++this->TimerCount;<br>
>> }<br>
>> cout << this->TimerCount << endl;<br>
>> }<br>
>><br>
>> private:<br>
>> int TimerCount;<br>
>><br>
>> };<br>
>><br>
>><br>
>> int main ( int argc, char *argv[] )<br>
>> {<br>
>> //Read the image<br>
>> readerL =<br>
>> vtkSmartPointer<vtkBMPReader>::New();<br>
>> readerL->SetFileName ( "D:/1234/-5.bmp");<br>
>> readerL->Update();<br>
>><br>
>> readerR =<br>
>> vtkSmartPointer<vtkBMPReader>::New();<br>
>> readerR->SetFileName ( "D:/1234/5.bmp");<br>
>> readerR->Update();<br>
>><br>
>> // Visualize<br>
>> imageViewer =<br>
>> vtkSmartPointer<vtkImageViewer2>::New();<br>
>><br>
>> vtkSmartPointer<vtkRenderWindowInteractor> renderWindowInteractor =<br>
>> vtkSmartPointer<vtkRenderWindowInteractor>::New();<br>
>> imageViewer->SetupInteractor(renderWindowInteractor);<br>
>><br>
>> imageViewer->GetRenderWindow()->SetSize( 800, 600 );<br>
>><br>
>> imageViewer->GetRenderWindow()->StereoCapableWindowOn();<br>
>> imageViewer->GetRenderWindow()->SetStereoTypeToCrystalEyes();<br>
>> imageViewer->GetRenderWindow()->SetStereoRender(1);<br>
>> imageViewer->GetRenderWindow()->StereoUpdate();<br>
>><br>
>> renderWindowInteractor->Initialize();<br>
>><br>
>> imageViewer->SetInput(readerBase->GetOutput());<br>
>> imageViewer->GetRenderWindow()->Render();<br>
>> imageViewer->GetRenderer()->ResetCamera();<br>
>> imageViewer->GetRenderWindow()->Render();<br>
>><br>
>> // Sign up to receive TimerEvent<br>
>> vtkSmartPointer<vtkTimerCallback> cb =<br>
>> vtkSmartPointer<vtkTimerCallback>::New();<br>
>> renderWindowInteractor->AddObserver(vtkCommand::TimerEvent, cb);<br>
>><br>
>> int timerId = renderWindowInteractor->CreateRepeatingTimer(100);<br>
>> std::cout << "timerId: " << timerId << std::endl;<br>
>><br>
>> renderWindowInteractor->Start();<br>
>><br>
>> return EXIT_SUCCESS;<br>
>> }<br>
>><br>
>><br>
>><br>
>><br>
>> --<br>
>> View this message in context:<br>
>> <a href="http://vtk.1045678.n5.nabble.com/VTK-Stereo-Rendering-tp5721833.html" target="_blank">http://vtk.1045678.n5.nabble.com/VTK-Stereo-Rendering-tp5721833.html</a><br>
>> Sent from the VTK - Users mailing list archive at Nabble.com.<br>
>><br>
>><br>
>> ------------------------------<br>
>><br>
>> Message: 6<br>
>> Date: Tue, 9 Jul 2013 14:08:36 +0800<br>
>> From: "hongsongyang" <<a href="mailto:hongsongyang@163.com" target="_blank">hongsongyang@163.com</a>><br>
>> Subject: [vtkusers] [vtkUsers] About Different RenderWindowInteractor<br>
>> To: <<a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>><br>
>> Message-ID: <D36F8CD489D643279CDEF9B7802D2D8F@WlfPC><br>
>> Content-Type: text/plain; charset="us-ascii"<br>
>><br>
>> Dear All:<br>
>><br>
>> I have several renders (e.g 4 render), and we could use SetViewport<br>
>> to<br>
>> display all of them in one RenderWindow.<br>
>><br>
>> My question is that could I set different interactor for each of the<br>
>> render?<br>
>><br>
>> For example, for render1, I only need zoom and ww/wl operation, but for<br>
>> render2, I need zoom, pan and rotate operation.<br>
>><br>
>><br>
>><br>
>> Thanks a lot.<br>
>><br>
>> Hongsongyang<br>
>><br>
>> -------------- next part --------------<br>
>> An HTML attachment was scrubbed...<br>
>> URL: <<br>
>> <a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130709/73d6e3a8/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130709/73d6e3a8/attachment-0001.htm</a><br>
>> ><br>
>><br>
>> ------------------------------<br>
>><br>
>> Message: 7<br>
>> Date: Mon, 8 Jul 2013 23:34:35 -0700<br>
>> From: Gideon Valch <<a href="mailto:gvalch1237@gmail.com" target="_blank">gvalch1237@gmail.com</a>><br>
>> Subject: [vtkusers] using vtkGL2PSExporter in python [ under<br>
>> pythonXY() ]<br>
>> To: <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br>
>> Message-ID:<br>
>> <<br>
>> <a href="mailto:CAEEGk3YCKrV6gQCtRoPXZZQXQ%2BQr7J%2BKPgK%2BzLAAeF2e6%2BKpgw@mail.gmail.com" target="_blank">CAEEGk3YCKrV6gQCtRoPXZZQXQ+Qr7J+KPgK+zLAAeF2e6+Kpgw@mail.gmail.com</a>><br>
>> Content-Type: text/plain; charset="iso-8859-1"<br>
>><br>
>> Hello,<br>
>><br>
>> I use pythonxy() as my platform for python supported vtk. Currently,<br>
>> I'm trying to export a vtk render window to post script using the sample<br>
>> code (at bottom) but I'm getting an error (see below). I suspect this<br>
>> relates to how pythonxy() is compiled. Can anyone suggest a workaround?<br>
>><br>
>> Thanks,<br>
>> GV<br>
>><br>
>> exporter = vtk.vtkGL2PSExporter()<br>
>> AttributeError: 'module' object has no attribute 'vtkGL2PSExporter'<br>
>><br>
>> ----------------------------<br>
>><br>
>> prefix="c:\\temp\\foo444"<br>
>> exporter = vtk.vtkGL2PSExporter()<br>
>> exporter.SetFilePrefix(prefix)<br>
>> exporter.SetFileFormatToSVG()<br>
>> exporter.SetRenderWindow(renWin)<br>
>> exporter.CompressOff()<br>
>> exporter.SetSortToOff()<br>
>> #exporter.DrawBackgroundOn()<br>
>> #exporter.Write3DPropsAsRasterImageOn()<br>
>> exporter.Write()<br>
>> -------------- next part --------------<br>
>> An HTML attachment was scrubbed...<br>
>> URL: <<br>
>> <a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130708/2dfee622/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130708/2dfee622/attachment-0001.htm</a><br>
>> ><br>
>><br>
>> ------------------------------<br>
>><br>
>> Message: 8<br>
>> Date: Tue, 9 Jul 2013 00:44:38 -0700 (PDT)<br>
>> From: Ruff <<a href="mailto:albin.nilsson@gmail.com" target="_blank">albin.nilsson@gmail.com</a>><br>
>> Subject: Re: [vtkusers] Help with image planes example<br>
>> To: <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br>
>> Message-ID: <<a href="mailto:1373355878399-5721836.post@n5.nabble.com" target="_blank">1373355878399-5721836.post@n5.nabble.com</a>><br>
>> Content-Type: text/plain; charset=us-ascii<br>
>><br>
>> Thank you!<br>
>> The problem is that when I tried with ImageData as input in<br>
>> volume16reader I<br>
>> got the error "Attempt to connect input port index 0 for an algorithm<br>
>> with 0<br>
>> input ports"<br>
>> Using ImageData as input directly to vtkImagePlaneWidget worked fine<br>
>> though,<br>
>> so I guess that solves it.<br>
>> (My VTK-programming right now is mostly trial and error along with trying<br>
>> to<br>
>> understand the different data structures and the pipeline)<br>
>><br>
>><br>
>><br>
>> --<br>
>> View this message in context:<br>
>> <a href="http://vtk.1045678.n5.nabble.com/Help-with-image-planes-example-tp5721813p5721836.html" target="_blank">http://vtk.1045678.n5.nabble.com/Help-with-image-planes-example-tp5721813p5721836.html</a><br>
>> Sent from the VTK - Users mailing list archive at Nabble.com.<br>
>><br>
>><br>
>> ------------------------------<br>
>><br>
>> Message: 9<br>
>> Date: Tue, 09 Jul 2013 11:23:11 +0200<br>
>> From: Umer Rafi <<a href="mailto:umer.rafi@rwth-aachen.de" target="_blank">umer.rafi@rwth-aachen.de</a>><br>
>> Subject: [vtkusers] adding texture to a wavefront .obj file in vtk<br>
>> To: <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br>
>> Message-ID: <<a href="mailto:fb959ae41b00e3.51dbf29f@rwth-aachen.de" target="_blank">fb959ae41b00e3.51dbf29f@rwth-aachen.de</a>><br>
>> Content-Type: text/plain; CHARSET=US-ASCII<br>
>><br>
>> Hello everyone,<br>
>><br>
>> I am new to vtk. I am having a wavefront file of a 3d human model.<br>
>> What I want to do is to render it using vtk and apply different textures to<br>
>> different parts of the 3d human model. For example I have a texture image<br>
>> containing a shirt that I want to apply to torso and arms only. Another<br>
>> one for jeans that I want to apply to legs and thighs only. I will really<br>
>> appreciate if anyone can provide a sample code snippet to get me started.<br>
>><br>
>><br>
>> thanks in advance.<br>
>><br>
>> Regards<br>
>> Umer<br>
>><br>
>><br>
>> ------------------------------<br>
>><br>
>> Message: 10<br>
>> Date: Tue, 9 Jul 2013 16:53:12 +0530<br>
>> From: "divya" <<a href="mailto:divya@triassicsolutions.com" target="_blank">divya@triassicsolutions.com</a>><br>
>> Subject: [vtkusers] Unexpected actor orientation results<br>
>> To: "Vtk Users" <<a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>><br>
>> Message-ID: <004201ce7c96$b5c358a0$214a09e0$@<a href="http://triassicsolutions.com" target="_blank">triassicsolutions.com</a>><br>
>> Content-Type: text/plain; charset="us-ascii"<br>
>><br>
>><br>
>><br>
>> Dear vtkUsers,<br>
>><br>
>> I am trying to find the orientation of an actor while I'm rotating it,<br>
>> the z<br>
>> and y are correct, but the value range for the x axis is [-90, 90],<br>
>> whereas<br>
>> the value range for z and y axis is [-180, 180].<br>
>><br>
>><br>
>><br>
>> Also the rotation doesn't happen in the chosen axis, for example when I<br>
>> chose to rotate the actor by 15 degrees on y-axis, the value of the z-axis<br>
>> increases.<br>
>><br>
>><br>
>><br>
>><br>
>><br>
>><br>
>><br>
>><br>
>><br>
>><br>
>> -------------- next part --------------<br>
>> An HTML attachment was scrubbed...<br>
>> URL: <<br>
>> <a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130709/3543ac30/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130709/3543ac30/attachment-0001.htm</a><br>
>> ><br>
>> -------------- next part --------------<br>
>> A non-text attachment was scrubbed...<br>
>> Name: not available<br>
>> Type: image/jpeg<br>
>> Size: 10515 bytes<br>
>> Desc: not available<br>
>> URL: <<br>
>> <a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130709/3543ac30/attachment-0002.jpeg" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130709/3543ac30/attachment-0002.jpeg</a><br>
>> ><br>
>> -------------- next part --------------<br>
>> A non-text attachment was scrubbed...<br>
>> Name: not available<br>
>> Type: image/jpeg<br>
>> Size: 13048 bytes<br>
>> Desc: not available<br>
>> URL: <<br>
>> <a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130709/3543ac30/attachment-0003.jpeg" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130709/3543ac30/attachment-0003.jpeg</a><br>
>> ><br>
>><br>
>> ------------------------------<br>
>><br>
>> Message: 11<br>
>> Date: Tue, 9 Jul 2013 05:23:41 -0700 (PDT)<br>
>> From: shinpei <<a href="mailto:noro_shinpei@web.de" target="_blank">noro_shinpei@web.de</a>><br>
>> Subject: Re: [vtkusers] FindCell method of vtkCellLocator<br>
>> To: <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br>
>> Message-ID: <<a href="mailto:1373372621955-5721840.post@n5.nabble.com" target="_blank">1373372621955-5721840.post@n5.nabble.com</a>><br>
>> Content-Type: text/plain; charset=us-ascii<br>
>><br>
>> Sry... I thought it would be clear what I mean.<br>
>><br>
>> The geometry contains two triangles:<br>
>> Points are:<br>
>> (0 0 0)<br>
>> (0 10 0)<br>
>> (10 0 0)<br>
>> (10 10 0)<br>
>><br>
>> with connection:<br>
>> (0 1 2)<br>
>> (1 2 3)<br>
>><br>
>> for (vtkIdType ptId = 0; ptId < geometry->GetNumberOfPoints();<br>
>> ++ptId)<br>
>> {<br>
>> geometry->getPoints()->GetPoint(ptId, trianglePoint);<br>
>><br>
>> bounds[0] = trianglePoint[0] - 0.01;<br>
>> bounds[1] = trianglePoint[0] + 0.01;<br>
>> bounds[2] = trianglePoint[1] - 0.01;<br>
>> bounds[3] = trianglePoint[1] + 0.01;<br>
>> bounds[4] = trianglePoint[2] - 0.01;<br>
>> bounds[5] = trianglePoint[2] + 0.01;<br>
>><br>
>> cellLocator->FindCellsWithinBounds(bounds, foundCells);<br>
>><br>
>> int size = foundCells->GetNumberOfIds(); // is always two<br>
>> }<br>
>><br>
>> The trianglePoint is e.g. (0 0 0) (first iteration of the loop) so I<br>
>> should<br>
>> get only one triangle, but I get always two triangles. The bb is small<br>
>> enough and there is a point which correspons to only one triangle.<br>
>><br>
>><br>
>><br>
>> --<br>
>> View this message in context:<br>
>> <a href="http://vtk.1045678.n5.nabble.com/FindCell-method-of-vtkCellLocator-tp5721831p5721840.html" target="_blank">http://vtk.1045678.n5.nabble.com/FindCell-method-of-vtkCellLocator-tp5721831p5721840.html</a><br>
>> Sent from the VTK - Users mailing list archive at Nabble.com.<br>
>><br>
>><br>
>> ------------------------------<br>
>><br>
>> Message: 12<br>
>> Date: Tue, 9 Jul 2013 15:43:23 +0300<br>
>> From: Haroon Showgan <<a href="mailto:haroon.showgan@gmail.com" target="_blank">haroon.showgan@gmail.com</a>><br>
>> Subject: [vtkusers] VTK application running on Linux loads VNC server<br>
>> To: <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br>
>> Message-ID:<br>
>> <CAJ=<br>
>> <a href="mailto:gTgXfT44oBK1Qz5idLBRDt0kdiZuLh0iA%2BmrtAChwR_-Pkw@mail.gmail.com" target="_blank">gTgXfT44oBK1Qz5idLBRDt0kdiZuLh0iA+mrtAChwR_-Pkw@mail.gmail.com</a>><br>
>> Content-Type: text/plain; charset="iso-8859-1"<br>
>><br>
>> Hi,<br>
>><br>
>> I'm implementing a VTK application for visualizing geometrical 3D objects.<br>
>> Most of the code is written in C++, and I use TCL-TK widgets for the GUI<br>
>> (I<br>
>> use *vtkTkRenderWidget* for the main canvas).<br>
>><br>
>> Most of my objects are *vtkVoxel* objects inserted into a *<br>
>> vtkUnstructuredGrid*.<br>
>><br>
>> I run this application on a Linux server and I connect to this server from<br>
>> Windows using VNC. I noticed that when I load a very large data set into<br>
>> the application then the *VNC server* (on the Linux machine) consumes a<br>
>> lot<br>
>> of memory and uses 100% CPU. I didn't realize that the memory and CPU<br>
>> usages of a VNC server would be affected so much like this.<br>
>><br>
>> Note that my VTK application is also consuming a lot of memory and CPU,<br>
>> but what I find strange is that the VNC server is also affected (the<br>
>> process is called *Xvnc_core*).<br>
>><br>
>> Does anyone know how this is caused and do you have any suggestion how to<br>
>> mitigate the problem?<br>
>><br>
>> Regards,<br>
>> Haroon<br>
>> -------------- next part --------------<br>
>> An HTML attachment was scrubbed...<br>
>> URL: <<br>
>> <a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130709/621fefc2/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130709/621fefc2/attachment-0001.htm</a><br>
>> ><br>
>><br>
>> ------------------------------<br>
>><br>
>> Message: 13<br>
>> Date: Tue, 9 Jul 2013 07:25:46 -0700 (PDT)<br>
>> From: Massinissa Bandou <Massinissa.Bandou@USherbrooke.ca><br>
>> Subject: [vtkusers] .RAW file<br>
>> To: <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br>
>> Message-ID: <<a href="mailto:1373379946181-5721842.post@n5.nabble.com" target="_blank">1373379946181-5721842.post@n5.nabble.com</a>><br>
>> Content-Type: text/plain; charset=us-ascii<br>
>><br>
>> Hello everyone,<br>
>><br>
>> I tried to read a (.raw) file with the following code but it displays a<br>
>> RED<br>
>> CUBE. Here is some information about my file dataInfo.txt<br>
>> <<a href="http://vtk.1045678.n5.nabble.com/file/n5721842/dataInfo.txt" target="_blank">http://vtk.1045678.n5.nabble.com/file/n5721842/dataInfo.txt</a>> . Is there<br>
>> something wrong in my code?<br>
>><br>
>> thx for your time and help!<br>
>><br>
>> sorry my file is too large to be send.<br>
>><br>
>> #include <vtkSmartPointer.h><br>
>> #include <vtkRenderWindow.h><br>
>> #include <vtkRenderWindowInteractor.h><br>
>> #include <vtkRenderer.h><br>
>> #include <vtkActor><br>
>> #include <vtkImageReader><br>
>> #include <vtkDataSetMapper><br>
>><br>
>> int main(int argc, char *argv[])<br>
>> {<br>
>> vtkImageReader *reader = vtkImageReader::New();<br>
>> reader->SetFileName(file.c_str());<br>
>> reader->SetFileDimensionality(3);<br>
>> reader->SetNumberOfScalarComponents(1);<br>
>> reader->SetDataExtent(0,512,0,512,0,512);<br>
>> reader->SetDataSpacing(0.145, 0.145, 0.145);<br>
>> reader->SetDataByteOrderToBigEndian();<br>
>> reader->SetDataScalarTypeToChar();<br>
>> reader->Update();<br>
>><br>
>> vtkSmartPointer<vtkDataSetMapper> map =<br>
>> vtkSmartPointer<vtkDataSetMapper>::New();<br>
>> map->SetInputConnection(reader->GetOutputPort());<br>
>><br>
>><br>
>> vtkSmartPointer<vtkActor> actor =<br>
>> vtkSmartPointer<vtkActor>::New();<br>
>> actor->SetMapper(map);<br>
>><br>
>> vtkSmartPointer<vtkRenderWindowInteractor> interactor =<br>
>> vtkSmartPointer<vtkRenderWindowInteractor>::New();<br>
>><br>
>> vtkSmartPointer<vtkRenderWindow> renderWindow =<br>
>> vtkSmartPointer<vtkRenderWindow>::New();<br>
>> interactor->SetRenderWindow(renderWindow);<br>
>> vtkSmartPointer<vtkRenderer> renderer =<br>
>> vtkSmartPointer<vtkRenderer>::New();<br>
>> renderWindow->AddRenderer(renderer);<br>
>> renderer->AddActor(actor);<br>
>><br>
>> renderWindow->Render();<br>
>> interactor->Start();<br>
>> }<br>
>><br>
>><br>
>><br>
>><br>
>> --<br>
>> View this message in context:<br>
>> <a href="http://vtk.1045678.n5.nabble.com/RAW-file-tp5721842.html" target="_blank">http://vtk.1045678.n5.nabble.com/RAW-file-tp5721842.html</a><br>
>> Sent from the VTK - Users mailing list archive at Nabble.com.<br>
>><br>
>><br>
>> ------------------------------<br>
>><br>
>> Message: 14<br>
>> Date: Tue, 9 Jul 2013 11:38:50 -0400<br>
>> From: Bill Lorensen <<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>><br>
>> Subject: Re: [vtkusers] .RAW file<br>
>> To: Massinissa Bandou <<a href="mailto:Massinissa.Bandou@usherbrooke.ca" target="_blank">Massinissa.Bandou@usherbrooke.ca</a>><br>
>> Cc: VTK Users <<a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>><br>
>> Message-ID:<br>
>> <<br>
>> <a href="mailto:CADZJ4hNXVuS_7L9ocCzex3XHpqyg5dpdKJ2NmxfQn_DnaSDp_Q@mail.gmail.com" target="_blank">CADZJ4hNXVuS_7L9ocCzex3XHpqyg5dpdKJ2NmxfQn_DnaSDp_Q@mail.gmail.com</a>><br>
>> Content-Type: text/plain; charset="iso-8859-1"<br>
>><br>
>> If your data is 512x512x512 then<br>
>> reader->SetDataExtent(0,512,0,512,0,512);<br>
>> should be:<br>
>> reader->SetDataExtent(0,511,0,511,0,511);<br>
>><br>
>> Also be certain you are setting the correct endianness.<br>
>><br>
>><br>
>> On Tue, Jul 9, 2013 at 10:25 AM, Massinissa Bandou <<br>
>> <a href="mailto:Massinissa.Bandou@usherbrooke.ca" target="_blank">Massinissa.Bandou@usherbrooke.ca</a>> wrote:<br>
>><br>
>> > Hello everyone,<br>
>> ><br>
>> > I tried to read a (.raw) file with the following code but it displays a<br>
>> RED<br>
>> > CUBE. Here is some information about my file dataInfo.txt<br>
>> > <<a href="http://vtk.1045678.n5.nabble.com/file/n5721842/dataInfo.txt" target="_blank">http://vtk.1045678.n5.nabble.com/file/n5721842/dataInfo.txt</a>> . Is<br>
>> there<br>
>> > something wrong in my code?<br>
>> ><br>
>> > thx for your time and help!<br>
>> ><br>
>> > sorry my file is too large to be send.<br>
>> ><br>
>> > #include <vtkSmartPointer.h><br>
>> > #include <vtkRenderWindow.h><br>
>> > #include <vtkRenderWindowInteractor.h><br>
>> > #include <vtkRenderer.h><br>
>> > #include <vtkActor><br>
>> > #include <vtkImageReader><br>
>> > #include <vtkDataSetMapper><br>
>> ><br>
>> > int main(int argc, char *argv[])<br>
>> > {<br>
>> > vtkImageReader *reader = vtkImageReader::New();<br>
>> > reader->SetFileName(file.c_str());<br>
>> > reader->SetFileDimensionality(3);<br>
>> > reader->SetNumberOfScalarComponents(1);<br>
>> > reader->SetDataExtent(0,512,0,512,0,512);<br>
>> > reader->SetDataSpacing(0.145, 0.145, 0.145);<br>
>> > reader->SetDataByteOrderToBigEndian();<br>
>> > reader->SetDataScalarTypeToChar();<br>
>> > reader->Update();<br>
>> ><br>
>> > vtkSmartPointer<vtkDataSetMapper> map =<br>
>> > vtkSmartPointer<vtkDataSetMapper>::New();<br>
>> > map->SetInputConnection(reader->GetOutputPort());<br>
>> ><br>
>> ><br>
>> > vtkSmartPointer<vtkActor> actor =<br>
>> vtkSmartPointer<vtkActor>::New();<br>
>> > actor->SetMapper(map);<br>
>> ><br>
>> > vtkSmartPointer<vtkRenderWindowInteractor> interactor =<br>
>> > vtkSmartPointer<vtkRenderWindowInteractor>::New();<br>
>> ><br>
>> > vtkSmartPointer<vtkRenderWindow> renderWindow =<br>
>> > vtkSmartPointer<vtkRenderWindow>::New();<br>
>> > interactor->SetRenderWindow(renderWindow);<br>
>> > vtkSmartPointer<vtkRenderer> renderer =<br>
>> > vtkSmartPointer<vtkRenderer>::New();<br>
>> > renderWindow->AddRenderer(renderer);<br>
>> > renderer->AddActor(actor);<br>
>> ><br>
>> > renderWindow->Render();<br>
>> > interactor->Start();<br>
>> > }<br>
>> ><br>
>> ><br>
>> ><br>
>> ><br>
>> > --<br>
>> > View this message in context:<br>
>> > <a href="http://vtk.1045678.n5.nabble.com/RAW-file-tp5721842.html" target="_blank">http://vtk.1045678.n5.nabble.com/RAW-file-tp5721842.html</a><br>
>> > Sent from the VTK - Users mailing list archive at Nabble.com.<br>
>> > _______________________________________________<br>
>> > Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>> ><br>
>> > Visit other Kitware open-source projects at<br>
>> > <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>> ><br>
>> > Please keep messages on-topic and check the VTK FAQ at:<br>
>> > <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
>> ><br>
>> > Follow this link to subscribe/unsubscribe:<br>
>> > <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
>> ><br>
>><br>
>><br>
>><br>
>> --<br>
>> Unpaid intern in BillsBasement at noware dot com<br>
>> -------------- next part --------------<br>
>> An HTML attachment was scrubbed...<br>
>> URL: <<br>
>> <a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130709/b188c2b1/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130709/b188c2b1/attachment-0001.htm</a><br>
>> ><br>
>><br>
>> ------------------------------<br>
>><br>
>> Message: 15<br>
>> Date: Tue, 9 Jul 2013 08:46:33 -0700 (PDT)<br>
>> From: Ruff <<a href="mailto:albin.nilsson@gmail.com" target="_blank">albin.nilsson@gmail.com</a>><br>
>> Subject: [vtkusers] My point cloud data won't display in the renderer.<br>
>> To: <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br>
>> Message-ID: <<a href="mailto:1373384793963-5721844.post@n5.nabble.com" target="_blank">1373384793963-5721844.post@n5.nabble.com</a>><br>
>> Content-Type: text/plain; charset=us-ascii<br>
>><br>
>> All i get is an empty renderWindow. I get no errors, but no data is<br>
>> rendered<br>
>> either. What am I doing wrong?<br>
>><br>
>> What I do is pretty much this:<br>
>><br>
>> AtomGrid=vtk.vtkUnstructuredGrid()<br>
>> AtomGrid.SetPoints( vtkPoints with [index,x,y,z] )<br>
>> AtomGrid.GetPointData().SetScalars( vtkFloatArray with [index, scalar]<br>
>> )<br>
>><br>
>> volMapper = vtk.vtkUnstructuredGridVolumeRayCastMapper()<br>
>> volMapper.SetBlendModeToComposite()<br>
>> volMapper.SetInput(AtomGrid)<br>
>><br>
>><br>
>> I tried volMapper.SetScalarModeToUsePointFieldData(), but then it claims<br>
>> that I have no scalar values to use(!!)<br>
>><br>
>> (I cheated before, and was satisfied using ImageData for this, but now I<br>
>> really need to get this to work with UnstructuredGrid)<br>
>><br>
>><br>
>><br>
>> --<br>
>> View this message in context:<br>
>> <a href="http://vtk.1045678.n5.nabble.com/My-point-cloud-data-won-t-display-in-the-renderer-tp5721844.html" target="_blank">http://vtk.1045678.n5.nabble.com/My-point-cloud-data-won-t-display-in-the-renderer-tp5721844.html</a><br>
>> Sent from the VTK - Users mailing list archive at Nabble.com.<br>
>><br>
>><br>
>> ------------------------------<br>
>><br>
>> _______________________________________________<br>
>> vtkusers mailing list<br>
>> <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br>
>> <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
>><br>
>><br>
>> End of vtkusers Digest, Vol 111, Issue 16<br>
>> *****************************************<br>
>><br>
><br>
><br>
><br>
> --<br>
> *Best Regards<br>
> Rahul Indoria<br>
> Mobile No: <a href="tel:%2B49-157-35652212" value="+4915735652212" target="_blank">+49-157-35652212</a>*<br>
><br>
> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Please keep messages on-topic and check the VTK FAQ at:<br>
> <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
><br>
><br>
<br>
<br>
--<br>
Unpaid intern in BillsBasement at noware dot com<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130709/e6f9bcc4/attachment.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130709/e6f9bcc4/attachment.htm</a>><br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
vtkusers mailing list<br>
<a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br>
<br>
End of vtkusers Digest, Vol 111, Issue 17<br>
*****************************************<span><font color="#888888"><br>
</font></span></blockquote></div><span><font color="#888888"><br><br clear="all"><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br><div dir="ltr"><span style="color:rgb(0,0,255)"><b>Best Regards<br>Rahul Indoria<br>
Mobile No: <a href="tel:%2B49-157-35652212" value="+4915735652212" target="_blank">+49-157-35652212</a></b></span><br>
</div>
</font></span></font></span></div></div></div><span class="HOEnZb"><font color="#888888">
</font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><span style="color:rgb(0,0,255)"><b>Best Regards<br>Rahul Indoria<br>Mobile No: <a href="tel:%2B49-157-35652212" value="+4915735652212" target="_blank">+49-157-35652212</a></b></span><br>
</div>
</font></span></div></div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div>