<div dir="ltr">Hi,<div style>   I want to use the application of example (<a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/ImageSliceMapper">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/ImageSliceMapper</a>) in example  (<a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/CurvedReformation">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/CurvedReformation</a>) but when i trying to modifying this, i am getting certain errors. I am attaching my modifying code with this mail, could you please tell me the mistakes which i am doing in that.</div>
<div style><br></div><div style>Looking forward your reply soon.</div><div style><br></div><div style>rahul indoria</div><div style><br></div><div style><br></div><div style><br></div><div style><br></div><div style><br></div>
<div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 4, 2013 at 6:00 PM,  <span dir="ltr">&lt;<a href="mailto:vtkusers-request@vtk.org" target="_blank">vtkusers-request@vtk.org</a>&gt;</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 &#39;help&#39; 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 &quot;Re: Contents of vtkusers digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
   1. How do I render a volume from an UnstructuredGrid? (Ruff)<br>
   2. Re: vtkButtonSource?vtkRectangularButtonSource<br>
      ?vtkEllipticalButtonSource (louiskoo)<br>
   3. Re: Problem in an example (Shawn Waldon)<br>
   4. Re: Contouring Irregular Points (David E DeMarle)<br>
   5. Re: Contouring Irregular Points (Michael Jackson)<br>
   6. Re: Contouring Irregular Points (David E DeMarle)<br>
   7. Re: How do I render a volume from an UnstructuredGrid? (Ruff)<br>
   8. How to use vtkButtonWidget.AddObserver() (louiskoo)<br>
   9. Re: vtkButtonSource?vtkRectangularButtonSource<br>
      ?vtkEllipticalButtonSource (mirko heuegger)<br>
  10. Vtk 6.0 dotnet (Domenico Quaranta)<br>
  11. Is it possible to make an image slice of unstructured     grid? (Ruff)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Thu, 4 Jul 2013 06:21:02 -0700 (PDT)<br>
From: Ruff &lt;<a href="mailto:albin.nilsson@gmail.com" target="_blank">albin.nilsson@gmail.com</a>&gt;<br>
Subject: [vtkusers] How do I render a volume from an UnstructuredGrid?<br>
To: <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br>
Message-ID: &lt;<a href="mailto:1372944062789-5721766.post@n5.nabble.com" target="_blank">1372944062789-5721766.post@n5.nabble.com</a>&gt;<br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
I&#39;ve created an unstructured grid and would like to volume render it&#39;s scalar<br>
values, but nothing is rendered.<br>
It seems like it is calculating the space I&#39;ve specified but I cannot see<br>
anything. Like I&#39;m missing some small obvious thing.<br>
<br>
I also tried setting a function to the mapper (Not that I know exactly what<br>
it does) but it doesn&#39;t seem to do anything.<br>
<br>
/I know that my current dataset could easily be used as structuredPoints,<br>
but I am planning to use a more arbitrary structure for the datafiles./<br>
<br>
The code is as follows:<br>
#!/usr/bin/env python<br>
<br>
import math<br>
from random import*<br>
from vtk import*<br>
<br>
#------------------------------------------------------------------#<br>
# Just generating a pretty pattern                                 #<br>
#------------------------------------------------------------------#<br>
cubeSize = 40<br>
atomIndex = 0<br>
coordinates = vtk.vtkPoints()<br>
scalars = vtk.vtkFloatArray()<br>
<br>
for z in range(0,cubeSize):<br>
        for y in range(0,cubeSize):<br>
                for x in range(0,cubeSize):<br>
                        distX = abs(cubeSize/2 - x)<br>
                        distY = abs(cubeSize/2 - y)<br>
                        distZ = abs(cubeSize/2 - z)<br>
                        dist = math.sqrt(distX*distX + distY*distY + distZ*distZ)<br>
<br>
                        coordinates.InsertPoint(atomIndex, x, y, z)<br>
                        scalars.InsertValue(atomIndex, abs(math.cos(dist*.1)*255))<br>
