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

Alexandre GOUAILLARD agouaillard at gmail.com
Tue Aug 23 01:31:48 EDT 2011


great,

do not hesitate to ask questions on the mailing list if you have other
trouble ;-)

alex.


On Tue, Aug 23, 2011 at 12:09 PM, Vimal Singh <vimal.singh at utexas.edu> wrote:
> Yes. It works fine now.
>
> thanks
> Vimal Singh
> PhD Student
> ECE Dept.
> Univ of Texas, Austin
>
> On 8/22/2011 12:18 PM, Alex Gouaillard wrote:
>
> Hello,
> No, you need to enable review that the quadedge lib is added to the list of
> itklibraries.
> That should do the trick
> Alex
>
> Sent from my iPad
> On Aug 22, 2011, at 11:10 PM, Vimal Singh <vimal.singh at utexas.edu> wrote:
>
> No, I think I did not.But I do explicitly include the path to
> $(ITK_SOURCE_DIR)/Code/Review. isn't itkQuadMesh a templatized class ? I
> thought including the header should lead to its dynamic class association
> and building ?
>
>
> Thanks
> Vimal
>
>
>
> On Mon, Aug 22, 2011 at 10:50 AM, Alexandre GOUAILLARD
> <agouaillard at gmail.com> wrote:
>>
>> did you enable ITK_USE_REVIEW during the configuration of ITK?
>>
>> alex.
>>
>>
>> On Mon, Aug 22, 2011 at 9:22 PM, Vimal Singh <vimal.singh at utexas.edu>
>> wrote:
>> > 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