[Insight-developers] itk::Mesh and Cell template parameters

Ting Chen chenting@graphics.cis.upenn.edu
Tue, 13 Mar 2001 18:15:02 -0600


Hi! Brad, although you must have plenty of reasons to make this kind of
modification, I still doubt is it ok to change the structure name this
often, especially when the modifications make not too much sense.
ting
-----Original Message-----
From: Brad King <brad.king@kitware.com>
To: Insight Developers <insight-developers@public.kitware.com>
Date: Tuesday, March 13, 2001 1:23 PM
Subject: [Insight-developers] itk::Mesh and Cell template parameters


>Hello, all:
>
>Those of you working on development related to the Mesh class and its
>Cells should note that I have renamed some template parameters.  The
>second template parameter of the Mesh and Cell classes were called
>"MeshType" and "CellType", but the classes that are passed to them are
>simply full of typedefs and enums.  They play the role of "trait" classes,
>so I have renamed the template parameters to "MeshTraits" and
>"CellTraits".  The default trait classes "itk::DefaultStaticMeshType" and
>"itk::DefaultDynamicMeshType" have been renamed accordingly.
>
>If anyone has any code that used the old names (that isn't checked in),
>you will have to update it to work with the new names.  Also, anyone who
>has created additional trait classes should rename them accordingly as
>well (MyMeshType -> MyMeshTraits).
>
>-Brad
>
>
>
>_______________________________________________
>Insight-developers mailing list
>Insight-developers@public.kitware.com
>http://public.kitware.com/mailman/listinfo/insight-developers