Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itkCellInterface.h File Reference

Go to the source code of this file.

Namespaces

namespace  itk

Classes

class  itk::CellInterface< TPixelType, TCellTraits >
class  itk::CellInterface< TPixelType, TCellTraits >::MultiVisitor
 A visitor that can visit different cell types in a mesh. CellInterfaceVisitor instances can be registered for each type of cell that needs to be visited. More...
class  itk::CellTraitsInfo< VPointDimension, TCoordRep, TInterpolationWeight, TPointIdentifier, TCellIdentifier, TCellFeatureIdentifier, TPoint, TPointsContainer, TUsingCellsContainer >
 A simple utility class to define the cell type inside a mesh type structure definition. This just makes a copy of existing type information that is needed for a cell type template parameter. More...

Defines

#define itkCellCommonTypedefs(celltype)
#define itkCellInheritedTypedefs(superclassArg)
#define itkCellVisitMacro(TopologyId)
#define itkMakeCellTraitsMacro


Define Documentation

#define itkCellCommonTypedefs ( celltype   ) 

Value:

typedef celltype                  Self;   \
  typedef AutoPointer<const Self>   ConstSelfAutoPointer;  \
  typedef AutoPointer<Self>         SelfAutoPointer;   \
  typedef Self *                    RawPointer;        \
  typedef const Self *              ConstRawPointer;   \
  SelfAutoPointer   New(void) {                        \
                SelfAutoPointer ptr( new celltype );   \
                ptr.TakeOwnership();                   \
                return ptr;                            \
                }                                      \

Definition at line 49 of file itkCellInterface.h.

#define itkCellInheritedTypedefs ( superclassArg   ) 

Value:

typedef superclassArg                                Superclass; \
  typedef typename Superclass::PixelType               PixelType;  \
  typedef typename Superclass::CellType                CellType;  \
  typedef typename Superclass::CellAutoPointer         CellAutoPointer;  \
  typedef typename Superclass::CellConstAutoPointer    CellConstAutoPointer;  \
  typedef typename Superclass::CellRawPointer          CellRawPointer;  \
  typedef typename Superclass::CellConstRawPointer     CellConstRawPointer;  \
  typedef typename Superclass::CellTraits              CellTraits;  \
  typedef typename Superclass::CoordRepType            CoordRepType;  \
  typedef typename Superclass::InterpolationWeightType \
                                                     InterpolationWeightType; \
  typedef typename Superclass::PointIdentifier         PointIdentifier; \
  typedef typename Superclass::PointIdIterator         PointIdIterator; \
  typedef typename Superclass::PointIdConstIterator    PointIdConstIterator; \
  typedef typename Superclass::CellIdentifier          CellIdentifier; \
  typedef typename Superclass::CellFeatureIdentifier   CellFeatureIdentifier; \
  typedef typename Superclass::CellFeatureIdentifier   CellFeatureCount; \
  typedef typename Superclass::PointType               PointType; \
  typedef typename Superclass::VectorType              VectorType; \
  typedef typename Superclass::PointsContainer         PointsContainer; \
  typedef typename Superclass::UsingCellsContainer     UsingCellsContainer; \
  typedef typename Superclass::CellGeometry            CellGeometry;  \
  typedef typename Superclass::ParametricCoordArrayType  \
                                                  ParametricCoordArrayType;  \
  typedef typename Superclass::ShapeFunctionsArrayType   \
                                                   ShapeFunctionsArrayType;  \
  itkStaticConstMacro(PointDimension, unsigned int, Superclass::PointDimension)

Definition at line 66 of file itkCellInterface.h.

#define itkCellVisitMacro ( TopologyId   ) 

Value:

static int GetTopologyId() {return TopologyId;}\
virtual void Accept(unsigned long cellid, typename CellInterface<PixelType,\
                                               CellTraits>::MultiVisitor* mv)\
{\
  typename CellInterfaceVisitor<PixelType, CellTraits>::Pointer v = \
                                           mv->GetVisitor(TopologyId);\
  if(v)\
    {\
    v->VisitFromCell(cellid, this);\
    }\
}

Definition at line 31 of file itkCellInterface.h.

#define itkMakeCellTraitsMacro

Value:

CellTraitsInfo<itkGetStaticConstMacro(PointDimension), CoordRepType, \
               InterpolationWeightType,  \
               PointIdentifier, CellIdentifier, CellFeatureIdentifier, \
               PointType, PointsContainer, UsingCellsContainer>

Definition at line 490 of file itkCellInterface.h.


Generated at Thu May 28 12:09:13 2009 for ITK by doxygen 1.5.5 written by Dimitri van Heesch, © 1997-2000