#include <itkArrowSpatialObject.h>
Inheritance diagram for itk::ArrowSpatialObject< TDimension >:
Public Types | |
typedef ArrowSpatialObject | Self |
typedef SpatialObject< TDimension > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef double | ScalarType |
typedef Vector< double, TDimension > | VectorType |
typedef Point< double, TDimension > | PointType |
typedef Superclass::TransformType | TransformType |
typedef TransformType::MatrixType | MatrixType |
Public Member Functions | |
virtual const char * | GetNameOfClass () const |
virtual PointType | GetPosition () const |
void | SetPosition (float x, float y) |
void | SetPosition (float x, float y, float z) |
virtual VectorType | GetDirection () const |
void | SetDirection (float x, float y) |
void | SetDirection (float x, float y, float z) |
virtual double | GetLength () |
double | GetLenght () |
bool | ComputeLocalBoundingBox () const |
bool | IsInside (const PointType &point, unsigned int depth, char *name) const |
virtual bool | IsInside (const PointType &point) const |
void | SetPosition (const PointType &p) |
void | SetDirection (const VectorType &d) |
void | SetLength (double length) |
void | SetLenght (double length) |
Static Public Member Functions | |
Pointer | New () |
Protected Member Functions | |
ArrowSpatialObject () | |
virtual | ~ArrowSpatialObject () |
void | UpdateTransform () |
virtual void | PrintSelf (std::ostream &os, Indent indent) const |
A ArrowSpatialObject represents a Arrow by serving as the parent of the elements of the Arrow. Since any itk::SpatialObject can have children (see SpatialObject::GetChildren()), this class needs no additional methods.
Definition at line 40 of file itkArrowSpatialObject.h.
|
Reimplemented from itk::SpatialObject< TDimension >. Definition at line 49 of file itkArrowSpatialObject.h. |
|
Definition at line 54 of file itkArrowSpatialObject.h. |
|
Reimplemented from itk::SpatialObject< TDimension >. Definition at line 48 of file itkArrowSpatialObject.h. |
|
Reimplemented from itk::SpatialObject< TDimension >. Definition at line 52 of file itkArrowSpatialObject.h. Referenced by itk::ArrowSpatialObject< TDimension >::GetLenght(), and itk::ArrowSpatialObject< TDimension >::SetPosition(). |
|
Reimplemented from itk::SpatialObject< TDimension >. Definition at line 50 of file itkArrowSpatialObject.h. |
|
Standard class typedefs. Reimplemented from itk::SpatialObject< TDimension >. Definition at line 46 of file itkArrowSpatialObject.h. |
|
Reimplemented from itk::SpatialObject< TDimension >. Definition at line 47 of file itkArrowSpatialObject.h. |
|
Reimplemented from itk::SpatialObject< TDimension >. Definition at line 53 of file itkArrowSpatialObject.h. |
|
Reimplemented from itk::SpatialObject< TDimension >. Definition at line 51 of file itkArrowSpatialObject.h. Referenced by itk::ArrowSpatialObject< TDimension >::GetLenght(). |
|
|
|
|
|
Compute the local bounding box Reimplemented from itk::SpatialObject< TDimension >. |
|
|
|
Get the length of the arrow. NOTE the misspelling of length. This method is included for backward compatibility. Definition at line 124 of file itkArrowSpatialObject.h. References itk::ArrowSpatialObject< TDimension >::PointType, and itk::ArrowSpatialObject< TDimension >::VectorType. |
|
Get the length of the arrow |
|
Method for creation through the object factory. 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 the line, false otherwise. Reimplemented from itk::SpatialObject< TDimension >. |
|
Method for creation through the object factory. Reimplemented from itk::SpatialObject< TDimension >. |
|
Method to print the object. Reimplemented from itk::SpatialObject< TDimension >. |
|
Definition at line 106 of file itkArrowSpatialObject.h. |
|
Definition at line 99 of file itkArrowSpatialObject.h. |
|
Set the direction of the arrow Definition at line 90 of file itkArrowSpatialObject.h. References itk::ArrowSpatialObject< TDimension >::UpdateTransform(). |
|
Set the length of the arrow Definition at line 116 of file itkArrowSpatialObject.h. |
|
Set the length of the arrow |
|
Definition at line 81 of file itkArrowSpatialObject.h. References itk::ArrowSpatialObject< TDimension >::UpdateTransform(). |
|
Definition at line 74 of file itkArrowSpatialObject.h. References itk::ArrowSpatialObject< TDimension >::UpdateTransform(). |
|
Set the position of the arrow Definition at line 65 of file itkArrowSpatialObject.h. References itk::ArrowSpatialObject< TDimension >::PointType, and itk::ArrowSpatialObject< TDimension >::UpdateTransform(). |
|
Update the transformation given the position and the direction Referenced by itk::ArrowSpatialObject< TDimension >::SetDirection(), and itk::ArrowSpatialObject< TDimension >::SetPosition(). |