[vtkusers] vtkusers Digest, Vol 80, Issue 16
Bruno Lara Bottazzini
bruno.bottazzini at cti.gov.br
Mon Dec 13 12:20:32 EST 2010
I've tried this solution in python string to latin1 look:
self.string = string.encode("latin-1")
but it didn't work and I'd like to put some specials characters on my
project like "~ , ´ and ç" .
Could you help me?
Thanks
On Mon, Dec 13, 2010 at 3:00 PM, <vtkusers-request at vtk.org> wrote:
> Send vtkusers mailing list submissions to
> vtkusers at vtk.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://www.vtk.org/mailman/listinfo/vtkusers
> or, via email, send a message with subject or body 'help' to
> vtkusers-request at vtk.org
>
> You can reach the person managing the list at
> vtkusers-owner at vtk.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of vtkusers digest..."
>
>
> Today's Topics:
>
> 1. Problem with viewing vtkReebGraph (Mehdi Ben Larbi)
> 2. Re: Triangle Geometry and Vertices
> (Paulo Henrique Junqueira Amorim)
> 3. Re: Problem with viewing vtkReebGraph (Jim Peterson)
> 4. Re: Triangle Geometry and Vertices (David Gobbi)
> 5. Re: Problem with viewing vtkReebGraph (David Doria)
> 6. Re: vtk.vtkExodusIIReader: information in GetOutput()?
> (Nico Schl?mer)
> 7. Re: vtkPExodusIIWriter? (Nico Schl?mer)
> 8. DICOM information (Xiaopeng Yang)
> 9. Re: [Insight-users] DICOM information (Luis Ibanez)
> 10. Re: [Insight-users] DICOM information (Xiaopeng Yang)
> 11. Re: bug 0009618 and UTF 8 text rendering fix question
> (Roger Bramon Feixas)
> 12. Re: VTK/Examples/Cxx/ImageData/IterateImageData (Rachel)
> 13. Re: VTK/Examples/Cxx/ImageData/IterateImageData (David Doria)
> 14. Re: VTK/Examples/Cxx/ImageData/IterateImageData (Rachel)
> 15. Re: Link error when building VTK with boost support in Visual
> Studio 2010 (Jeff Baumes)
> 16. About the VTK_USE_ANSI_STDLIB (???)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 12 Dec 2010 21:21:44 +0100
> From: Mehdi Ben Larbi <donniebrasco912 at gmail.com>
> Subject: [vtkusers] Problem with viewing vtkReebGraph
> To: vtkusers at vtk.org
> Message-ID:
> <AANLkTikOCPUx1rKV+AHXHtWEPWcaFowsPO5=Y+R9Yt3c at mail.gmail.com<Y%2BR9Yt3c at mail.gmail.com>
> >
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hello,
>
> I'm new to VTK,i'm working on a 3D indexing project for my research so i
> need to use Reeb's graph.
> I have been trying to view vtkReebGraph since 2 days now,i have he correct
> data but i'm not able to display it.
> I'm developing on Java and this is my code,the view part copied form this
> one http://www.vtk.org/Wiki/VTK/Examples/Graphs/VisualizeDirectedGraph i
> just translated it to Java :
>
> vtkPolyDataToReebGraphFilter surfaceReebGraphFilter = new
> > vtkPolyDataToReebGraphFilter();
> >
>
>
> > surfaceReebGraphFilter.SetInput(reader.GetOutput());
> >
> > surfaceReebGraphFilter.Update();
> >
> > vtkReebGraph surfaceReebGraph =
> surfaceReebGraphFilter.GetOutput();
> >
> > System.out.println(surfaceReebGraph.Print());
> >
> >
> > vtkGraphLayoutView graphLayoutView =new vtkGraphLayoutView ();
> >
> > vtkGraphLayout layout = new vtkGraphLayout ();
> > vtkSimple2DLayoutStrategy strategy = new
> > vtkSimple2DLayoutStrategy ();
> > layout.SetInput(surfaceReebGraph);
> > layout.SetLayoutStrategy(strategy);
> > ......
> >
>
>
> The Graph is correctly printed but i have this weird error : Exception in
> thread "main" java.lang.UnsatisfiedLinkError:
> vtk.vtkGraphLayoutView.VTKInit()J
>
> The PATH is correctly set so i don't know where it may come from.
> Can you please help me ? I'm desperate.
> Maybe another method to display ReebGraph without using the graphLayoutView
> ?
>
> Thanks a lot.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://www.vtk.org/pipermail/vtkusers/attachments/20101212/0569a423/attachment-0001.htm
> >
>
> ------------------------------
>
> Message: 2
> Date: Sun, 12 Dec 2010 18:58:54 -0200
> From: Paulo Henrique Junqueira Amorim <paulojamorim at gmail.com>
> Subject: Re: [vtkusers] Triangle Geometry and Vertices
> To: vtkusers at vtk.org
> Cc: David Gobbi <david.gobbi at gmail.com>
> Message-ID:
> <AANLkTinA4t=M=R2mGig+tnTezo_LCMyV-vG5_4SDL+Cj at mail.gmail.com<R2mGig%2BtnTezo_LCMyV-vG5_4SDL%2BCj at mail.gmail.com>
> >
> Content-Type: text/plain; charset="iso-8859-1"
>
> Thank's David and Jim.
>
> Generate a triangle is really what I wanted.
>
> By the same token, there is some way from a vtkPolyData, generate a mesh of
> triangles more regular?
>
> I would like to improve the mesh for use in finite elements.
>
> Ragards,
> Paulo
>
>
>
> On 12 December 2010 14:04, David Gobbi <david.gobbi at gmail.com> wrote:
>
> > I'm going to throw in a little addition. You say "triangle verts" so
> > I'm guessing
> > you want your cells to be triangles, not verts. If that is the case,
> > the code you
> > really need is as follows:
> >
> > ids = vtkIdList()
> > ids.SetNumberOfIds(3)
> >
> > for i in xrange(3):
> > ids.SetId(i, i)
> > points.InsertNextPoint(X[i],Y[i],Z[i])
> >
> > vertices.InsertNextCell(ids) # call for every cell, not for every point
> >
> > polydata = vtkPolyData()
> > polydata.SetPoints(points)
> > polydata.SetPolys(vertices) # use SetPolys for triangles
> > polydata.Update()
> >
> > The above code will create a polydata that has one triangle.
> >
> > David
> >
> >
> > On Sun, Dec 12, 2010 at 8:43 AM, David Gobbi <david.gobbi at gmail.com>
> > wrote:
> > >
> > > On Sun, Dec 12, 2010 at 6:39 AM, Jim Peterson <jimcp at cox.net> wrote:
> > >>
> > >> Paulo,
> > >> I am no Python expert, but if I understand the sequence of events, you
> > should create the polydata object before writing the file.
> > >>
> > >> Hope that helps,
> > >> Jim
> > >
> > > What Jim said. Also, the id list is never filled in. The following
> code
> > is wrong:
> > >
> > > ids = vtkIdList()
> > > ids.SetNumberOfIds(3)
> > >
> > > for i in xrange(3):
> > > ids.SetId(i, i)
> > > points.InsertNextPoint(X[i],Y[i],Z[i])
> > > vertices.InsertNextCell(ids)
> > >
> > > To fix it, you have two choices. You can have all three verts in the
> > same cell:
> > >
> > > ids = vtkIdList()
> > > ids.SetNumberOfIds(3)
> > >
> > > for i in xrange(3):
> > > ids.SetId(i, i)
> > > points.InsertNextPoint(X[i],Y[i],Z[i])
> > >
> > > vertices.InsertNextCell(ids)
> > > Or you can have each vert in its own cell:
> > >
> > > ids = vtkIdList()
> > > ids.SetNumberOfIds(1)
> > >
> > > for i in xrange(3):
> > > ids.SetId(0, i)
> > > points.InsertNextPoint(X[i],Y[i],Z[i])
> > > vertices.InsertNextCell(ids)
> > >
> > > In the "for" loop, you were calling vertices.InsertNextCell(ids)
> > > when "ids" still had some unititialized values, since the three
> > > ids values were not filled in until the third loop iteration.
> > >
> > > - David
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://www.vtk.org/pipermail/vtkusers/attachments/20101212/24dcaa9d/attachment-0001.htm
> >
>
> ------------------------------
>
> Message: 3
> Date: Sun, 12 Dec 2010 16:10:15 -0500
> From: Jim Peterson <jimcp at cox.net>
> Subject: Re: [vtkusers] Problem with viewing vtkReebGraph
> To: Mehdi Ben Larbi <donniebrasco912 at gmail.com>
> Cc: vtkusers at vtk.org
> Message-ID: <4D053A37.3050801 at cox.net>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Mehdi,
> The unsatisfied link error would mean you have not loaded the
> vtkViewsJava library in order to have access to the native vtk functions
> for the vtkGraphLayout class.
>
> I hope that helps,
> Jim
>
> Mehdi Ben Larbi wrote:
> > Hello,
> >
> > I'm new to VTK,i'm working on a 3D indexing project for my research so
> > i need to use Reeb's graph.
> > I have been trying to view vtkReebGraph since 2 days now,i have he
> > correct data but i'm not able to display it.
> > I'm developing on Java and this is my code,the view part copied form
> > this one
> > http://www.vtk.org/Wiki/VTK/Examples/Graphs/VisualizeDirectedGraph i
> > just translated it to Java :
> >
> > vtkPolyDataToReebGraphFilter surfaceReebGraphFilter = new
> > vtkPolyDataToReebGraphFilter();
> >
> >
> >
> > surfaceReebGraphFilter.SetInput(reader.GetOutput());
> >
> > surfaceReebGraphFilter.Update();
> >
> > vtkReebGraph surfaceReebGraph =
> > surfaceReebGraphFilter.GetOutput();
> >
> > System.out.println(surfaceReebGraph.Print());
> >
> >
> > vtkGraphLayoutView graphLayoutView =new
> > vtkGraphLayoutView ();
> >
> > vtkGraphLayout layout = new vtkGraphLayout ();
> > vtkSimple2DLayoutStrategy strategy = new
> > vtkSimple2DLayoutStrategy ();
> > layout.SetInput(surfaceReebGraph);
> > layout.SetLayoutStrategy(strategy);
> > ......
> >
> >
> >
> > The Graph is correctly printed but i have this weird error : Exception
> > in thread "main" java.lang.UnsatisfiedLinkError:
> > vtk.vtkGraphLayoutView.VTKInit()J
> >
> > The PATH is correctly set so i don't know where it may come from.
> > Can you please help me ? I'm desperate.
> > Maybe another method to display ReebGraph without using the
> > graphLayoutView ?
> >
> > Thanks a lot.
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> >
> > Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> >
> > Follow this link to subscribe/unsubscribe:
> > http://www.vtk.org/mailman/listinfo/vtkusers
> >
>
>
>
> ------------------------------
>
> Message: 4
> Date: Sun, 12 Dec 2010 14:17:11 -0700
> From: David Gobbi <david.gobbi at gmail.com>
> Subject: Re: [vtkusers] Triangle Geometry and Vertices
> To: Paulo Henrique Junqueira Amorim <paulojamorim at gmail.com>
> Cc: vtkusers at vtk.org
> Message-ID:
> <AANLkTimu+NHHeLFss1A0grqpMs7WLgJMSopNO48uBAhB at mail.gmail.com<AANLkTimu%2BNHHeLFss1A0grqpMs7WLgJMSopNO48uBAhB at mail.gmail.com>
> >
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi Paulo,
>
> You can use vtkMeshQuality to compute the quality of a mesh, but I don't
> think there is anything in VTK for improving the quality of a mesh.
> Hopefully someone will tell me that I'm wrong about this...
>
> David
>
>
> On Sun, Dec 12, 2010 at 1:58 PM, Paulo Henrique Junqueira Amorim <
> paulojamorim at gmail.com> wrote:
> > Thank's David and Jim.
> >
> > Generate a triangle is really what I wanted.
> >
> > By the same token, there is some way from a vtkPolyData, generate a mesh
> of
> > triangles more regular?
> >
> > I would like to improve the mesh for use in finite elements.
> >
> > Ragards,
> > Paulo
> >
> >
> >
> > On 12 December 2010 14:04, David Gobbi <david.gobbi at gmail.com> wrote:
> >>
> >> I'm going to throw in a little addition. You say "triangle verts" so
> >> I'm guessing
> >> you want your cells to be triangles, not verts. If that is the case,
> >> the code you
> >> really need is as follows:
> >>
> >> ids = vtkIdList()
> >> ids.SetNumberOfIds(3)
> >>
> >> for i in xrange(3):
> >> ids.SetId(i, i)
> >> points.InsertNextPoint(X[i],Y[i],Z[i])
> >>
> >> vertices.InsertNextCell(ids) # call for every cell, not for every point
> >>
> >> polydata = vtkPolyData()
> >> polydata.SetPoints(points)
> >> polydata.SetPolys(vertices) # use SetPolys for triangles
> >> polydata.Update()
> >>
> >> The above code will create a polydata that has one triangle.
> >>
> >> David
> >>
> >>
> >> On Sun, Dec 12, 2010 at 8:43 AM, David Gobbi <david.gobbi at gmail.com>
> >> wrote:
> >> >
> >> > On Sun, Dec 12, 2010 at 6:39 AM, Jim Peterson <jimcp at cox.net> wrote:
> >> >>
> >> >> Paulo,
> >> >> I am no Python expert, but if I understand the sequence of events,
> you
> >> >> should create the polydata object before writing the file.
> >> >>
> >> >> Hope that helps,
> >> >> Jim
> >> >
> >> > What Jim said. Also, the id list is never filled in. The following
> >> > code is wrong:
> >> >
> >> > ids = vtkIdList()
> >> > ids.SetNumberOfIds(3)
> >> >
> >> > for i in xrange(3):
> >> > ids.SetId(i, i)
> >> > points.InsertNextPoint(X[i],Y[i],Z[i])
> >> > vertices.InsertNextCell(ids)
> >> >
> >> > To fix it, you have two choices. You can have all three verts in the
> >> > same cell:
> >> >
> >> > ids = vtkIdList()
> >> > ids.SetNumberOfIds(3)
> >> >
> >> > for i in xrange(3):
> >> > ids.SetId(i, i)
> >> > points.InsertNextPoint(X[i],Y[i],Z[i])
> >> >
> >> > vertices.InsertNextCell(ids)
> >> > Or you can have each vert in its own cell:
> >> >
> >> > ids = vtkIdList()
> >> > ids.SetNumberOfIds(1)
> >> >
> >> > for i in xrange(3):
> >> > ids.SetId(0, i)
> >> > points.InsertNextPoint(X[i],Y[i],Z[i])
> >> > vertices.InsertNextCell(ids)
> >> >
> >> > In the "for" loop, you were calling vertices.InsertNextCell(ids)
> >> > when "ids" still had some unititialized values, since the three
> >> > ids values were not filled in until the third loop iteration.
> >> >
> >> > - David
> >
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://www.vtk.org/pipermail/vtkusers/attachments/20101212/a7d63e5b/attachment-0001.htm
> >
>
> ------------------------------
>
> Message: 5
> Date: Sun, 12 Dec 2010 17:28:45 -0500
> From: David Doria <daviddoria at gmail.com>
> Subject: Re: [vtkusers] Problem with viewing vtkReebGraph
> Cc: vtkusers at vtk.org
> Message-ID:
> <AANLkTimnk5-2=XGS_ekUtWawJqqHPfONF_QNUgXiAWM4 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> >> Hello,
> >>
> >> I'm new to VTK,i'm working on a 3D indexing project for my research so i
> >> need to use Reeb's graph.
> >> I have been trying to view vtkReebGraph since 2 days now,i have he
> correct
> >> data but i'm not able to display it.
> >> I'm developing on Java and this is my code,the view part copied form
> this
> >> one http://www.vtk.org/Wiki/VTK/Examples/Graphs/VisualizeDirectedGraphi
> >> just translated it to Java ?:
>
> Mehdi,
>
> If you could add the example that you translated here:
> http://www.vtk.org/Wiki/VTK/Examples/Java#Graphs
>
> that would be great!
>
> David
>
>
> ------------------------------
>
> Message: 6
> Date: Mon, 13 Dec 2010 01:56:31 +0100
> From: Nico Schl?mer <nico.schloemer at gmail.com>
> Subject: Re: [vtkusers] vtk.vtkExodusIIReader: information in
> GetOutput()?
> To: "Thompson, David C" <dcthomp at sandia.gov>
> Cc: vtkusers <vtkusers at vtk.org>
> Message-ID:
> <AANLkTikX4EbmvTjXd3trchsrr4xh_otykzpNyp92r5KH at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> I've written and alternative implementation for the Exodus
> reader/writer using vtkExodusReader (as opposed to the
> vtkExodusIIReader) and found that things work out much more easily.
>
> It's basically enough to
>
> reader.ExodusModelMetadataOn()
>
> to get information on all the time steps, for example. With the
> vtkExodusIIReader (where there is no ModelMetadata), I could get the
> same to work only with a loop over [0:GetNumberOfTimeSteps()], then
> SetTimeStep(k) and subsequently retrieve a vtkUnstructuredGrid for
> each step with the corresponding point data.
>
> The only thing I need to do now is to figure out how to extract the
> individual time step arrays from the vtkUnstructuredGrid, work on
> them, and inject them back to be written to a file.
>
> Cheers,
> Nico
>
>
>
> On Sun, Dec 12, 2010 at 5:11 PM, Nico Schl?mer <nico.schloemer at gmail.com>
> wrote:
> > Hi,
> >
> > I was able to get it all together with
> >
> > ? ?reader.UpdateInformation()
> > ? ?for k in xrange( reader.GetNumberOfPointResultArrays() ):
> > ? ? ? ?arr_name = reader.GetPointResultArrayName( k )
> > ? ? ? ?reader.SetPointResultArrayStatus( arr_name, 1 )
> >
> > Then, after Update() has been called, the vtkUnstructuredGrid will
> > magically containt the array. Great!
> >
> >> Note that because "_R" and "_Z" imply cylindrical coordinates, the two
> scalars
> >> in the exodus file will be combined into a 2-component vector by the
> reader and
> >> the result will be named either "x0" or "x0_" (I forget whether the
> trailing underscore
> >> is omitted or not).
> >
> > Cylindrical coordinates, alright? Well, I got the data in there by
> > providing a complex valued array, but I guess that doesn't really
> > matter. The underscore is preserved by the way, so I'll just go ahead
> > and cut it off.
> >
> > Thanks for the help!
> > --Nico
> >
> >
> >
> > On Sun, Dec 12, 2010 at 3:30 AM, Thompson, David C <dcthomp at sandia.gov>
> wrote:
> >> Hi Nico,
> >>
> >>> Alright, so this
> >>> ...
> >>> gives me all vtkUnstructuredGrid in the vtkExodusIIReader output. Nice!
> >>> However, there's more data in the Exodus file I'd like to retrieve,
> >>> for example a data array for point data. In the ExodusII file, the
> >>> values are declared as "vals_nod_var1=..." and "name_nod_var =
> >>> "x0_R", ?"x0_Z" ;", but those are certainly not contained in the block
> >>> hierarchy above.
> >>
> >> Each unstructured grid that is output may have point and cell
> >> arrays (I forget whether they are read by default or whether you
> >> must call SetObjectArrayStatus() to tell the reader you want them
> >> loaded). For the point variables "x0_R" and "x0_Z" in your example
> >> above, you would call
> >>
> >> ?rdr = vtkExodusIIReader()
> >> ?rdr.SetFileName( 'foo.exo' ) # or whatever
> >> ?rdr.UpdateInformation() # this tells the reader to fetch metadata from
> the file
> >> ?# Iterate over all the point arrays:
> >> ?for i in range( rdr.GetNumberOfObjectArrays( rdr.NODAL ) ):
> >> ? ?nname = rdr.GetObjectArrayName( rdr.NODAL, i )
> >> ? ?print 'Array %d is "%s"' % (i,nname)
> >> ? ?# if an array name matches, tell the reader we want to load it:
> >> ? ?if nname == 'x0' or nname == 'x0_':
> >> ? ? ?# 0 means "don't load", 1 means "load" the i-th nodal array
> >> ? ? ?rdr.SetObjectArrayStatus( rdr.NODAL, i, 1 )
> >> ?rdr.Update()
> >> ?out = rdr.GetOutput()
> >> ?# Assuming you have an element block, its point data will have
> >> ?# the x0 array.
> >> ?elem_blks = out.GetBlock( 0 )
> >> ?elem_blk0 = elem_blks.GetBlock( 0 )
> >> ?x0 = elem_blk0.GetPointData().GetArray( 'x0' )
> >>
> >> Note that because "_R" and "_Z" imply cylindrical coordinates, the two
> scalars
> >> in the exodus file will be combined into a 2-component vector by the
> reader and
> >> the result will be named either "x0" or "x0_" (I forget whether the
> trailing underscore
> >> is omitted or not).
> >>
> >> Because Exodus defines a single, global set of nodes for all
> element/face/edge
> >> blocks, any nodal variables you request will be present on every output
> block.
> >> However, because the cells in a block don't necessarily reference every
> point,
> >> the point coordinates and point data for each block are subsets of the
> global
> >> arrays. For instance, if you have 10 points defined in a mesh but the
> first
> >> element block contains a single quadrilateral (4 points), there will
> only be 4
> >> values in the 'x0' array attached to that element block's unstructured
> grid.
> >>
> >> ? ?David
> >>
> >>
> >> On Mon, Dec 6, 2010 at 9:21 PM, David Thompson <dcthomp at sandia.gov>
> wrote:
> >>>> ... when reading an ExodusII file with
> >>>> ?reader = vtk.vtkExodusIIReader()
> >>>> ?reader.Update()
> >>>> ?out = reader.GetOutput()
> >>>> 'out' would contain a whole lot of output the significance of which I
> >>>> don't quite understant;
> >>>
> >>> Hi Nico,
> >>>
> >>> The old vtkExodusReader used to output a single unstructured grid. This
> made
> >>> it difficult to handle the case when a variable was defined on some
> cells
> >>> (in one element block) but not on others (in a different element
> block). It
> >>> was also awkward to provide information about node sets and face sets.
> At
> >>> the time, there was also no concept of pedigree and global ID arrays in
> >>> vtkDataSetAttributes. This made writing Exodus datasets back out to a
> file
> >>> after some manipulation difficult since much of the information in the
> >>> original file could not be preserved. The vtkExodusModel and
> >>> vtkModelMetadata classes were attempts to encapsulate some of that
> >>> information for later access by a writer.
> >>>
> >>> The new vtkExodusIIReader outputs a multiblock dataset. Each multiblock
> >>> dataset may have an arbitrary number of blocks, where each block is a
> >>> arbitary dataset (an unstructured grid, an image, or even another
> multiblock
> >>> dataset). The new reader outputs a multiblock dataset where each of the
> >>> top-level blocks is itself a multiblock dataset holding unstructured
> grids
> >>> of a single type (element blocks, face blocks, edge blocks, element
> sets,
> >>> side sets, face sets, edge sets, node sets). When you "print out" you
> are
> >>> seeing all of the internal variables associated with the one toplevel
> >>> multiblock dataset and its children.
> >>>
> >>> This should print some more concise information about the blocks:
> >>> ====================== *snip* ======================
> >>> for i in range( out.GetNumberOfBlocks() ):
> >>> ?print out.GetMetaData( i ).Get( vtkCompositeDataSet.NAME() )
> >>> ?blk = out.GetBlock( i )
> >>> ?for j in range( blk.GetNumberOfBlocks() ):
> >>> ? ?print ' ?' + blk.GetMetaData( j ).Get( vtkCompositeDataSet.NAME() )
> >>>
> >>> ====================== *snip* ======================
> >>> When the reader is told to read a block or set (only element blocks are
> read
> >>> by default), then an unstructured grid will be inserted into the
> appropriate
> >>> sub-block of the main reader's output.
> >>>
> >>> ? ? ? ?Hope this helps,
> >>> ? ? ? ?David
> >>>
> >>>
> >>>
> >>>
> >>
> >>
> >>
> >
>
>
> ------------------------------
>
> Message: 7
> Date: Mon, 13 Dec 2010 01:59:56 +0100
> From: Nico Schl?mer <nico.schloemer at gmail.com>
> Subject: Re: [vtkusers] vtkPExodusIIWriter?
> To: "Thompson, David C" <dcthomp at sandia.gov>
> Cc: vtkusers <vtkusers at vtk.org>
> Message-ID:
> <AANLkTinv8CMaYzmYWB7cFKRV163MrC3YiwKXFZEKm0ji at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> I just came across the sentence
>
> "However if this writer is part of a parallel application (hence
> writing out a distributed Exodus file), then we need at the very least
> a list of all the block IDs that appear in the file. And we need the
> element array of block IDs for the input unstructured grid."
>
> in the vtkExodusIIWriter documentation, so I guess it *does* support
> parallel writes, just that the data has to be fitted for it somehow.
> Is there a newbie howto for parallel data structures in VTK?
>
> --Nico
>
>
>
> On Sun, Dec 12, 2010 at 3:30 AM, Thompson, David C <dcthomp at sandia.gov>
> wrote:
> > Hi Nico,
> >
> > I didn't write the vtkExodusIIWriter, so I don't know about how/whether
> it works in parallel.
> >
> > ? ?David
> > ________________________________________
> > From: vtkusers-bounces at vtk.org [vtkusers-bounces at vtk.org] On Behalf Of
> Nico Schl?mer [nico.schloemer at gmail.com]
> > Sent: Saturday, December 11, 2010 11:10
> > To: vtkusers
> > Subject: [vtkusers] vtkPExodusIIWriter?
> >
> > Hi all,
> >
> > I notice that with VTK, it's possible to read parallel ExodusII files
> > via "vtkPExodusIIReader"
> > <http://www.vtk.org/doc/nightly/html/classvtkPExodusIIReader.html>.
> > Curiously, however, I didn't find the corresponding vtkPExodusIIWriter
> > class.
> >
> > Is it possible to write parallel Exodus files with VTK at all then,
> > using the regular vtkExodusIIWriter classes?
> >
> > Cheers,
> > Nico
> > _______________________________________________
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> >
> > Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> >
> > Follow this link to subscribe/unsubscribe:
> > http://www.vtk.org/mailman/listinfo/vtkusers
> >
> >
> >
>
>
> ------------------------------
>
> Message: 8
> Date: Mon, 13 Dec 2010 11:10:11 +0900
> From: "Xiaopeng Yang" <yxp233 at postech.ac.kr>
> Subject: [vtkusers] DICOM information
> To: <insight-users at itk.org>, <vtkusers at vtk.org>
> Message-ID: <00b901cb9a6a$e467cd50$ad3767f0$@ac.kr>
> Content-Type: text/plain; charset="us-ascii"
>
> Hello everyone,
>
> I'm trying to get patient name, age, and sex from a series of CT images.
> But
> I have no idea how to do this. I am using ITK GDCMImageIO to load the
> dataset, then connecting ITK to VTK, and then using VTK Imageviewer2 to
> visualize the dataset.
>
> Based on the algorithms I used, how can I get patient information?
>
> Thank you for your help.
>
> Best,
> Xiaopeng
>
>
>
>
>
>
>
> ------------------------------
>
> Message: 9
> Date: Sun, 12 Dec 2010 21:32:23 -0500
> From: Luis Ibanez <luis.ibanez at kitware.com>
> Subject: Re: [vtkusers] [Insight-users] DICOM information
> To: Xiaopeng Yang <yxp233 at postech.ac.kr>
> Cc: insight-users at itk.org, vtkusers at vtk.org
> Message-ID:
> <AANLkTimE9WiFz1AFX+5NvmHB-f+fq-j6SN9f4AsjfBfY at mail.gmail.com<AANLkTimE9WiFz1AFX%2B5NvmHB-f%2Bfq-j6SN9f4AsjfBfY at mail.gmail.com>
> >
> Content-Type: text/plain; charset=UTF-8
>
> Hi Xiaopeng,
>
> Please look at the example
>
> ITK/Examples/IO/DicomImageReadPrintTags.cxx
>
> The tags that you need are listed here:
>
> http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/DICOM.html
>
> 0010,0010 PatientName
> 0010,0040 PatientSex
> 0010,1010 PatientAge
>
> In the Example above,
> the lines of code 300 to 333 show you
> how to get the patient name.
>
> You can get the other values by using the
> DICOM tags for Sex and Age.
>
>
>
> Regards
>
>
> Luis
>
>
> ------------------------------------------------------
> On Sun, Dec 12, 2010 at 9:10 PM, Xiaopeng Yang <yxp233 at postech.ac.kr>
> wrote:
> > Hello everyone,
> >
> > I'm trying to get patient name, age, and sex from a series of CT images.
> But
> > I have no idea how to do this. I am using ITK GDCMImageIO to load the
> > dataset, then connecting ITK to VTK, and then using VTK Imageviewer2 to
> > visualize the dataset.
> >
> > Based on the algorithms I used, how can I get patient information?
> >
> > Thank you for your help.
> >
> > Best,
> > Xiaopeng
> >
> >
> >
> >
> >
> > _____________________________________
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at
> > http://www.kitware.com/opensource/opensource.html
> >
> > Kitware offers ITK Training Courses, for more information visit:
> > http://www.kitware.com/products/protraining.html
> >
> > Please keep messages on-topic and check the ITK FAQ at:
> > http://www.itk.org/Wiki/ITK_FAQ
> >
> > Follow this link to subscribe/unsubscribe:
> > http://www.itk.org/mailman/listinfo/insight-users
> >
>
>
> ------------------------------
>
> Message: 10
> Date: Mon, 13 Dec 2010 14:33:17 +0900
> From: "Xiaopeng Yang" <yxp233 at postech.ac.kr>
> Subject: Re: [vtkusers] [Insight-users] DICOM information
> To: "'Luis Ibanez'" <luis.ibanez at kitware.com>
> Cc: insight-users at itk.org, vtkusers at vtk.org
> Message-ID: <00c301cb9a87$3f18bf40$bd4a3dc0$@ac.kr>
> Content-Type: text/plain; charset="utf-8"
>
> Hi Luis,
>
> Thanks very much. It works! May I ask you another question please? Do you
> know some fast hole filling algorithm for binary image?
>
> Best regards,
>
> Xiaopeng
>
> -----????-----
> ???: Luis Ibanez [mailto:luis.ibanez at kitware.com]
> ????: 2010? 12? 13? ??? ?? 11:32
> ???: Xiaopeng Yang
> ??: insight-users at itk.org; vtkusers at vtk.org
> ??: Re: [Insight-users] DICOM information
>
> Hi Xiaopeng,
>
> Please look at the example
>
> ITK/Examples/IO/DicomImageReadPrintTags.cxx
>
> The tags that you need are listed here:
>
> http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/DICOM.html
>
> 0010,0010 PatientName
> 0010,0040 PatientSex
> 0010,1010 PatientAge
>
> In the Example above,
> the lines of code 300 to 333 show you
> how to get the patient name.
>
> You can get the other values by using the
> DICOM tags for Sex and Age.
>
>
>
> Regards
>
>
> Luis
>
>
> ------------------------------------------------------
> On Sun, Dec 12, 2010 at 9:10 PM, Xiaopeng Yang <yxp233 at postech.ac.kr>
> wrote:
> > Hello everyone,
> >
> > I'm trying to get patient name, age, and sex from a series of CT images.
> But
> > I have no idea how to do this. I am using ITK GDCMImageIO to load the
> > dataset, then connecting ITK to VTK, and then using VTK Imageviewer2 to
> > visualize the dataset.
> >
> > Based on the algorithms I used, how can I get patient information?
> >
> > Thank you for your help.
> >
> > Best,
> > Xiaopeng
> >
> >
> >
> >
> >
> > _____________________________________
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at
> > http://www.kitware.com/opensource/opensource.html
> >
> > Kitware offers ITK Training Courses, for more information visit:
> > http://www.kitware.com/products/protraining.html
> >
> > Please keep messages on-topic and check the ITK FAQ at:
> > http://www.itk.org/Wiki/ITK_FAQ
> >
> > Follow this link to subscribe/unsubscribe:
> > http://www.itk.org/mailman/listinfo/insight-users
> >
>
>
>
>
>
>
>
>
>
>
>
> ------------------------------
>
> Message: 11
> Date: Mon, 13 Dec 2010 10:43:14 +0100
> From: Roger Bramon Feixas <rogerbramon at gmail.com>
> Subject: Re: [vtkusers] bug 0009618 and UTF 8 text rendering fix
> question
> To: Sean McBride <sean at rogue-research.com>
> Cc: David Gobbi <david.gobbi at gmail.com>, vtkusers at vtk.org
> Message-ID:
> <AANLkTi=n4HBOK3qGTu-SH2U-4OOQW5GV9K+voujsUmm+ at mail.gmail.com<n4HBOK3qGTu-SH2U-4OOQW5GV9K%2BvoujsUmm%2B at mail.gmail.com>
> >
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi,
>
> Sean, at my system vtkTextActor::SetInput() also expects ISO-8859-1. I'm
> using Qt and I have to call QString::toLatin1() to be able to use accents
> in
> VTK.
>
> Marcus, let me know if you has any questions about the patch which tries to
> solve the drop shadow rendering problem.
>
> Thanks for your attention,
>
> Roger
>
>
> On Tue, Dec 7, 2010 at 10:35 PM, Sean McBride <sean at rogue-research.com
> >wrote:
>
> > On Tue, 7 Dec 2010 15:27:03 -0500, Marcus D. Hanwell said:
> >
> > >>> Just to clarify, what encoding should be given to
> > vtkTextActor::SetInput
> > >>> ()? Last I tried, it seemed to expect ISO-8859-1. Certainly a step
> up
> > >>> from ASCII! Is the long term plan for it to accept UTF8?
> > >>
> > >> I think it is best if VTK strings use the system default encoding,
> > rather
> > >> than utf-8. For unicode there is always vtkUnicodeString. More
> classes
> > >> should be adapted to take vtkUnicodeString as input (but only, of
> > course,
> > >> if they are internally capable of using/rendering unicode).
> > >>
> > >> But I'm flexible. Really, I'm just pushing for VTK's string handling
> to
> > be
> > >> more similar to Python's. ;)
> > >>
> > >I am not too concerned about aligning with Python's string handling,
> > >but agree with David - I think we should be adjusting existing classes
> > >to deal with and take vtkUnicodeString, which can take UTF8 strings
> > >for construction.
> >
> > Agreed.
> >
> > >It would probably be simplest to interpret all const
> > >char* and vtkStdString as UTF8 when it came to rendering, as minimal
> > >code/API changes would be required.
> >
> > I agree here too, but such a change would appear to break binary
> > compatibility. Today's vtkTextActor::SetInput() expects ISO-8859-1 (at
> > least on my system), if we change it to expect UTF8 we break existing
> > clients of VTK.
> >
> > In any case, API that take char* should document which encoding they
> > expect. Consider the tiny attached patch.
> >
> > >If you look at vtkContext2D and friends, where I have been prototyping
> > >the UTF8 string handling and Unicode rendering, I have used
> > >vtkUnicodeString as the function argument.
> >
> > Sounds great.
> >
> > >I certainly welcome people's thoughts on this. Working through the
> > >relevant classes, and adding vtkUnicodeString API to them where and
> > >when they can really render Unicode seems like a reasonable approach
> > >to me.
> >
> > vtkTextActor appears to be in need of vtkUnicodeString support...
> >
> > --
> > ____________________________________________________________
> > Sean McBride, B. Eng sean at rogue-research.com
> > Rogue Research www.rogue-research.com
> > Mac Software Developer Montr?al, Qu?bec, Canada
> >
> > _______________________________________________
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at
> > http://www.kitware.com/opensource/opensource.html
> >
> > Please keep messages on-topic and check the VTK FAQ at:
> > http://www.vtk.org/Wiki/VTK_FAQ
> >
> > Follow this link to subscribe/unsubscribe:
> > http://www.vtk.org/mailman/listinfo/vtkusers
> >
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://www.vtk.org/pipermail/vtkusers/attachments/20101213/18488da8/attachment-0001.htm
> >
>
> ------------------------------
>
> Message: 12
> Date: Mon, 13 Dec 2010 06:14:50 -0800 (PST)
> From: Rachel <aracha2010 at gmail.com>
> Subject: Re: [vtkusers] VTK/Examples/Cxx/ImageData/IterateImageData
> To: vtkusers at vtk.org
> Message-ID: <1292249690501-3303147.post at n5.nabble.com>
> Content-Type: text/plain; charset=us-ascii
>
>
> Thank you Davis. i got the same results as you but when i change the code
> as
> you see below, it gives me 0:
>
> I change the input image and I assigned 2.0 to each pixel (as in the
> example
> )
> int main(){
> // Create an image data
> vtkSmartPointer<vtkImageData> imageData =
> vtkSmartPointer<vtkImageData>::New();
>
> //imageData= LoadImage(OutputImage);
> vtkSmartPointer<vtkPNGReader> reader =
> vtkSmartPointer<vtkPNGReader>::New();
> reader->SetFileName(OutputImage);
> reader->Update();
> imageData= reader->GetOutput();
>
> //i removed these three lines
> // Specify the size of the image data
> /* imageData->SetDimensions(2,3,1);
> imageData->SetNumberOfScalarComponents(1);
> imageData->SetScalarTypeToDouble();*/
>
> int* dims = imageData->GetDimensions();
>
> std::cout << "Dims: " << " x: " << dims[0] << " y: " << dims[1] << " z: "
> << dims[2] << std::endl;
> std::cout << "Number of points: " << imageData->GetNumberOfPoints() <<
> std::endl;
> std::cout << "Number of cells: " << imageData->GetNumberOfCells() <<
> std::endl;
>
> // Fill every entry of the image data with "2.0"
> for (int z = 0; z < dims[2]; z++)
> {
> for (int y = 0; y < dims[1]; y++)
> {
> for (int x = 0; x < dims[0]; x++)
> {
>
> double* pixel =
> static_cast<double*>(imageData->GetScalarPointer(x,y,z));
> pixel[0] = 2.0;
>
> }
> }
> }
>
>
> // Retrieve the entries from the image data and print them to the screen
> for (int z = 0; z < dims[2]; z++)
> {
> for (int y = 0; y < dims[1]; y++)
> {
> for (int x = 0; x < dims[0]; x++)
> {
> double* pixel =
> static_cast<double*>(imageData->GetScalarPointer(x,y,z));
> // do something with v
> std::cout << pixel[0] << " ";
> }
> std::cout << std::endl;
> }
> std::cout << std::endl;
> }
> return EXIT_SUCCESS;
> }
> --
> View this message in context:
> http://vtk.1045678.n5.nabble.com/VTK-Examples-Cxx-ImageData-IterateImageData-tp3300844p3303147.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
>
>
> ------------------------------
>
> Message: 13
> Date: Mon, 13 Dec 2010 09:44:31 -0500
> From: David Doria <daviddoria at gmail.com>
> Subject: Re: [vtkusers] VTK/Examples/Cxx/ImageData/IterateImageData
> To: Rachel <aracha2010 at gmail.com>
> Cc: vtkusers at vtk.org
> Message-ID:
> <AANLkTim8A+B71778xUb64mk3ULKJAg5UYF0_qEAs5Xr2 at mail.gmail.com<AANLkTim8A%2BB71778xUb64mk3ULKJAg5UYF0_qEAs5Xr2 at mail.gmail.com>
> >
> Content-Type: text/plain; charset=ISO-8859-1
>
> On Mon, Dec 13, 2010 at 9:14 AM, Rachel <aracha2010 at gmail.com> wrote:
> >
> > Thank you Davis. i got the same results as you but when i change the code
> as
> > you see below, it gives me 0:
> >
> > I change the input image and I assigned 2.0 to each pixel (as in the
> example
> > )
>
> The problem is that the reader is creating an image with pixels of
> type Unsigned Char.
>
> You have to change the cast in both the loop setting the pixels and
> reading the pixels:
>
> Set loop:
>
> unsigned char* pixel =
> static_cast<unsigned char*>(imageData->GetScalarPointer(x,y,z));
> pixel[0] = 2;
>
> Get loop:
>
> unsigned char* pixel =
> static_cast<unsigned char*>(imageData->GetScalarPointer(x,y,z));
> // do something with v
> std::cout << (int)pixel[0] << " ";
>
> David
>
>
> ------------------------------
>
> Message: 14
> Date: Mon, 13 Dec 2010 06:54:22 -0800 (PST)
> From: Rachel <aracha2010 at gmail.com>
> Subject: Re: [vtkusers] VTK/Examples/Cxx/ImageData/IterateImageData
> To: vtkusers at vtk.org
> Message-ID: <1292252062862-3303214.post at n5.nabble.com>
> Content-Type: text/plain; charset=us-ascii
>
>
> Thank you very much David. It works now :)
> Have a great day :)
> --
> View this message in context:
> http://vtk.1045678.n5.nabble.com/VTK-Examples-Cxx-ImageData-IterateImageData-tp3300844p3303214.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
>
>
> ------------------------------
>
> Message: 15
> Date: Mon, 13 Dec 2010 10:39:47 -0500
> From: Jeff Baumes <jeff.baumes at kitware.com>
> Subject: Re: [vtkusers] Link error when building VTK with boost
> support in Visual Studio 2010
> To: Hong Yi <hongyi at renci.org>
> Cc: VTK Users <vtkusers at vtk.org>
> Message-ID:
> <AANLkTikjoLrrAeNBBOT944sUeWQCc+_f_SDTUReKbwm8 at mail.gmail.com<AANLkTikjoLrrAeNBBOT944sUeWQCc%2B_f_SDTUReKbwm8 at mail.gmail.com>
> >
> Content-Type: text/plain; charset="windows-1252"
>
> On Sat, Dec 11, 2010 at 10:52 PM, Hong Yi <hongyi at renci.org> wrote:
>
> > Thanks, Jeff.
> >
> >
> >
> > I don?t get this error (i.e., fatal error LNK1104: cannot open file
> > 'libboost_serialization-vc100-mt-gd-1_44.lib') any more after I turned
> off
> > Windows 7 Account Access Control and rebuilt everything, so this error
> was
> > caused by windows 7 Account Access Control. However, I got the following
> 3
> > linking errors:
> >
> >
> >
> > 8>BoostArrayLogWeighting.obj : error LNK2019: unresolved external symbol
> > "__declspec(dllimport) public: static class vtkBoostLogWeighting *
> __cdecl
> > vtkBoostLogWeighting::New(void)" (__imp_?New at vtkBoostLogWeighting
> > @@SAPAV1 at XZ) referenced in function "public: static class
> > vtkSmartPointer<class vtkBoostLogWeighting> __cdecl vtkSmartPointer<class
> > vtkBoostLogWeighting>::New(void)" (?New@
> > ?$vtkSmartPointer at VvtkBoostLogWeighting@@@@SA?AV1 at XZ)
> >
> > 8>BoostArrayRandomSparseArraySource.obj : error LNK2019: unresolved
> > external symbol "__declspec(dllimport) public: static class
> > vtkBoostRandomSparseArraySource * __cdecl
> > vtkBoostRandomSparseArraySource::New(void)"
> > (__imp_?New at vtkBoostRandomSparseArraySource@@SAPAV1 at XZ) referenced in
> > function "public: static class vtkSmartPointer<class
> > vtkBoostRandomSparseArraySource> __cdecl vtkSmartPointer<class
> > vtkBoostRandomSparseArraySource>::New(void)" (?New@
> > ?$vtkSmartPointer at VvtkBoostRandomSparseArraySource@@@@SA?AV1 at XZ)
> >
> > 8>BoostArrayRandomSparseArraySource.obj : error LNK2019: unresolved
> > external symbol "__declspec(dllimport) public: void __thiscall
> > vtkBoostRandomSparseArraySource::SetExtents(class vtkArrayExtents const
> &)"
> > (__imp_?SetExtents at vtkBoostRandomSparseArraySource
> > @@QAEXABVvtkArrayExtents@@@Z) referenced in function "int __cdecl
> > BoostArrayRandomSparseArraySource(int,char * * const)"
> > (?BoostArrayRandomSparseArraySource@@YAHHQAPAD at Z)
> >
> >
> 8>C:\Users\hongyi.HONGYI-W510\VTK-CMake\bin\RelWithDebInfo\InfovisBoostArrayCxxTests.exe
> > : fatal error LNK1120: 3 unresolved externals
> >
> >
> >
> > Any suggestions on what additional libs I should include in the link
> > property setup to make above three symbols resolved?
> >
> >
> It would seem that vtkInfovis is not building with vtkBoostLogWeighting
> and vtkBoostRandomSparseArraySource, but they should if you have
> VTK_USE_N_WAY_ARRAYS and VTK_USE_BOOST on. If either is not on, then the
> executable InfovisBoostArrayCxxTests should not be built, so I'm not sure
> what the issue is here.
>
> Another not-directly-related question: I have written a simple example
> using
> > VTK and QT and it only works with release configuration with VTK built
> and
> > installed with release configuration also. When I run the example with
> debug
> > configuration, I got an error message ?this application has failed to
> start
> > because the application configuration is incorrect. Review the manifest
> file
> > for possible errors.? I am new to VTK and read from the web that VTK
> should
> > be installed with release configuration since the debug configuration
> does
> > not work well, is that a true statement? I am currently using visual
> studio
> > 2010 to build VTK 5.6 version. If I want my VTK+QT example to work with
> > debug configuration, is there anything special I should do and be aware
> of?
> > Thanks for any suggestions and guidelines on this.
> >
>
> You may want to start a new thread on this topic.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://www.vtk.org/pipermail/vtkusers/attachments/20101213/070ac36d/attachment-0001.htm
> >
>
> ------------------------------
>
> Message: 16
> Date: Tue, 14 Dec 2010 00:11:00 +0800
> From: ??? <zhuyanqiao0413 at gmail.com>
> Subject: [vtkusers] About the VTK_USE_ANSI_STDLIB
> To: vtkusers at vtk.org
> Message-ID:
> <AANLkTinRg=WVUGYM1fMM2aZp6jFDT+YzPdEt-Qsojo_K at mail.gmail.com<WVUGYM1fMM2aZp6jFDT%2BYzPdEt-Qsojo_K at mail.gmail.com>
> >
> Content-Type: text/plain; charset="gb2312"
>
> Sorry, every one. I started to learn itk and vtk yesterday. I am using Arch
> Linux, and I have installed vtk throught its software repos. But when I
> tried to configure VTK as is told in "Starting with ITK and VIK", I can not
> find the VTK_USE_ANSI_STDLIB option which needs to be turned on. My VTK is
> the latest version, and does that matter? And what is the effect of this
> option. Also, I can not find the option "USE_VTK" metioned in the itk faq
> "
>
> > In order to use ITK with VTK you must build VTK from sources and make
> sure
> > that it is configured with the flag USE_ANSI_STDLIB enabled.
> >
> > Then you have to reconfigure ITK making sure that the option USE_VTK is
> > enabled.
> >
> "
>
>
> By the way, I am still not clear about the combination of ItK and vtk. It
> seems I will have to copy the files like in
> "InsightApplications-3.20.0/Auxiliary/vtk" to my application source
> directory whenever I need to combine itk and vtk. Is that true?
>
> Another question is why I can simply build the Examples\Installation in itk
> but cannot build other examples like Examples\IO. I found that the
> CMakeLists.txt are slightly different. CMakeLists.txt for
> Examples\Installation has
>
>
> > FIND_PACKAGE(ITK_REQIIRED)
> >
> INCLUDE(${ITK_USE_FILE})
>
> I think the effection of these statement is to create ITK_DIR when build
> the project using ccmake. This is crucial, am I right?
>
> Sorry for the expression. And thanks in advance for help.
>
>
>
>
> -------------------------------------------
> ???
> ??????????
> ????1#431
> 86-10-62742310
> Luke
> School of Mathematical Sciences,
> Peking University.
> phone: 86-10-62742310
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://www.vtk.org/pipermail/vtkusers/attachments/20101214/795f448f/attachment-0001.htm
> >
>
> ------------------------------
>
> _______________________________________________
> vtkusers mailing list
> vtkusers at vtk.org
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
> End of vtkusers Digest, Vol 80, Issue 16
> ****************************************
>
>
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20101213/aff615e4/attachment.htm>
More information about the vtkusers
mailing list