[Insight-users] Help with using itk::QuadEdgeMesh

Vimal Singh vimal.singh at utexas.edu
Mon Aug 22 09:22:09 EDT 2011


it's version 3.20.0

--thanks
Vimal Singh

On Aug 22, 2011, at 4:06 AM, Alexandre GOUAILLARD <agouaillard at gmail.com> wrote:

> hi,
>
> are you using itk 3.x or v4 ?
>
> alex.
>
>
> On Mon, Aug 22, 2011 at 3:10 AM, Vimal Singh <vimal.singh at utexas.edu> wrote:
>> Hi all,
>>
>> I'm currently trying to extract smooth meshes from binary masks. In summary,
>> I use  "itk:: BinaryMask3DMeshSource " followed by a
>> itk::AntiAliasBinaryImageFilter and use "vtkPolyDataReader" and
>> "vtlPolyDataWriter" to handle the generated masks and its dumps.  Everything
>> seems its just that since I have large segmented volume at real fine
>> resolution I get a lot of vertices and faces for the Triangular mesh that
>> gets generated. I wanted to decimate the number of triangles. Found Online
>> it could done using itk::QuadEdgeMesh. Copied and Modified the code
>> appropriately. The code compiles just fine but I get linker errors. Now, I'm
>> not a expert and would appreciate how I get rid of these. I'm unable to find
>> which lib would need to be linked for this (but I'm not even sure if this is
>> the solution path) ?
>>
>> Here is the part of the BUILD dump:
>>
>> convertMaskToSmoothMesh.obj : error LNK2019: unresolved external symbol
>> "public: class itk::QuadEdge * __thiscall itk::QuadEdge::GetLnext(void)"
>> (?GetLnext at QuadEdge@itk@@QAEPAV12 at XZ) referenced in function "public: class
>> itk::GeometricalQuadEdge<unsigned long,unsigned long,bool,bool,1> *
>> __thiscall itk::GeometricalQuadEdge<unsigned long,unsigned
>> long,bool,bool,1>::GetLnext(void)"
>> (?GetLnext@?$GeometricalQuadEdge at KK_N_N$00 at itk@@QAEPAV12 at XZ)
>> 1>convertMaskToSmoothMesh.obj : error LNK2019: unresolved external symbol
>> "public: class itk::QuadEdge * __thiscall itk::QuadEdge::GetRnext(void)"
>> (?GetRnext at QuadEdge@itk@@QAEPAV12 at XZ) referenced in function "public: class
>> itk::GeometricalQuadEdge<unsigned long,unsigned long,bool,bool,1> *
>> __thiscall itk::GeometricalQuadEdge<unsigned long,unsigned
>> long,bool,bool,1>::GetRnext(void)"
>> (?GetRnext@?$GeometricalQuadEdge at KK_N_N$00 at itk@@QAEPAV12 at XZ)
>> 1>convertMaskToSmoothMesh.obj : error LNK2019: unresolved external symbol
>> "public: class itk::QuadEdge * __thiscall itk::QuadEdge::GetDnext(void)"
>> (?GetDnext at QuadEdge@itk@@QAEPAV12 at XZ) referenced in function "public: class
>> itk::GeometricalQuadEdge<unsigned long,unsigned long,bool,bool,1> *
>> __thiscall itk::GeometricalQuadEdge<unsigned long,unsigned
>> long,bool,bool,1>::GetDnext(void)"
>> (?GetDnext@?$GeometricalQuadEdge at KK_N_N$00 at itk@@QAEPAV12 at XZ)
>>
>> Thanks
>> Vimal
>>
>> --
>> thanks
>> Vimal Singh
>> PhD Student
>> ECE Dept.
>> Univ of Texas, Austin
>>
>> _____________________________________
>> 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
>>
>>


More information about the Insight-users mailing list