#------------------------------------------------------------------#<br>
# Done generating pretty pattern                                   #<br>
#------------------------------------------------------------------#<br>
<br>
#Setting up scalar grid<br>
ScalarGrid = vtk.vtkUnstructuredGrid()<br>
ScalarGrid.SetPoints(coordinates)<br>
ScalarGrid.GetPointData().SetScalars(scalars)<br>
<br>
#------------------------------------------------------------------#<br>
# Fixing a bunch of volume properties                              #<br>
#------------------------------------------------------------------#<br>
# Scalars (0-255) mapped to transparency<br>
opacity = vtk.vtkPiecewiseFunction()<br>
opacity.AddPoint(150, 0)<br>
opacity.AddPoint(255, 1)<br>
<br>
# Scalars (0-255) mapped to colors<br>
colors = vtk.vtkColorTransferFunction()<br>
colors.AddRGBPoint(0,1,1,1)<br>
colors.AddRGBPoint(230,0,1,0)<br>
colors.AddRGBPoint(250,1,0,0)<br>
<br>
# Colors and opacity goes into a property, along with some fancy stuff<br>
volumeProperty = vtk.vtkVolumeProperty()<br>
volumeProperty.SetColor(colors)<br>
volumeProperty.SetScalarOpacity(opacity)<br>
volumeProperty.ShadeOn()<br>
volumeProperty.SetInterpolationTypeToLinear()<br>
<br>
#------------------------------------------------------------------#<br>
# End of volume properties                                         #<br>
#------------------------------------------------------------------#<br>
<br>
# Mapping the grid<br>
volumeMapper = vtkUnstructuredGridVolumeRayCastMapper()<br>
volumeMapper.SetInput(ScalarGrid)<br>
#This seems to do nothing at all<br>
Function = vtk.vtkUnstructuredGridBunykRayCastFunction()<br>
volumeMapper.SetRayCastFunction(Function)<br>
<br>
# Volume using the mapper<br>
volume = vtk.vtkVolume()<br>
volume.SetMapper(volumeMapper)<br>
volume.SetProperty(volumeProperty)<br>
<br>
# Standard renderer, render window and interactor<br>
ren = vtk.vtkRenderer()<br>
ren.AddVolume(volume)<br>
ren.SetBackground(1, 1, 1)<br>
<br>
# =======THIS IS WRITTEN ONLY TO SEE THAT SOMETHING IS RENDERED=======<br>
cylinder = vtkCylinderSource()<br>
cylinderMapper = vtkPolyDataMapper()<br>
cylinderMapper.SetInput(cylinder.GetOutput())<br>
cylinderActor = vtkActor()<br>
cylinderActor.SetMapper(cylinderMapper)<br>
ren.AddActor(cylinderActor)<br>
# =====================================================================<br>
<br>
renWin = vtk.vtkRenderWindow()<br>
renWin.AddRenderer(ren)<br>
renWin.SetSize(600, 600)<br>
<br>
iren = vtk.vtkRenderWindowInteractor()<br>
iren.SetRenderWindow(renWin)<br>
iren.Initialize()<br>
iren.Start()<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/How-do-I-render-a-volume-from-an-UnstructuredGrid-tp5721766.html" target="_blank">http://vtk.1045678.n5.nabble.com/How-do-I-render-a-volume-from-an-UnstructuredGrid-tp5721766.html</a><br>


Sent from the VTK - Users mailing list archive at Nabble.com.<br>
<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Thu, 4 Jul 2013 06:28:47 -0700 (PDT)<br>
From: louiskoo &lt;<a href="mailto:419655660@qq.com" target="_blank">419655660@qq.com</a>&gt;<br>
Subject: Re: [vtkusers] vtkButtonSource?vtkRectangularButtonSource<br>
        ?vtkEllipticalButtonSource<br>
To: <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br>
Message-ID: &lt;<a href="mailto:1372944527281-5721767.post@n5.nabble.com" target="_blank">1372944527281-5721767.post@n5.nabble.com</a>&gt;<br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
Yes,I have taken your suggstion.<br>
<br>
  vtkButtonWidget buttonWidget = vtkButtonWidget.New();<br>
            vtkRenderWindowInteractor renderInteractor =<br>
renderWindowControl1.RenderWindow.GetInteractor();<br>
            renderInteractor.LeftButtonPressEvt += new<br>
vtkObject.vtkObjectEventHandler(renderInteractor_LeftButtonPressEvt);<br>
            buttonWidget.SetInteractor(renderInteractor);<br>
            buttonWidget.SetRepresentation(rep);<br>
            //buttonWidget.LeftButtonPressEvt += new<br>
