ITK
4.9.0
Insight Segmentation and Registration Toolkit
|
#include <itkVTKPolyDataReader.h>
Reads a vtkPolyData file and create an itkMesh.
Caveat1: itkVTKPolyDataReader can only read triangle meshes. Use vtkTriangleFilter to convert your mesh to a triangle mesh. Caviet2: itkVTKPolyDataReader can only read vtk legacy files. Caveat3: itkVTKPolyDataReader cannot read binary vtk files.
This class may be deprecated in the future. The MeshFileReader is preferred.
Definition at line 45 of file itkVTKPolyDataReader.h.
Public Types | |
typedef OutputMeshType::CellAutoPointer | CellAutoPointer |
typedef OutputMeshType::CellIdentifier | CellIdentifier |
typedef OutputMeshType::CellTraits | CellTraits |
typedef OutputMeshType::CellType | CellType |
typedef SmartPointer< const Self > | ConstPointer |
typedef std::pair < IdentifierType, IdentifierType > | IndexPairType |
typedef OutputMeshType::MeshTraits | MeshTraits |
typedef OutputMeshType::Pointer | OutputMeshPointer |
typedef TOutputMesh | OutputMeshType |
typedef MeshTraits::PixelType | PixelType |
typedef SmartPointer< Self > | Pointer |
typedef OutputMeshType::PointIdentifier | PointIdentifier |
typedef CellTraits::PointIdIterator | PointIdIterator |
typedef MapContainer < IndexPairType, IdentifierType > | PointMapType |
typedef OutputMeshType::PointsContainer | PointsContainer |
typedef OutputMeshType::PointsContainerPointer | PointsContainerPointer |
typedef OutputMeshType::PointType | PointType |
typedef VTKPolyDataReader | Self |
typedef MeshSource< TOutputMesh > | Superclass |
typedef TriangleCellType::SelfAutoPointer | TriangleCellAutoPointer |
typedef TriangleCell< CellType > | TriangleCellType |
typedef PointType::VectorType | VectorType |
Public Types inherited from itk::MeshSource< TOutputMesh > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::DataObjectIdentifierType | DataObjectIdentifierType |
typedef DataObject::Pointer | DataObjectPointer |
typedef OutputMeshType::Pointer | OutputMeshPointer |
typedef TOutputMesh | OutputMeshType |
typedef SmartPointer< Self > | Pointer |
typedef MeshSource | Self |
typedef ProcessObject | Superclass |
typedef ProcessObject::DataObjectPointerArraySizeType | DataObjectPointerArraySizeType |
Public Types inherited from itk::ProcessObject | |
typedef SmartPointer< const Self > | ConstPointer |
typedef DataObject::DataObjectIdentifierType | DataObjectIdentifierType |
typedef DataObject::Pointer | DataObjectPointer |
typedef std::vector < DataObjectPointer > | DataObjectPointerArray |
typedef DataObjectPointerArray::size_type | DataObjectPointerArraySizeType |
typedef std::vector < DataObjectIdentifierType > | NameArray |
typedef SmartPointer< Self > | Pointer |
typedef ProcessObject | Self |
typedef Object | Superclass |
Public Types inherited from itk::Object | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef Object | Self |
typedef LightObject | Superclass |
Public Types inherited from itk::LightObject | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef LightObject | Self |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::MeshSource< TOutputMesh > | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Private Member Functions | |
void | operator= (const Self &) ITK_DELETE_FUNCTION |
VTKPolyDataReader (const Self &) ITK_DELETE_FUNCTION | |
Private Attributes | |
std::string | m_FileName |
std::string | m_Header |
std::string | m_Version |
Additional Inherited Members | |
Protected Attributes inherited from itk::ProcessObject | |
TimeStamp | m_OutputInformationMTime |
bool | m_Updating |
Protected Attributes inherited from itk::LightObject | |
AtomicInt< int > | m_ReferenceCount |
typedef OutputMeshType::CellAutoPointer itk::VTKPolyDataReader< TOutputMesh >::CellAutoPointer |
Definition at line 71 of file itkVTKPolyDataReader.h.
typedef OutputMeshType::CellIdentifier itk::VTKPolyDataReader< TOutputMesh >::CellIdentifier |
Definition at line 69 of file itkVTKPolyDataReader.h.
typedef OutputMeshType::CellTraits itk::VTKPolyDataReader< TOutputMesh >::CellTraits |
Definition at line 68 of file itkVTKPolyDataReader.h.
typedef OutputMeshType::CellType itk::VTKPolyDataReader< TOutputMesh >::CellType |
Definition at line 70 of file itkVTKPolyDataReader.h.
typedef SmartPointer< const Self > itk::VTKPolyDataReader< TOutputMesh >::ConstPointer |
Definition at line 52 of file itkVTKPolyDataReader.h.
typedef std::pair< IdentifierType, IdentifierType > itk::VTKPolyDataReader< TOutputMesh >::IndexPairType |
Definition at line 83 of file itkVTKPolyDataReader.h.
typedef OutputMeshType::MeshTraits itk::VTKPolyDataReader< TOutputMesh >::MeshTraits |
Definition at line 62 of file itkVTKPolyDataReader.h.
typedef OutputMeshType::Pointer itk::VTKPolyDataReader< TOutputMesh >::OutputMeshPointer |
Some convenient typedefs.
Definition at line 67 of file itkVTKPolyDataReader.h.
typedef TOutputMesh itk::VTKPolyDataReader< TOutputMesh >::OutputMeshType |
Hold on to the type information specified by the template parameters.
Definition at line 58 of file itkVTKPolyDataReader.h.
typedef MeshTraits::PixelType itk::VTKPolyDataReader< TOutputMesh >::PixelType |
Definition at line 64 of file itkVTKPolyDataReader.h.
typedef SmartPointer< Self > itk::VTKPolyDataReader< TOutputMesh >::Pointer |
Definition at line 51 of file itkVTKPolyDataReader.h.
typedef OutputMeshType::PointIdentifier itk::VTKPolyDataReader< TOutputMesh >::PointIdentifier |
Definition at line 72 of file itkVTKPolyDataReader.h.
typedef CellTraits::PointIdIterator itk::VTKPolyDataReader< TOutputMesh >::PointIdIterator |
Definition at line 73 of file itkVTKPolyDataReader.h.
typedef MapContainer< IndexPairType, IdentifierType > itk::VTKPolyDataReader< TOutputMesh >::PointMapType |
Definition at line 84 of file itkVTKPolyDataReader.h.
typedef OutputMeshType::PointsContainer itk::VTKPolyDataReader< TOutputMesh >::PointsContainer |
Definition at line 76 of file itkVTKPolyDataReader.h.
typedef OutputMeshType::PointsContainerPointer itk::VTKPolyDataReader< TOutputMesh >::PointsContainerPointer |
Definition at line 75 of file itkVTKPolyDataReader.h.
typedef OutputMeshType::PointType itk::VTKPolyDataReader< TOutputMesh >::PointType |
Definition at line 63 of file itkVTKPolyDataReader.h.
typedef VTKPolyDataReader itk::VTKPolyDataReader< TOutputMesh >::Self |
Standard "Self" typedef.
Definition at line 49 of file itkVTKPolyDataReader.h.
typedef MeshSource< TOutputMesh > itk::VTKPolyDataReader< TOutputMesh >::Superclass |
Definition at line 50 of file itkVTKPolyDataReader.h.
typedef TriangleCellType::SelfAutoPointer itk::VTKPolyDataReader< TOutputMesh >::TriangleCellAutoPointer |
Definition at line 81 of file itkVTKPolyDataReader.h.
typedef TriangleCell< CellType > itk::VTKPolyDataReader< TOutputMesh >::TriangleCellType |
Define the triangular cell types which form the surface
Definition at line 79 of file itkVTKPolyDataReader.h.
typedef PointType::VectorType itk::VTKPolyDataReader< TOutputMesh >::VectorType |
Definition at line 85 of file itkVTKPolyDataReader.h.
|
protected |
|
inlineprotected |
Definition at line 104 of file itkVTKPolyDataReader.h.
|
private |
Filename to read
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::MeshSource< TOutputMesh >.
|
overrideprotectedvirtual |
Reads the file
Reimplemented from itk::ProcessObject.
|
virtual |
Set the resolution level to be used for generating cells in the Sphere. High values of this parameter will produce sphere with more triangles. Set/Get the name of the file to be read.
|
virtual |
Get the file header line
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::MeshSource< TOutputMesh >.
|
virtual |
Get the file version line
|
static |
Method for creation through the object factory.
|
private |
|
overrideprotectedvirtual |
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::MeshSource< TOutputMesh >.
|
virtual |
Set the resolution level to be used for generating cells in the Sphere. High values of this parameter will produce sphere with more triangles. Set/Get the name of the file to be read.
|
private |
Definition at line 116 of file itkVTKPolyDataReader.h.
|
private |
Definition at line 117 of file itkVTKPolyDataReader.h.
|
private |
Definition at line 118 of file itkVTKPolyDataReader.h.