[Insight-developers] IRIX64-6.5-CC-n32-Continuous errors and
CastImageFilter
Brad King
brad . king at kitware . com
Mon, 5 Aug 2002 13:19:33 -0400 (EDT)
> In itkFEMGenerateMesh.h, just below the class definition of
> GenerateMesh, but before closing the fem or itk namespaces, add these
> lines:
>
> template<>
> void
> GenerateMesh<Element2DC0LinearQuadrilateral>
> ::Rectangular(ElementType::ConstPointer e0, Solver& S,
> VectorType& orig, VectorType& size,
> VectorType& Nel);
>
> template<>
> void
> GenerateMesh<Element3DC0LinearHexahedron>
> ::Rectangular(ElementType::ConstPointer e0, Solver& S,
> VectorType& orig, VectorType& size,
> VectorType& Nel);
Oh, but for these lines to compile, the classes
Element2DC0LinearQuadrilateral and Element3DC0LinearHexahedron also need
to be forward-declared if they are not available.
-Brad