ITK  4.13.0
Insight Segmentation and Registration Toolkit
itkBioCellularAggregateBase.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright Insight Software Consortium
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0.txt
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  *=========================================================================*/
18 #ifndef itkBioCellularAggregateBase_h
19 #define itkBioCellularAggregateBase_h
20 
21 #include "itkIntTypes.h"
22 #include "itkObject.h"
23 #include "itkObjectFactory.h"
24 #include "ITKBioCellExport.h"
25 
26 namespace itk
27 {
28 namespace bio
29 {
30 // Forward reference because of circular dependencies
31 class ITK_FORWARD_EXPORT CellBase;
32 
40 class ITKBioCell_EXPORT CellularAggregateBase:public Object
41 {
42 public:
45  typedef Object Superclass;
48 
49 /*** Run-time type information (and related methods). */
50  itkTypeMacro(BioCellularAggregateBase, Object);
51 
53  itkNewMacro(Self);
54 
56  typedef float ImagePixelType;
58 
59 public:
60  virtual void Add(CellBase *cellA, CellBase *cellB, double perturbationLength);
61 
62  virtual void Remove(CellBase *cell);
63 
64  virtual SubstrateValueType GetSubstrateValue(IdentifierType cellId,
65  unsigned int substrateId) const;
66 
67 protected:
69  virtual ~CellularAggregateBase() ITK_OVERRIDE;
70  CellularAggregateBase(const Self &);
71  virtual void PrintSelf(std::ostream & os, Indent indent) const ITK_OVERRIDE;
72 };
73 } // end namespace bio
74 } // end namespace itk
75 
76 #endif
Light weight base class for most itk classes.
SizeValueType IdentifierType
Definition: itkIntTypes.h:147
Base class for the CellularAggregates.
Non-templated Base class from which the templated Cell classes will be derived.
Control indentation during Print() invocation.
Definition: itkIndent.h:49
Base class for most ITK classes.
Definition: itkObject.h:59