vtkObject.vtkObjectEventHandler(buttonWidget_LeftButtonPressEvt);<br>
            buttonWidget.On();<br>
<br>
But the result is that the buttonWidget has no effect when I click the<br>
buttonWidget .<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/vtkButtonSource-vtkRectangularButtonSource-vtkEllipticalButtonSource-tp5721752p5721767.html" target="_blank">http://vtk.1045678.n5.nabble.com/vtkButtonSource-vtkRectangularButtonSource-vtkEllipticalButtonSource-tp5721752p5721767.html</a><br>


Sent from the VTK - Users mailing list archive at Nabble.com.<br>
<br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Thu, 4 Jul 2013 09:29:14 -0400<br>
From: Shawn Waldon &lt;<a href="mailto:swaldon@cs.unc.edu" target="_blank">swaldon@cs.unc.edu</a>&gt;<br>
Subject: Re: [vtkusers] Problem in an example<br>
To: rahul indoria &lt;<a href="mailto:rahulindoria5@gmail.com" target="_blank">rahulindoria5@gmail.com</a>&gt;<br>
Cc: &quot;<a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>&quot; &lt;<a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>&gt;<br>
Message-ID:<br>
        &lt;CAKqg6a5sy8M=BsiA=<a href="mailto:L8TiGzOsAr-wK_NEVzxmPB6HwkCC8L8Ng@mail.gmail.com" target="_blank">L8TiGzOsAr-wK_NEVzxmPB6HwkCC8L8Ng@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
