Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
Superclass of all classes having a PlaneGeometryData as input and generating Images as output. More...
#include <mitkPlaneGeometryDataToSurfaceFilter.h>
Public Types | |
typedef PlaneGeometryDataToSurfaceFilter | Self |
typedef SurfaceSource | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
Public Types inherited from mitk::SurfaceSource | |
typedef SurfaceSource | Self |
typedef BaseDataSource | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef Surface | OutputType |
Public Types inherited from mitk::BaseDataSource | |
typedef BaseDataSource | Self |
typedef itk::ProcessObject | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef BaseData | OutputType |
typedef itk::DataObject::DataObjectIdentifierType | DataObjectIdentifierType |
Public Member Functions | |
virtual std::vector< std::string > | GetClassHierarchy () const override |
virtual const char * | GetClassName () const |
Pointer | Clone () const |
virtual void | GenerateOutputInformation () override |
virtual void | GenerateData () override |
const PlaneGeometryData * | GetInput (void) |
const PlaneGeometryData * | GetInput (unsigned int idx) |
virtual void | SetInput (const PlaneGeometryData *image) |
virtual void | SetInput (unsigned int index, const PlaneGeometryData *image) |
virtual bool | GetUseGeometryParametricBounds () |
If true (default), use Geometry3D::GetParametricBounds() to define the resolution in parameter space, otherwise use m_XResolution and m_YResolution. More... | |
virtual void | SetUseGeometryParametricBounds (bool _arg) |
If true (default), use Geometry3D::GetParametricBounds() to define the resolution in parameter space, otherwise use m_XResolution and m_YResolution. More... | |
virtual int | GetXResolution () |
Get x-resolution in parameter space. More... | |
virtual void | SetXResolution (int _arg) |
Set x-resolution in parameter space. More... | |
virtual int | GetYResolution () |
Get y-resolution in parameter space. More... | |
virtual void | SetYResolution (int _arg) |
Set y-resolution in parameter space. More... | |
virtual bool | GetPlaceByGeometry () const |
Get whether the Surface is at the origin and placed using the Geometry. More... | |
virtual void | SetPlaceByGeometry (bool _arg) |
Set whether the Surface is at the origin and placed using the Geometry. More... | |
virtual void | PlaceByGeometryOn () |
virtual void | PlaceByGeometryOff () |
virtual bool | GetUseBoundingBox () const |
virtual void | SetUseBoundingBox (bool _arg) |
virtual void | UseBoundingBoxOn () |
virtual void | UseBoundingBoxOff () |
void | SetBoundingBox (const BoundingBox *boundingBox) |
const BoundingBox * | GetBoundingBox () const |
Public Member Functions inherited from mitk::SurfaceSource | |
Pointer | Clone () const |
OutputType * | GetOutput () |
const OutputType * | GetOutput () const |
OutputType * | GetOutput (DataObjectPointerArraySizeType idx) |
const OutputType * | GetOutput (DataObjectPointerArraySizeType idx) const |
virtual itk::DataObject::Pointer | MakeOutput (DataObjectPointerArraySizeType idx) override |
virtual itk::DataObject::Pointer | MakeOutput (const DataObjectIdentifierType &name) override |
Public Member Functions inherited from mitk::BaseDataSource | |
OutputType * | GetOutput () |
const OutputType * | GetOutput () const |
OutputType * | GetOutput (DataObjectPointerArraySizeType idx) |
const OutputType * | GetOutput (DataObjectPointerArraySizeType idx) const |
virtual void | GraftOutput (OutputType *output) |
Graft the specified BaseData onto this BaseDataSource's output. More... | |
virtual void | GraftOutput (const DataObjectIdentifierType &key, OutputType *output) |
virtual void | GraftNthOutput (unsigned int idx, OutputType *output) |
Graft the specified base data object onto this BaseDataSource's idx'th output. More... | |
bool | Updating () const |
Access itk::ProcessObject::m_Updating. More... | |
Static Public Member Functions | |
static const char * | GetStaticNameOfClass () |
static Pointer | New () |
Static Public Member Functions inherited from mitk::SurfaceSource | |
static const char * | GetStaticNameOfClass () |
static Pointer | New () |
Static Public Member Functions inherited from mitk::BaseDataSource | |
static const char * | GetStaticNameOfClass () |
Protected Member Functions | |
PlaneGeometryDataToSurfaceFilter () | |
virtual | ~PlaneGeometryDataToSurfaceFilter () |
Protected Member Functions inherited from mitk::SurfaceSource | |
SurfaceSource () | |
virtual | ~SurfaceSource () |
Protected Member Functions inherited from mitk::BaseDataSource | |
BaseDataSource () | |
virtual | ~BaseDataSource () |
Protected Attributes | |
vtkPlaneSource * | m_PlaneSource |
Source to create the vtk-representation of the parameter space rectangle of the PlaneGeometry. More... | |
vtkTransformPolyDataFilter * | m_VtkTransformPlaneFilter |
Filter to create the vtk-representation of the PlaneGeometry, which is a transformation of the m_PlaneSource. More... | |
bool | m_UseGeometryParametricBounds |
If true, use Geometry3D::GetParametricBounds() to define the resolution in parameter space, otherwise use m_XResolution and m_YResolution. More... | |
int | m_XResolution |
X-resolution in parameter space. More... | |
int | m_YResolution |
Y-resolution in parameter space. More... | |
bool | m_PlaceByGeometry |
Define whether the Surface is at the origin and placed using the Geometry. More... | |
bool | m_UseBoundingBox |
BoundingBox::ConstPointer | m_BoundingBox |
vtkCubeSource * | m_CubeSource |
vtkTransform * | m_Transform |
vtkTransformPolyDataFilter * | m_PolyDataTransformer |
vtkPlane * | m_Plane |
vtkCutter * | m_PlaneCutter |
vtkStripper * | m_PlaneStripper |
vtkPolyData * | m_PlanePolyData |
vtkPPolyDataNormals * | m_NormalsUpdater |
vtkTriangleFilter * | m_PlaneTriangler |
vtkTextureMapToPlane * | m_TextureMapToPlane |
vtkBox * | m_Box |
vtkClipPolyData * | m_PlaneClipper |
Additional Inherited Members | |
Static Protected Member Functions inherited from mitk::BaseDataSource | |
static Pointer | New () |
Superclass of all classes having a PlaneGeometryData as input and generating Images as output.
Currently implemented for PlaneGeometry and AbstractTransformGeometry. Currently, this class does not really have subclasses, but does the job for itself. It checks which kind of PlaneGeometry is stored in the PlaneGeometryData and - if it knows how - it generates the respective Surface. Of course, this has the disadvantage that for any new type of PlaneGeometry this class (PlaneGeometryDataToSurfaceFilter) has to be changed/extended. The idea is to move the type specific generation code in subclasses, and internally (within this class) use a factory to create an instance of the required subclass and delegate the surface generation to it.
Definition at line 62 of file mitkPlaneGeometryDataToSurfaceFilter.h.
Definition at line 65 of file mitkPlaneGeometryDataToSurfaceFilter.h.
Definition at line 65 of file mitkPlaneGeometryDataToSurfaceFilter.h.
Definition at line 65 of file mitkPlaneGeometryDataToSurfaceFilter.h.
Definition at line 65 of file mitkPlaneGeometryDataToSurfaceFilter.h.
|
protected |
Definition at line 41 of file mitkPlaneGeometryDataToSurfaceFilter.cpp.
References m_Box, m_CubeSource, m_NormalsUpdater, m_Plane, m_PlaneClipper, m_PlaneCutter, m_PlanePolyData, m_PlaneSource, m_PlaneStripper, m_PlaneTriangler, m_PolyDataTransformer, m_TextureMapToPlane, m_Transform, m_VtkTransformPlaneFilter, and mitk::New().
|
protectedvirtual |
Definition at line 69 of file mitkPlaneGeometryDataToSurfaceFilter.cpp.
Pointer mitk::PlaneGeometryDataToSurfaceFilter::Clone | ( | ) | const |
|
overridevirtual |
Definition at line 343 of file mitkPlaneGeometryDataToSurfaceFilter.cpp.
|
overridevirtual |
Definition at line 91 of file mitkPlaneGeometryDataToSurfaceFilter.cpp.
References mitk::eps, mitk::FillVector3D(), mitk::BaseGeometry::GetCornerPoint(), mitk::BaseGeometry::GetExtent(), mitk::TimeGeometry::GetGeometryForTimeStep(), mitk::BaseGeometry::GetIndexToWorldTransform(), mitk::BaseGeometry::GetOrigin(), mitk::PlaneGeometry::GetReferenceGeometry(), mitk::BaseGeometry::GetVtkTransform(), mitk::New(), mitk::BaseGeometry::SetIndexToWorldTransform(), and mitk::BaseGeometry::SetOrigin().
const mitk::BoundingBox * mitk::PlaneGeometryDataToSurfaceFilter::GetBoundingBox | ( | ) | const |
Definition at line 392 of file mitkPlaneGeometryDataToSurfaceFilter.cpp.
|
inlineoverridevirtual |
Reimplemented from mitk::SurfaceSource.
Definition at line 65 of file mitkPlaneGeometryDataToSurfaceFilter.h.
|
virtual |
Reimplemented from mitk::SurfaceSource.
const mitk::PlaneGeometryData * mitk::PlaneGeometryDataToSurfaceFilter::GetInput | ( | void | ) |
Definition at line 355 of file mitkPlaneGeometryDataToSurfaceFilter.cpp.
const mitk::PlaneGeometryData * mitk::PlaneGeometryDataToSurfaceFilter::GetInput | ( | unsigned int | idx | ) |
Definition at line 365 of file mitkPlaneGeometryDataToSurfaceFilter.cpp.
|
virtual |
Get whether the Surface is at the origin and placed using the Geometry.
Default is false, i.e., the transform of the Geometry is the identity, thus the points within the Surface are at their final position. Otherwise (m_PlaceByGeometry==true), the first cornerpoint of the created Surface is at the origin and the actual position is determined by the transform of the Geometry.
|
inlinestatic |
Definition at line 65 of file mitkPlaneGeometryDataToSurfaceFilter.h.
|
virtual |
|
virtual |
If true (default), use Geometry3D::GetParametricBounds() to define the resolution in parameter space, otherwise use m_XResolution and m_YResolution.
|
virtual |
Get x-resolution in parameter space.
The m_PlaneSource will create this many sub-rectangles in x-direction (see vtkPlaneSource::SetXResolution)
|
virtual |
Get y-resolution in parameter space.
The m_PlaneSource will create this many sub-rectangles in y-direction (see vtkPlaneSource::SetYResolution)
|
static |
|
virtual |
|
virtual |
void mitk::PlaneGeometryDataToSurfaceFilter::SetBoundingBox | ( | const BoundingBox * | boundingBox | ) |
Definition at line 386 of file mitkPlaneGeometryDataToSurfaceFilter.cpp.
|
virtual |
Definition at line 370 of file mitkPlaneGeometryDataToSurfaceFilter.cpp.
|
virtual |
Definition at line 376 of file mitkPlaneGeometryDataToSurfaceFilter.cpp.
|
virtual |
Set whether the Surface is at the origin and placed using the Geometry.
Default is false, i.e., the transform of the Geometry is the identity, thus the points within the Surface are at their final position. Otherwise (m_PlaceByGeometry==true), the first cornerpoint of the created Surface is at the origin and the actual position is determined by the transform of the Geometry.
|
virtual |
|
virtual |
If true (default), use Geometry3D::GetParametricBounds() to define the resolution in parameter space, otherwise use m_XResolution and m_YResolution.
|
virtual |
Set x-resolution in parameter space.
The m_PlaneSource will create this many sub-rectangles in x-direction (see vtkPlaneSource::SetXResolution)
|
virtual |
Set y-resolution in parameter space.
The m_PlaneSource will create this many sub-rectangles in y-direction (see vtkPlaneSource::SetYResolution)
|
virtual |
|
virtual |
|
protected |
Definition at line 207 of file mitkPlaneGeometryDataToSurfaceFilter.h.
|
protected |
Definition at line 221 of file mitkPlaneGeometryDataToSurfaceFilter.h.
Referenced by PlaneGeometryDataToSurfaceFilter().
|
protected |
Definition at line 209 of file mitkPlaneGeometryDataToSurfaceFilter.h.
Referenced by PlaneGeometryDataToSurfaceFilter().
|
protected |
Definition at line 217 of file mitkPlaneGeometryDataToSurfaceFilter.h.
Referenced by PlaneGeometryDataToSurfaceFilter().
|
protected |
Define whether the Surface is at the origin and placed using the Geometry.
Default is false, i.e., the transform of the Geometry is the identity, thus the points within the Surface are at their final position. Otherwise (m_PlaceByGeometry==true), the first cornerpoint of the created Surface is at the origin and the actual position is determined by the transform of the Geometry.
Definition at line 203 of file mitkPlaneGeometryDataToSurfaceFilter.h.
|
protected |
Definition at line 213 of file mitkPlaneGeometryDataToSurfaceFilter.h.
Referenced by PlaneGeometryDataToSurfaceFilter().
|
protected |
Definition at line 222 of file mitkPlaneGeometryDataToSurfaceFilter.h.
Referenced by PlaneGeometryDataToSurfaceFilter().
|
protected |
Definition at line 214 of file mitkPlaneGeometryDataToSurfaceFilter.h.
Referenced by PlaneGeometryDataToSurfaceFilter().
|
protected |
Definition at line 216 of file mitkPlaneGeometryDataToSurfaceFilter.h.
Referenced by PlaneGeometryDataToSurfaceFilter().
|
protected |
Source to create the vtk-representation of the parameter space rectangle of the PlaneGeometry.
Definition at line 164 of file mitkPlaneGeometryDataToSurfaceFilter.h.
Referenced by PlaneGeometryDataToSurfaceFilter().
|
protected |
Definition at line 215 of file mitkPlaneGeometryDataToSurfaceFilter.h.
Referenced by PlaneGeometryDataToSurfaceFilter().
|
protected |
Definition at line 218 of file mitkPlaneGeometryDataToSurfaceFilter.h.
Referenced by PlaneGeometryDataToSurfaceFilter().
|
protected |
Definition at line 211 of file mitkPlaneGeometryDataToSurfaceFilter.h.
Referenced by PlaneGeometryDataToSurfaceFilter().
|
protected |
Definition at line 219 of file mitkPlaneGeometryDataToSurfaceFilter.h.
Referenced by PlaneGeometryDataToSurfaceFilter().
|
protected |
Definition at line 210 of file mitkPlaneGeometryDataToSurfaceFilter.h.
Referenced by PlaneGeometryDataToSurfaceFilter().
|
protected |
Definition at line 205 of file mitkPlaneGeometryDataToSurfaceFilter.h.
|
protected |
If true, use Geometry3D::GetParametricBounds() to define the resolution in parameter space, otherwise use m_XResolution and m_YResolution.
Definition at line 174 of file mitkPlaneGeometryDataToSurfaceFilter.h.
|
protected |
Filter to create the vtk-representation of the PlaneGeometry, which is a transformation of the m_PlaneSource.
Definition at line 169 of file mitkPlaneGeometryDataToSurfaceFilter.h.
Referenced by PlaneGeometryDataToSurfaceFilter().
|
protected |
X-resolution in parameter space.
The m_PlaneSource will create this many sub-rectangles in x-direction (see vtkPlaneSource::SetXResolution)
Definition at line 184 of file mitkPlaneGeometryDataToSurfaceFilter.h.
|
protected |
Y-resolution in parameter space.
The m_PlaneSource will create this many sub-rectangles in y-direction (see vtkPlaneSource::SetYResolution)
Definition at line 193 of file mitkPlaneGeometryDataToSurfaceFilter.h.