#include <itkMeshSpatialObject.h>
Inheritance diagram for itk::MeshSpatialObject< TMesh >:
Public Types | |
typedef double | ScalarType |
typedef MeshSpatialObject< TMesh > | Self |
typedef SpatialObject< itkGetStaticConstMacro(Dimension) | Superclass ) |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef TMesh | MeshType |
typedef MeshType::Pointer | MeshPointer |
typedef Superclass::TransformType | TransformType |
typedef Superclass::PointType | PointType |
typedef Superclass::BoundingBoxType | BoundingBoxType |
typedef VectorContainer< unsigned long, PointType > | PointContainerType |
typedef PointContainerType::Pointer | PointContainerPointer |
Public Member Functions | |
itkStaticConstMacro (Dimension, unsigned int, TMesh::PointDimension) | |
virtual const char * | GetNameOfClass () const |
void | SetMesh (MeshType *Mesh) |
MeshType * | GetMesh (void) |
bool | IsEvaluableAt (const PointType &point, unsigned int depth=0, char *name=NULL) const |
bool | ValueAt (const PointType &point, double &value, unsigned int depth=0, char *name=NULL) const |
bool | IsInside (const PointType &point, unsigned int depth, char *name) const |
virtual bool | IsInside (const PointType &point) const |
bool | ComputeLocalBoundingBox () const |
unsigned long | GetMTime (void) const |
const char * | GetPixelType () |
virtual void | SetIsInsidePrecision (double _arg) |
virtual double | GetIsInsidePrecision () |
Static Public Member Functions | |
Pointer | New () |
Protected Member Functions | |
MeshSpatialObject () | |
virtual | ~MeshSpatialObject () |
void | PrintSelf (std::ostream &os, Indent indent) const |
Protected Attributes | |
MeshPointer | m_Mesh |
std::string | m_PixelType |
double | m_IsInsidePrecision |
This class combines functionnalities from a spatial object, and an itkMesh.
Definition at line 38 of file itkMeshSpatialObject.h.
|
Reimplemented from itk::SpatialObject< TDimension >. Definition at line 57 of file itkMeshSpatialObject.h. |
|
Reimplemented from itk::SpatialObject< TDimension >. Definition at line 51 of file itkMeshSpatialObject.h. |
|
Definition at line 54 of file itkMeshSpatialObject.h. |
|
Definition at line 53 of file itkMeshSpatialObject.h. |
|
Definition at line 60 of file itkMeshSpatialObject.h. |
|
Definition at line 59 of file itkMeshSpatialObject.h. |
|
Reimplemented from itk::SpatialObject< TDimension >. Definition at line 50 of file itkMeshSpatialObject.h. |
|
Reimplemented from itk::SpatialObject< TDimension >. Definition at line 56 of file itkMeshSpatialObject.h. |
|
Reimplemented from itk::SpatialObject< TDimension >. Definition at line 44 of file itkMeshSpatialObject.h. |
|
Standard class typedefs. Reimplemented from itk::SpatialObject< TDimension >. Definition at line 45 of file itkMeshSpatialObject.h. |
|
Reimplemented from itk::SpatialObject< TDimension >. Definition at line 49 of file itkMeshSpatialObject.h. |
|
Reimplemented from itk::SpatialObject< TDimension >. Definition at line 55 of file itkMeshSpatialObject.h. |
|
|
|
|
|
Compute the boundaries of the iamge spatial object. Reimplemented from itk::SpatialObject< TDimension >. |
|
Set/Get the precision for the IsInside function. This is used when the cell is a triangle, in this case, it's more likely that the given point will not be falling exactly on the triangle surface. If the distance from the point to the surface is <= to m_IsInsidePrecision the point is considered inside the mesh. The default value is 1. |
|
Get a pointer to the Mesh currently attached to the object. |
|
Returns the latest modified time of the object and its component. Reimplemented from itk::SpatialObject< TDimension >. |
|
Run-time type information (and related methods). Reimplemented from itk::SpatialObject< TDimension >. |
|
Return the type of pixel used Definition at line 101 of file itkMeshSpatialObject.h. References itk::MeshSpatialObject< TMesh >::m_PixelType. |
|
Return true if the object is evaluable at the requested point, and else otherwise. Reimplemented from itk::SpatialObject< TDimension >. |
|
Test whether a point is inside or outside the object For computational speed purposes, it is faster if the method does not check the name of the class and the current depth |
|
Returns true if the point is inside, false otherwise. Reimplemented from itk::SpatialObject< TDimension >. |
|
|
|
Method for creation through the object factory. Reimplemented from itk::SpatialObject< TDimension >. |
|
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes. Reimplemented from itk::SpatialObject< TDimension >. |
|
Set/Get the precision for the IsInside function. This is used when the cell is a triangle, in this case, it's more likely that the given point will not be falling exactly on the triangle surface. If the distance from the point to the surface is <= to m_IsInsidePrecision the point is considered inside the mesh. The default value is 1. |
|
Set the Mesh. |
|
Returns the value of the Mesh at the requested point. If the point is not inside the object, then an exception is thrown.
Reimplemented from itk::SpatialObject< TDimension >. |
|
Definition at line 118 of file itkMeshSpatialObject.h. |
|
Definition at line 116 of file itkMeshSpatialObject.h. |
|
Definition at line 117 of file itkMeshSpatialObject.h. Referenced by itk::MeshSpatialObject< TMesh >::GetPixelType(). |