Rahul,<br>
<br>
It looks like you may be building against an older version of VTK.<br>
 SetInputData was not added until VTK 6, so if you are using VTK 5 (or<br>
accidentally using the wrong header files), that is why you are getting the<br>
message.  If you just want to modify the code, you could change it to<br>
SetInput instead (the VTK 5 and previous method used for the same purpose).<br>
 The methods are slightly different (see<br>
<a href="http://www.vtk.org/Wiki/VTK/VTK_6_Migration/Replacement_of_SetInput" target="_blank">http://www.vtk.org/Wiki/VTK/VTK_6_Migration/Replacement_of_SetInput</a>), but<br>
for the purposes of this example they are the same.<br>
<br>
HTH,<br>
<br>
Shawn<br>
<br>
<br>
On Thu, Jul 4, 2013 at 8:58 AM, rahul indoria &lt;<a href="mailto:rahulindoria5@gmail.com" target="_blank">rahulindoria5@gmail.com</a>&gt;wrote:<br>
<br>
&gt; Hi,<br>
&gt;     when i am running this code, this example(<br>
&gt; <a href="http://vtk.org/gitweb?p=VTK.git;a=blob_plain;f=Examples/DataManipulation/Cxx/Arrays.cxx" target="_blank">http://vtk.org/gitweb?p=VTK.git;a=blob_plain;f=Examples/DataManipulation/Cxx/Arrays.cxx</a><br>
&gt;  ) *showing an error :  &#39;SetInputData&#39;* : is not a member of<br>
&gt; &#39;vtkPolyDataMapper&#39;, but when i am checking this class, this class has this<br>
&gt; member function, could you please tell me, why i am getting this  example?<br>
&gt;<br>
&gt;<br>
&gt; Looking forward your reply.<br>
&gt; rahul indoria<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
<br>
<br>
--<br>
Shawn Waldon<br>
Graduate Student<br>
Department of Computer Science<br>
University of North Carolina at Chapel Hill<br>
<a href="mailto:swaldon@cs.unc.edu" target="_blank">swaldon@cs.unc.edu</a><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: &lt;<a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130704/42a9508f/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130704/42a9508f/attachment-0001.htm</a>&gt;<br>


<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Thu, 4 Jul 2013 09:53:49 -0400<br>
From: David E DeMarle &lt;<a href="mailto:dave.demarle@kitware.com" target="_blank">dave.demarle@kitware.com</a>&gt;<br>
Subject: Re: [vtkusers] Contouring Irregular Points<br>
To: Michael Jackson &lt;<a href="mailto:mike.jackson@bluequartz.net" target="_blank">mike.jackson@bluequartz.net</a>&gt;<br>
Cc: &quot;<a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>&quot; &lt;<a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>&gt;<br>
Message-ID:<br>
        &lt;<a href="mailto:CANjZAi-7DJaKp7G6eWSynHP8tv06NWXapn1HOKEtqoZHuhOJKw@mail.gmail.com" target="_blank">CANjZAi-7DJaKp7G6eWSynHP8tv06NWXapn1HOKEtqoZHuhOJKw@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
pointset-&gt;delauney-&gt;contour<br>
<br>
David E DeMarle<br>
Kitware, Inc.<br>
R&amp;D Engineer<br>
21 Corporate Drive<br>
Clifton Park, NY 12065-8662<br>
Phone: <a href="tel:518-881-4909" value="+15188814909" target="_blank">518-881-4909</a><br>
<br>
<br>
On Thu, Jul 4, 2013 at 8:06 AM, Michael Jackson &lt;<a href="mailto:mike.jackson@bluequartz.net" target="_blank">mike.jackson@bluequartz.net</a><br>
&gt; wrote:<br>
<br>
&gt; Can VTK create a contour plot of &quot;irregular&quot; points? What I mean is that I<br>
&gt; have a bunch of X,Y + intensity points but the X,Y points are NOT on a<br>
&gt; regular grid they are just &quot;Point Data&quot;. A collaborator of mine uses IDL to<br>
&gt; produce some plots from this data and I would like to use VTK for my own<br>
&gt; projects.<br>
&gt;<br>
&gt; Thanks for any help.<br>
&gt; ___________________________________________________________<br>
&gt; Mike Jackson                    Principal Software Engineer<br>
&gt; BlueQuartz Software                            Dayton, Ohio<br>
&gt; <a href="mailto:mike.jackson@bluequartz.net" target="_blank">mike.jackson@bluequartz.net</a>              <a href="http://www.bluequartz.net" target="_blank">www.bluequartz.net</a><br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at<br>
&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the VTK FAQ at:<br>
&gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
&gt;<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: &lt;<a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130704/42dede44/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130704/42dede44/attachment-0001.htm</a>&gt;<br>


<br>
------------------------------<br>
<br>
Message: 5<br>
Date: Thu, 4 Jul 2013 09:56:03 -0400<br>
From: Michael Jackson &lt;<a href="mailto:mike.jackson@bluequartz.net" target="_blank">mike.jackson@bluequartz.net</a>&gt;<br>
Subject: Re: [vtkusers] Contouring Irregular Points<br>
To: &quot;<a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>&quot; &lt;<a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>&gt;<br>
Message-ID: &lt;<a href="mailto:B3832DE6-FA1D-463A-AED1-38D8FCE74818@bluequartz.net" target="_blank">B3832DE6-FA1D-463A-AED1-38D8FCE74818@bluequartz.net</a>&gt;<br>
Content-Type: text/plain; charset=iso-8859-1<br>
<br>
Is that available in ParaView by any chance?<br>
___________________________________________________________<br>
Mike Jackson                    Principal Software Engineer<br>
<br>
<br>
On Jul 4, 2013, at 9:53 AM, David E DeMarle &lt;<a href="mailto:dave.demarle@kitware.com" target="_blank">dave.demarle@kitware.com</a>&gt; wrote:<br>
<br>
&gt; pointset-&gt;delauney-&gt;contour<br>
&gt;<br>
&gt; David E DeMarle<br>
&gt; Kitware, Inc.<br>
&gt; R&amp;D Engineer<br>
&gt; 21 Corporate Drive<br>
&gt; Clifton Park, NY 12065-8662<br>
&gt; Phone: <a href="tel:518-881-4909" value="+15188814909" target="_blank">518-881-4909</a><br>
&gt;<br>
&gt;<br>
&gt; On Thu, Jul 4, 2013 at 8:06 AM, Michael Jackson &lt;<a href="mailto:mike.jackson@bluequartz.net" target="_blank">mike.jackson@bluequartz.net</a>&gt; wrote:<br>
&gt; Can VTK create a contour plot of &quot;irregular&quot; points? What I mean is that I have a bunch of X,Y + intensity points but the X,Y points are NOT on a regular grid they are just &quot;Point Data&quot;. A collaborator of mine uses IDL to produce some plots from this data and I would like to use VTK for my own projects.<br>


&gt;<br>
&gt; Thanks for any help.<br>
&gt; ___________________________________________________________<br>
&gt; Mike Jackson                    Principal Software Engineer<br>
&gt; BlueQuartz Software                            Dayton, Ohio<br>
&gt; <a href="mailto:mike.jackson@bluequartz.net" target="_blank">mike.jackson@bluequartz.net</a>              <a href="http://www.bluequartz.net" target="_blank">www.bluequartz.net</a><br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; 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>
&gt;<br>
&gt; 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>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
&gt;<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 6<br>
Date: Thu, 4 Jul 2013 09:59:59 -0400<br>
From: David E DeMarle &lt;<a href="mailto:dave.demarle@kitware.com" target="_blank">dave.demarle@kitware.com</a>&gt;<br>
Subject: Re: [vtkusers] Contouring Irregular Points<br>
To: Michael Jackson &lt;<a href="mailto:mike.jackson@bluequartz.net" target="_blank">mike.jackson@bluequartz.net</a>&gt;<br>
Cc: &quot;<a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>&quot; &lt;<a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>&gt;<br>
Message-ID:<br>
        &lt;<a href="mailto:CANjZAi8xqxORavJR%2BMaXzeNWEBDaTYfEAZgO5u3RLRBSwZAF8Q@mail.gmail.com" target="_blank">CANjZAi8xqxORavJR+MaXzeNWEBDaTYfEAZgO5u3RLRBSwZAF8Q@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
yes<br>
<br>
David E DeMarle<br>
Kitware, Inc.<br>
R&amp;D Engineer<br>
21 Corporate Drive<br>
Clifton Park, NY 12065-8662<br>
Phone: <a href="tel:518-881-4909" value="+15188814909" target="_blank">518-881-4909</a><br>
<br>
<br>
On Thu, Jul 4, 2013 at 9:56 AM, Michael Jackson &lt;<a href="mailto:mike.jackson@bluequartz.net" target="_blank">mike.jackson@bluequartz.net</a><br>
&gt; wrote:<br>
<br>
&gt; Is that available in ParaView by any chance?<br>
&gt; ___________________________________________________________<br>
&gt; Mike Jackson                    Principal Software Engineer<br>
&gt;<br>
&gt;<br>
&gt; On Jul 4, 2013, at 9:53 AM, David E DeMarle &lt;<a href="mailto:dave.demarle@kitware.com" target="_blank">dave.demarle@kitware.com</a>&gt;<br>
&gt; wrote:<br>
&gt;<br>
&gt; &gt; pointset-&gt;delauney-&gt;contour<br>
&gt; &gt;<br>
&gt; &gt; David E DeMarle<br>
&gt; &gt; Kitware, Inc.<br>
&gt; &gt; R&amp;D Engineer<br>
&gt; &gt; 21 Corporate Drive<br>
&gt; &gt; Clifton Park, NY 12065-8662<br>
&gt; &gt; Phone: <a href="tel:518-881-4909" value="+15188814909" target="_blank">518-881-4909</a><br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; On Thu, Jul 4, 2013 at 8:06 AM, Michael Jackson &lt;<br>
&gt; <a href="mailto:mike.jackson@bluequartz.net" target="_blank">mike.jackson@bluequartz.net</a>&gt; wrote:<br>
&gt; &gt; Can VTK create a contour plot of &quot;irregular&quot; points? What I mean is that<br>
&gt; I have a bunch of X,Y + intensity points but the X,Y points are NOT on a<br>
&gt; regular grid they are just &quot;Point Data&quot;. A collaborator of mine uses IDL to<br>
&gt; produce some plots from this data and I would like to use VTK for my own<br>
&gt; projects.<br>
&gt; &gt;<br>
&gt; &gt; Thanks for any help.<br>
&gt; &gt; ___________________________________________________________<br>
&gt; &gt; Mike Jackson                    Principal Software Engineer<br>
&gt; &gt; BlueQuartz Software                            Dayton, Ohio<br>
&gt; &gt; <a href="mailto:mike.jackson@bluequartz.net" target="_blank">mike.jackson@bluequartz.net</a>              <a href="http://www.bluequartz.net" target="_blank">www.bluequartz.net</a><br>
&gt; &gt;<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt; &gt;<br>
&gt; &gt; Visit other Kitware open-source projects at<br>
&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt; &gt;<br>
&gt; &gt; Please keep messages on-topic and check the VTK FAQ at:<br>
&gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt; &gt;<br>
&gt; &gt; Follow this link to subscribe/unsubscribe:<br>
&gt; &gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
&gt; &gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at<br>
&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the VTK FAQ at:<br>
&gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
&gt;<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: &lt;<a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130704/372d753c/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130704/372d753c/attachment-0001.htm</a>&gt;<br>


<br>
------------------------------<br>
<br>
Message: 7<br>
Date: Thu, 4 Jul 2013 07:01:04 -0700 (PDT)<br>
From: Ruff &lt;<a href="mailto:albin.nilsson@gmail.com" target="_blank">albin.nilsson@gmail.com</a>&gt;<br>
Subject: Re: [vtkusers] How do I render a volume from an<br>
        UnstructuredGrid?<br>
To: <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br>
Message-ID: &lt;<a href="mailto:1372946464751-5721772.post@n5.nabble.com" target="_blank">1372946464751-5721772.post@n5.nabble.com</a>&gt;<br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
I just noticed that in creating the unstructuredgrid, i do not count up the<br>
atomIndex in the writing loop (missing a &#39;atomIndex = atomIndex + 1&#39;).<br>
Fixing this does not solve my problem though.<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/How-do-I-render-a-volume-from-an-UnstructuredGrid-tp5721766p5721772.html" target="_blank">http://vtk.1045678.n5.nabble.com/How-do-I-render-a-volume-from-an-UnstructuredGrid-tp5721766p5721772.html</a><br>


Sent from the VTK - Users mailing list archive at Nabble.com.<br>
<br>
<br>
------------------------------<br>
<br>
Message: 8<br>
Date: Thu, 4 Jul 2013 07:14:05 -0700 (PDT)<br>
From: louiskoo &lt;<a href="mailto:419655660@qq.com" target="_blank">419655660@qq.com</a>&gt;<br>
Subject: [vtkusers] How to use vtkButtonWidget.AddObserver()<br>
To: <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br>
Message-ID: &lt;<a href="mailto:1372947245702-5721774.post@n5.nabble.com" target="_blank">1372947245702-5721774.post@n5.nabble.com</a>&gt;<br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
anyone can give me some ideas?<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/How-to-use-vtkButtonWidget-AddObserver-tp5721774.html" target="_blank">http://vtk.1045678.n5.nabble.com/How-to-use-vtkButtonWidget-AddObserver-tp5721774.html</a><br>


Sent from the VTK - Users mailing list archive at Nabble.com.<br>
<br>
<br>
------------------------------<br>
<br>
Message: 9<br>
Date: Thu, 4 Jul 2013 16:19:07 +0200<br>
From: mirko heuegger &lt;<a href="mailto:mheuegger@gmail.com" target="_blank">mheuegger@gmail.com</a>&gt;<br>
Subject: Re: [vtkusers] vtkButtonSource?vtkRectangularButtonSource<br>
        ?vtkEllipticalButtonSource<br>
To: louiskoo &lt;<a href="mailto:419655660@qq.com" target="_blank">419655660@qq.com</a>&gt;<br>
Cc: vtkusers &lt;<a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>&gt;<br>
Message-ID:<br>
        &lt;CACR=3K4tBiyeSpnC1PfVtf=jCqaNmHEU9cyOWCkxJrw1Hh=<a href="mailto:YqA@mail.gmail.com" target="_blank">YqA@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
Hello!<br>
<br>
If I extend my mentioned example (&#39;Form1.cs&#39;) by:<br>
this.buttonWidget = vtkButtonWidget.New();<br>
iren.LeftButtonPressEvt += new vtkObject.vtkObjectEventHandler(dummyEvnt);<br>
this.buttonWidget.SetInteractor(this.RendWinInteractor);<br>
this.buttonWidget.On();<br>
and the event will fired, so I guess your snippet is working and the error<br>
is located elsewhere.<br>
<br>
<br>
regards<br>
<br>
mirko<br>
<br>
<br>
<br>
On Thu, Jul 4, 2013 at 3:28 PM, louiskoo &lt;<a href="mailto:419655660@qq.com" target="_blank">419655660@qq.com</a>&gt; wrote:<br>
<br>
&gt; Yes,I have taken your suggstion.<br>
&gt;<br>
&gt;   vtkButtonWidget buttonWidget = vtkButtonWidget.New();<br>
&gt;             vtkRenderWindowInteractor renderInteractor =<br>
&gt; renderWindowControl1.RenderWindow.GetInteractor();<br>
&gt;             renderInteractor.LeftButtonPressEvt += new<br>
&gt; vtkObject.vtkObjectEventHandler(renderInteractor_LeftButtonPressEvt);<br>
&gt;             buttonWidget.SetInteractor(renderInteractor);<br>
&gt;             buttonWidget.SetRepresentation(rep);<br>
&gt;             //buttonWidget.LeftButtonPressEvt += new<br>
&gt; vtkObject.vtkObjectEventHandler(buttonWidget_LeftButtonPressEvt);<br>
&gt;             buttonWidget.On();<br>
&gt;<br>
&gt; But the result is that the buttonWidget has no effect when I click the<br>
&gt; buttonWidget .<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; View this message in context:<br>
&gt; <a href="http://vtk.1045678.n5.nabble.com/vtkButtonSource-vtkRectangularButtonSource-vtkEllipticalButtonSource-tp5721752p5721767.html" target="_blank">http://vtk.1045678.n5.nabble.com/vtkButtonSource-vtkRectangularButtonSource-vtkEllipticalButtonSource-tp5721752p5721767.html</a><br>


&gt; Sent from the VTK - Users mailing list archive at Nabble.com.<br>
&gt; _______________________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at<br>
&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the VTK FAQ at:<br>
&gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
&gt;<br>
<br>
<br>
<br>
--<br>
Real programmers don&#39;t document; if it was<br>
hard to write, it should be hard to understand.<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: &lt;<a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130704/96c5275b/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130704/96c5275b/attachment-0001.htm</a>&gt;<br>


<br>
------------------------------<br>
<br>
Message: 10<br>
Date: Thu, 4 Jul 2013 16:41:04 +0200<br>
From: Domenico Quaranta &lt;<a href="mailto:n40.analysis@gmail.com" target="_blank">n40.analysis@gmail.com</a>&gt;<br>
Subject: [vtkusers] Vtk 6.0 dotnet<br>
To: DeMarle David E &lt;<a href="mailto:dave.demarle@kitware.com" target="_blank">dave.demarle@kitware.com</a>&gt;<br>
Cc: &quot;<a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>&quot; &lt;<a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>&gt;<br>
Message-ID: &lt;<a href="mailto:FFFB70FF-F916-4DE7-A0AD-5144A1A24B31@gmail.com" target="_blank">FFFB70FF-F916-4DE7-A0AD-5144A1A24B31@gmail.com</a>&gt;<br>
Content-Type: text/plain;       charset=us-ascii<br>
<br>
Hi Dave<br>
I read that sometimes ago you posted that the new vtk 6.0 will support .net automatically.<br>
Is this still the case? Can I use vtk directly in vs2012?<br>
<br>
Thanks in advance<br>
<br>
Nico<br>
<br>
------------------------------<br>
<br>
Message: 11<br>
Date: Thu, 4 Jul 2013 08:02:27 -0700 (PDT)<br>
From: Ruff &lt;<a href="mailto:albin.nilsson@gmail.com" target="_blank">albin.nilsson@gmail.com</a>&gt;<br>
Subject: [vtkusers] Is it possible to make an image slice of<br>
        unstructured    grid?<br>
To: <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br>
Message-ID: &lt;<a href="mailto:1372950147716-5721777.post@n5.nabble.com" target="_blank">1372950147716-5721777.post@n5.nabble.com</a>&gt;<br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
Im looking at examples and google, but i cannot find anywhere where they<br>
start with an unstructured grid to use with VTK&#39;s image slicing abilities.<br>
Can it be done, and in that case how would you do it? What conversions are<br>
needed?<br>
<br>
If not, is there some way to use vtkStructuredPoints with the image slicer?<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/Is-it-possible-to-make-an-image-slice-of-unstructured-grid-tp5721777.html" target="_blank">http://vtk.1045678.n5.nabble.com/Is-it-possible-to-make-an-image-slice-of-unstructured-grid-tp5721777.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 9<br>
****************************************<br>
</blockquote></div><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>
</div></div></div></div>