itk::ParticleGeneralShapeMatrix
Each column describes a shape. A shape may be composed of m_DomainsPerShape domains (default 1). ALL DOMAINS ARE NOT ASSUMED TO HAVE THE SAME NUMBER OF PARTICLES! More...
#include <itkParticleGeneralShapeMatrix.h>
Inherits from vnl_matrix< T >, itk::ParticleAttribute< VDimension >
Public Types
Name | |
---|---|
typedef T | DataType |
typedef ParticleGeneralShapeMatrix | Self |
typedef ParticleAttribute< VDimension > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef WeakPointer< const Self > | ConstWeakPointer |
typedef ParticleSystem | ParticleSystemType |
Public Functions
Name | |
---|---|
itkNewMacro(Self ) | |
virtual ParticleAttribute void | BeforeIteration() |
virtual void | AfterIteration() |
void | SetDomainsPerShape(int i) |
int | GetDomainsPerShape() const |
void | SetAttributesPerDomain(const std::vector< int > & i) |
void | SetAttributeScales(const std::vector< double > & s) |
void | SetXYZ(int i, bool val) |
void | SetNormals(int i, bool val) |
virtual void | SetMatrix(const vnl_matrix< T > & m) |
virtual void | ResizeMatrix(int rs, int cs) |
virtual void | DomainAddEventCallback(Object * , const EventObject & e) |
void | SetValues(const ParticleSystemType * ps, int idx, int d) |
virtual void | PositionAddEventCallback(Object * o, const EventObject & e) |
virtual void | PositionSetEventCallback(Object * o, const EventObject & e) |
virtual void | PositionRemoveEventCallback(Object * , const EventObject & ) |
void | PrintMatrix() |
bool | CheckForNans() |
Protected Functions
Name | |
---|---|
ParticleGeneralShapeMatrix() | |
virtual | ~ParticleGeneralShapeMatrix() |
void | PrintSelf(std::ostream & os, Indent indent) const |
Protected Attributes
Name | |
---|---|
int | m_DomainsPerShape |
Additional inherited members
Public Classes inherited from itk::ParticleAttribute< VDimension >
Name | |
---|---|
struct | DefinedCallbacksStruct |
Public Functions inherited from itk::ParticleAttribute< VDimension >
Name | |
---|---|
itkTypeMacro(ParticleAttribute , DataObject ) | |
virtual void | EventCallback(Object * , const EventObject & ) |
virtual void | EventWithIndexCallback(Object * , const EventObject & ) |
virtual void | TransformSetEventCallback(Object * , const EventObject & ) |
virtual void | PrefixTransformSetEventCallback(Object * , const EventObject & ) |
virtual void | NeighborhoodSetEventCallback(Object * , const EventObject & ) |
Protected Functions inherited from itk::ParticleAttribute< VDimension >
Name | |
---|---|
ParticleAttribute() | |
virtual | ~ParticleAttribute() |
Public Attributes inherited from itk::ParticleAttribute< VDimension >
Name | |
---|---|
DefinedCallbacksStruct | m_DefinedCallbacks |
Detailed Description
template <class T ,
unsigned int VDimension>
class itk::ParticleGeneralShapeMatrix;
Each column describes a shape. A shape may be composed of m_DomainsPerShape domains (default 1). ALL DOMAINS ARE NOT ASSUMED TO HAVE THE SAME NUMBER OF PARTICLES!
Each column represents a single shape.
Public Types Documentation
typedef DataType
typedef T itk::ParticleGeneralShapeMatrix< T, VDimension >::DataType;
Standard class typedefs
typedef Self
typedef ParticleGeneralShapeMatrix itk::ParticleGeneralShapeMatrix< T, VDimension >::Self;
typedef Superclass
typedef ParticleAttribute<VDimension> itk::ParticleGeneralShapeMatrix< T, VDimension >::Superclass;
typedef Pointer
typedef SmartPointer<Self> itk::ParticleGeneralShapeMatrix< T, VDimension >::Pointer;
typedef ConstPointer
typedef SmartPointer<const Self> itk::ParticleGeneralShapeMatrix< T, VDimension >::ConstPointer;
typedef ConstWeakPointer
typedef WeakPointer<const Self> itk::ParticleGeneralShapeMatrix< T, VDimension >::ConstWeakPointer;
typedef ParticleSystemType
typedef ParticleSystem itk::ParticleGeneralShapeMatrix< T, VDimension >::ParticleSystemType;
Public Functions Documentation
function itkNewMacro
itkNewMacro(
Self
)
Method for creation through the object factory. Run-time type information (and related methods).
function BeforeIteration
inline virtual ParticleAttribute void BeforeIteration()
function AfterIteration
inline virtual void AfterIteration()
function SetDomainsPerShape
inline void SetDomainsPerShape(
int i
)
Set/Get the number of domains per shape. This can only be safely done before shapes are initialized with points!
function GetDomainsPerShape
inline int GetDomainsPerShape() const
function SetAttributesPerDomain
inline void SetAttributesPerDomain(
const std::vector< int > & i
)
function SetAttributeScales
inline void SetAttributeScales(
const std::vector< double > & s
)
function SetXYZ
inline void SetXYZ(
int i,
bool val
)
function SetNormals
inline void SetNormals(
int i,
bool val
)
function SetMatrix
inline virtual void SetMatrix(
const vnl_matrix< T > & m
)
function ResizeMatrix
inline virtual void ResizeMatrix(
int rs,
int cs
)
function DomainAddEventCallback
inline virtual void DomainAddEventCallback(
Object * ,
const EventObject & e
)
Reimplements: itk::ParticleAttribute::DomainAddEventCallback
function SetValues
inline void SetValues(
const ParticleSystemType * ps,
int idx,
int d
)
function PositionAddEventCallback
inline virtual void PositionAddEventCallback(
Object * o,
const EventObject & e
)
Reimplements: itk::ParticleAttribute::PositionAddEventCallback
function PositionSetEventCallback
inline virtual void PositionSetEventCallback(
Object * o,
const EventObject & e
)
Reimplements: itk::ParticleAttribute::PositionSetEventCallback
function PositionRemoveEventCallback
inline virtual void PositionRemoveEventCallback(
Object * ,
const EventObject &
)
Reimplements: itk::ParticleAttribute::PositionRemoveEventCallback
function PrintMatrix
inline void PrintMatrix()
function CheckForNans
inline bool CheckForNans()
Protected Functions Documentation
function ParticleGeneralShapeMatrix
inline ParticleGeneralShapeMatrix()
function ~ParticleGeneralShapeMatrix
inline virtual ~ParticleGeneralShapeMatrix()
function PrintSelf
inline void PrintSelf(
std::ostream & os,
Indent indent
) const
Protected Attributes Documentation
variable m_DomainsPerShape
int m_DomainsPerShape;
Updated on 2022-07-23 at 16:40:05 -0600