#include <itkPolyData.h>
Geometry class compatible with vtk.js PolyData.
Definition at line 35 of file itkPolyData.h.
Inheritance diagram for itk::PolyData< TPixel, TCellPixel >:
Collaboration diagram for itk::PolyData< TPixel, TCellPixel >:Static Public Member Functions | |
| static Pointer | New () |
Static Public Member Functions inherited from itk::DataObject | |
| static bool | GetGlobalReleaseDataFlag () |
| static void | GlobalReleaseDataFlagOff () |
| static void | GlobalReleaseDataFlagOn () |
| static Pointer | New () |
| static void | SetGlobalReleaseDataFlag (bool val) |
Static Public Member Functions inherited from itk::Object | |
| static bool | GetGlobalWarningDisplay () |
| static void | GlobalWarningDisplayOff () |
| static void | GlobalWarningDisplayOn () |
| static Pointer | New () |
| static void | SetGlobalWarningDisplay (bool val) |
Static Public Member Functions inherited from itk::LightObject | |
| static void | BreakOnError () |
| static Pointer | New () |
Static Public Attributes | |
| static constexpr unsigned int | PointDimension = 3 |
Protected Member Functions | |
| PolyData () | |
| void | PrintSelf (std::ostream &os, Indent indent) const override |
| ~PolyData () override=default | |
Protected Member Functions inherited from itk::DataObject | |
| DataObject () | |
| virtual void | PropagateResetPipeline () |
| ~DataObject () override | |
Protected Member Functions inherited from itk::Object | |
| Object () | |
| bool | PrintObservers (std::ostream &os, Indent indent) const |
| virtual void | SetTimeStamp (const TimeStamp &timeStamp) |
| ~Object () override | |
Protected Member Functions inherited from itk::LightObject | |
| virtual LightObject::Pointer | InternalClone () const |
| LightObject () | |
| virtual void | PrintHeader (std::ostream &os, Indent indent) const |
| virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
| virtual | ~LightObject () |
Protected Attributes | |
| CellDataContainer::Pointer | m_CellDataContainer |
| CellsContainer::Pointer | m_LinesContainer |
| PointDataContainer::Pointer | m_PointDataContainer |
| PointsContainer::Pointer | m_PointsContainer |
| CellsContainer::Pointer | m_PolygonsContainer |
| CellsContainer::Pointer | m_TriangleStripsContainer |
| CellsContainer::Pointer | m_VerticesContainer |
Protected Attributes inherited from itk::LightObject | |
| std::atomic< int > | m_ReferenceCount {} |
| using itk::PolyData< TPixel, TCellPixel >::CellDataContainer = typename MeshTraits::CellDataContainer |
Definition at line 67 of file itkPolyData.h.
| using itk::PolyData< TPixel, TCellPixel >::CellIdentifier = typename MeshTraits::CellIdentifier |
Definition at line 66 of file itkPolyData.h.
| using itk::PolyData< TPixel, TCellPixel >::CellPixelType = TCellPixel |
Definition at line 56 of file itkPolyData.h.
| using itk::PolyData< TPixel, TCellPixel >::CellsContainer = VectorContainer<CellIdentifier, uint32_t> |
Definition at line 68 of file itkPolyData.h.
| using itk::PolyData< TPixel, TCellPixel >::ConstPointer = SmartPointer<const Self> |
Definition at line 43 of file itkPolyData.h.
| using itk::PolyData< TPixel, TCellPixel >::CoordinateType = typename MeshTraits::CoordinateType |
Convenient type alias obtained from TMeshTraits template parameter.
Definition at line 60 of file itkPolyData.h.
| using itk::PolyData< TPixel, TCellPixel >::CoordRepType = CoordinateType |
Definition at line 61 of file itkPolyData.h.
| using itk::PolyData< TPixel, TCellPixel >::MeshTraits = DefaultStaticMeshTraits<PixelType, PointDimension, PointDimension, float, float, CellPixelType> |
Definition at line 57 of file itkPolyData.h.
| using itk::PolyData< TPixel, TCellPixel >::PixelType = TPixel |
Type of PointData or CellData
Definition at line 55 of file itkPolyData.h.
| using itk::PolyData< TPixel, TCellPixel >::PointDataContainer = typename MeshTraits::PointDataContainer |
Definition at line 65 of file itkPolyData.h.
| using itk::PolyData< TPixel, TCellPixel >::Pointer = SmartPointer<Self> |
Definition at line 42 of file itkPolyData.h.
| using itk::PolyData< TPixel, TCellPixel >::PointIdentifier = typename MeshTraits::PointIdentifier |
Definition at line 62 of file itkPolyData.h.
| using itk::PolyData< TPixel, TCellPixel >::PointsContainer = typename MeshTraits::PointsContainer |
Definition at line 64 of file itkPolyData.h.
| using itk::PolyData< TPixel, TCellPixel >::PointType = typename MeshTraits::PointType |
Definition at line 63 of file itkPolyData.h.
| using itk::PolyData< TPixel, TCellPixel >::Self = PolyData |
Definition at line 40 of file itkPolyData.h.
| using itk::PolyData< TPixel, TCellPixel >::Superclass = DataObject |
Definition at line 41 of file itkPolyData.h.
|
protected |
|
overrideprotecteddefault |
|
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::Object.
| CellDataContainer * itk::PolyData< TPixel, TCellPixel >::GetCellData | ( | ) |
| const CellDataContainer * itk::PolyData< TPixel, TCellPixel >::GetCellData | ( | ) | const |
| bool itk::PolyData< TPixel, TCellPixel >::GetCellData | ( | CellIdentifier | , |
| CellPixelType * | ) const |
| CellsContainer * itk::PolyData< TPixel, TCellPixel >::GetLines | ( | ) |
| const CellsContainer * itk::PolyData< TPixel, TCellPixel >::GetLines | ( | ) | const |
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::DataObject.
| PointIdentifier itk::PolyData< TPixel, TCellPixel >::GetNumberOfPoints | ( | ) | const |
| PointType itk::PolyData< TPixel, TCellPixel >::GetPoint | ( | PointIdentifier | ) | const |
| bool itk::PolyData< TPixel, TCellPixel >::GetPoint | ( | PointIdentifier | , |
| PointType * | ) const |
| PointDataContainer * itk::PolyData< TPixel, TCellPixel >::GetPointData | ( | ) |
| const PointDataContainer * itk::PolyData< TPixel, TCellPixel >::GetPointData | ( | ) | const |
| bool itk::PolyData< TPixel, TCellPixel >::GetPointData | ( | PointIdentifier | , |
| PixelType * | ) const |
| PointsContainer * itk::PolyData< TPixel, TCellPixel >::GetPoints | ( | ) |
| const PointsContainer * itk::PolyData< TPixel, TCellPixel >::GetPoints | ( | ) | const |
| CellsContainer * itk::PolyData< TPixel, TCellPixel >::GetPolygons | ( | ) |
| const CellsContainer * itk::PolyData< TPixel, TCellPixel >::GetPolygons | ( | ) | const |
| CellsContainer * itk::PolyData< TPixel, TCellPixel >::GetTriangleStrips | ( | ) |
| const CellsContainer * itk::PolyData< TPixel, TCellPixel >::GetTriangleStrips | ( | ) | const |
| CellsContainer * itk::PolyData< TPixel, TCellPixel >::GetVertices | ( | ) |
| const CellsContainer * itk::PolyData< TPixel, TCellPixel >::GetVertices | ( | ) | const |
|
overridevirtual |
Restore the data object to its initial state. This means releasing memory.
Reimplemented from itk::DataObject.
|
static |
Method for creation through the object factory.
|
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::DataObject.
| void itk::PolyData< TPixel, TCellPixel >::SetCellData | ( | CellDataContainer * | ) |
Access m_CellDataContainer, which contains data associated with the mesh's cells. Optionally, this can be nullptr, indicating that no data are associated with the cells. The data for a cell can be accessed through its cell identifier.
| void itk::PolyData< TPixel, TCellPixel >::SetCellData | ( | CellIdentifier | , |
| CellPixelType | ) |
Access routines to fill the CellData container, and get information from it.
| void itk::PolyData< TPixel, TCellPixel >::SetLines | ( | CellsContainer * | ) |
Lines in format [nPointsLine1 pointIndex1 pointIndex2 nPointsLine2 pointIndex1 pointIndex2 ... ]
| void itk::PolyData< TPixel, TCellPixel >::SetPoint | ( | PointIdentifier | , |
| PointType | ) |
Access routines to fill the Points container, and get information from it.
| void itk::PolyData< TPixel, TCellPixel >::SetPointData | ( | PointDataContainer * | ) |
| void itk::PolyData< TPixel, TCellPixel >::SetPointData | ( | PointIdentifier | , |
| PixelType | ) |
Access routines to fill the PointData container, and get information from it.
| void itk::PolyData< TPixel, TCellPixel >::SetPoints | ( | PointsContainer * | ) |
Define Set/Get access routines for each internal container. Methods also exist to add points, cells, etc. one at a time rather than through an entire container.
| void itk::PolyData< TPixel, TCellPixel >::SetPolygons | ( | CellsContainer * | ) |
Polygons in format [nPointsPolygon1 pointIndex1 pointIndex2 nPointsPolygon2 pointIndex1 pointIndex2 ... ]
| void itk::PolyData< TPixel, TCellPixel >::SetTriangleStrips | ( | CellsContainer * | ) |
TriangleStrips in format [nPointsTriangleStrip1 pointIndex1 pointIndex2 nPointsTriangleStrip2 pointIndex1 pointIndex2 ... ]
| void itk::PolyData< TPixel, TCellPixel >::SetVertices | ( | CellsContainer * | ) |
Vertices in format [1 pointIndex1 1 pointIndex2 1 pointIndex3 ... ]
|
protected |
Definition at line 178 of file itkPolyData.h.
|
protected |
Definition at line 168 of file itkPolyData.h.
|
protected |
An object containing data associated with the mesh's points. Optionally, this can be nullptr, indicating that no data are associated with the points. The data for a point can be accessed through its point identifier.
Definition at line 176 of file itkPolyData.h.
|
protected |
An object containing points used by the mesh. Individual points are accessed through point identifiers.
Definition at line 165 of file itkPolyData.h.
|
protected |
Definition at line 169 of file itkPolyData.h.
|
protected |
Definition at line 170 of file itkPolyData.h.
|
protected |
Definition at line 167 of file itkPolyData.h.
|
staticconstexpr |
Definition at line 45 of file itkPolyData.h.