|
VTK
|
abstract class for specifying dataset behavior More...
#include <vtkPointSet.h>
Public Types | |
| typedef vtkDataSet | Superclass |
Public Types inherited from vtkDataSet | |
| enum | FieldDataType { DATA_OBJECT_FIELD =0, POINT_DATA_FIELD =1, CELL_DATA_FIELD =2 } |
| typedef vtkDataObject | Superclass |
Public Types inherited from vtkDataObject | |
| enum | FieldAssociations { FIELD_ASSOCIATION_POINTS, FIELD_ASSOCIATION_CELLS, FIELD_ASSOCIATION_NONE, FIELD_ASSOCIATION_POINTS_THEN_CELLS, FIELD_ASSOCIATION_VERTICES, FIELD_ASSOCIATION_EDGES, FIELD_ASSOCIATION_ROWS, NUMBER_OF_ASSOCIATIONS } |
| enum | AttributeTypes { POINT, CELL, FIELD, POINT_THEN_CELL, VERTEX, EDGE, ROW, NUMBER_OF_ATTRIBUTE_TYPES } |
| enum | FieldOperations { FIELD_OPERATION_PRESERVED, FIELD_OPERATION_REINTERPOLATED, FIELD_OPERATION_MODIFIED, FIELD_OPERATION_REMOVED } |
| typedef vtkObject | Superclass |
Public Types inherited from vtkObject | |
| typedef vtkObjectBase | Superclass |
Public Member Functions | |
| virtual int | IsA (const char *type) |
| vtkPointSet * | NewInstance () const |
| void | PrintSelf (ostream &os, vtkIndent indent) |
| void | Initialize () |
| void | CopyStructure (vtkDataSet *pd) |
| vtkIdType | GetNumberOfPoints () |
| double * | GetPoint (vtkIdType ptId) |
| void | GetPoint (vtkIdType ptId, double x[3]) |
| virtual vtkIdType | FindPoint (double x[3]) |
| vtkIdType | FindPoint (double x, double y, double z) |
| virtual vtkIdType | FindCell (double x[3], vtkCell *cell, vtkIdType cellId, double tol2, int &subId, double pcoords[3], double *weights) |
| virtual vtkIdType | FindCell (double x[3], vtkCell *cell, vtkGenericCell *gencell, vtkIdType cellId, double tol2, int &subId, double pcoords[3], double *weights) |
| vtkCellIterator * | NewCellIterator () |
| unsigned long | GetMTime () |
| void | ComputeBounds () |
| void | Squeeze () |
| virtual void | SetPoints (vtkPoints *) |
| virtual vtkPoints * | GetPoints () |
| unsigned long | GetActualMemorySize () |
| void | ShallowCopy (vtkDataObject *src) |
| void | DeepCopy (vtkDataObject *src) |
| virtual void | Register (vtkObjectBase *o) |
| virtual void | UnRegister (vtkObjectBase *o) |
Public Member Functions inherited from vtkDataSet | |
| vtkDataSet * | NewInstance () const |
| virtual void | CopyAttributes (vtkDataSet *ds) |
| virtual vtkIdType | GetNumberOfCells ()=0 |
| virtual vtkCell * | GetCell (vtkIdType cellId)=0 |
| virtual void | GetCell (vtkIdType cellId, vtkGenericCell *cell)=0 |
| virtual void | GetCellBounds (vtkIdType cellId, double bounds[6]) |
| virtual int | GetCellType (vtkIdType cellId)=0 |
| virtual void | GetCellTypes (vtkCellTypes *types) |
| virtual void | GetCellPoints (vtkIdType cellId, vtkIdList *ptIds)=0 |
| virtual void | GetPointCells (vtkIdType ptId, vtkIdList *cellIds)=0 |
| virtual void | GetCellNeighbors (vtkIdType cellId, vtkIdList *ptIds, vtkIdList *cellIds) |
| vtkIdType | FindPoint (double x, double y, double z) |
| virtual vtkCell * | FindAndGetCell (double x[3], vtkCell *cell, vtkIdType cellId, double tol2, int &subId, double pcoords[3], double *weights) |
| vtkCellData * | GetCellData () |
| vtkPointData * | GetPointData () |
| double * | GetBounds () |
| void | GetBounds (double bounds[6]) |
| double * | GetCenter () |
| void | GetCenter (double center[3]) |
| double | GetLength () |
| virtual void | GetScalarRange (double range[2]) |
| double * | GetScalarRange () |
| virtual int | GetMaxCellSize ()=0 |
| int | GetDataObjectType () |
| int | CheckAttributes () |
| virtual void | GenerateGhostArray (int zeroExt[6]) |
| virtual void | GenerateGhostArray (int zeroExt[6], bool cellOnly) |
| virtual vtkFieldData * | GetAttributesAsFieldData (int type) |
| virtual vtkIdType | GetNumberOfElements (int type) |
| bool | HasAnyGhostCells () |
| bool | HasAnyGhostPoints () |
| virtual bool | HasAnyBlankCells () |
| virtual bool | HasAnyBlankPoints () |
| vtkUnsignedCharArray * | GetPointGhostArray () |
| void | UpdatePointGhostArrayCache () |
| vtkUnsignedCharArray * | AllocatePointGhostArray () |
| vtkUnsignedCharArray * | GetCellGhostArray () |
| void | UpdateCellGhostArrayCache () |
| vtkUnsignedCharArray * | AllocateCellGhostArray () |
Public Member Functions inherited from vtkDataObject | |
| vtkDataObject * | NewInstance () const |
| virtual vtkInformation * | GetInformation () |
| virtual void | SetInformation (vtkInformation *) |
| void | ReleaseData () |
| virtual int | GetDataReleased () |
| void | GlobalReleaseDataFlagOn () |
| void | GlobalReleaseDataFlagOff () |
| virtual void | SetFieldData (vtkFieldData *) |
| virtual vtkFieldData * | GetFieldData () |
| unsigned long | GetUpdateTime () |
| virtual void | CopyInformationFromPipeline (vtkInformation *vtkNotUsed(info)) |
| virtual void | CopyInformationToPipeline (vtkInformation *vtkNotUsed(info)) |
| void | DataHasBeenGenerated () |
| virtual void | PrepareForNewData () |
| virtual int | GetExtentType () |
| virtual void | Crop (const int *updateExtent) |
| virtual vtkDataSetAttributes * | GetAttributes (int type) |
| virtual int | GetAttributeTypeForArray (vtkAbstractArray *arr) |
Public Member Functions inherited from vtkObject | |
| vtkObject * | NewInstance () const |
| virtual void | DebugOn () |
| virtual void | DebugOff () |
| bool | GetDebug () |
| void | SetDebug (bool debugFlag) |
| virtual void | Modified () |
| unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
| unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
| vtkCommand * | GetCommand (unsigned long tag) |
| void | RemoveObserver (vtkCommand *) |
| void | RemoveObservers (unsigned long event, vtkCommand *) |
| void | RemoveObservers (const char *event, vtkCommand *) |
| int | HasObserver (unsigned long event, vtkCommand *) |
| int | HasObserver (const char *event, vtkCommand *) |
| void | RemoveObserver (unsigned long tag) |
| void | RemoveObservers (unsigned long event) |
| void | RemoveObservers (const char *event) |
| void | RemoveAllObservers () |
| int | HasObserver (unsigned long event) |
| int | HasObserver (const char *event) |
| template<class U , class T > | |
| unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
| template<class U , class T > | |
| unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
| template<class U , class T > | |
| unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
| int | InvokeEvent (unsigned long event, void *callData) |
| int | InvokeEvent (const char *event, void *callData) |
| int | InvokeEvent (unsigned long event) |
| int | InvokeEvent (const char *event) |
Public Member Functions inherited from vtkObjectBase | |
| const char * | GetClassName () const |
| virtual void | Delete () |
| virtual void | FastDelete () |
| void | Print (ostream &os) |
| virtual void | PrintHeader (ostream &os, vtkIndent indent) |
| virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
| int | GetReferenceCount () |
| void | SetReferenceCount (int) |
| void | PrintRevisions (ostream &) |
Protected Member Functions | |
| virtual vtkObjectBase * | NewInstanceInternal () const |
| vtkPointSet () | |
| ~vtkPointSet () | |
| virtual void | ReportReferences (vtkGarbageCollector *) |
Protected Member Functions inherited from vtkDataSet | |
| vtkDataSet () | |
| ~vtkDataSet () | |
| virtual void | ComputeScalarRange () |
| bool | IsAnyBitSet (vtkUnsignedCharArray *a, int bitFlag) |
Protected Member Functions inherited from vtkDataObject | |
| vtkDataObject () | |
| ~vtkDataObject () | |
Protected Member Functions inherited from vtkObject | |
| vtkObject () | |
| virtual | ~vtkObject () |
| virtual void | RegisterInternal (vtkObjectBase *, int check) |
| virtual void | UnRegisterInternal (vtkObjectBase *, int check) |
| void | InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL) |
| void | InternalReleaseFocus () |
Protected Member Functions inherited from vtkObjectBase | |
| vtkObjectBase () | |
| virtual | ~vtkObjectBase () |
| virtual void | CollectRevisions (ostream &) |
| vtkObjectBase (const vtkObjectBase &) | |
| void | operator= (const vtkObjectBase &) |
Protected Attributes | |
| vtkPoints * | Points |
| vtkPointLocator * | Locator |
Protected Attributes inherited from vtkDataSet | |
| vtkCellData * | CellData |
| vtkPointData * | PointData |
| vtkCallbackCommand * | DataObserver |
| vtkTimeStamp | ComputeTime |
| double | Bounds [6] |
| double | Center [3] |
| double | ScalarRange [2] |
| vtkTimeStamp | ScalarRangeComputeTime |
| vtkUnsignedCharArray * | PointGhostArray |
| vtkUnsignedCharArray * | CellGhostArray |
Protected Attributes inherited from vtkDataObject | |
| vtkFieldData * | FieldData |
| int | DataReleased |
| vtkTimeStamp | UpdateTime |
| vtkInformation * | Information |
Protected Attributes inherited from vtkObject | |
| bool | Debug |
| vtkTimeStamp | MTime |
| vtkSubjectHelper * | SubjectHelper |
Protected Attributes inherited from vtkObjectBase | |
| vtkAtomicInt32 | ReferenceCount |
| vtkWeakPointerBase ** | WeakPointers |
abstract class for specifying dataset behavior
vtkPointSet is an abstract class that specifies the interface for datasets that explicitly use "point" arrays to represent geometry. For example, vtkPolyData and vtkUnstructuredGrid require point arrays to specify point position, while vtkStructuredPoints generates point positions implicitly.
Definition at line 44 of file vtkPointSet.h.
| typedef vtkDataSet vtkPointSet::Superclass |
Definition at line 47 of file vtkPointSet.h.
|
protected |
|
protected |
|
static |
|
virtual |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkDataSet.
Reimplemented in vtkLabelHierarchy, vtkUnstructuredGrid, vtkStructuredGrid, vtkPolyData, vtkPath, and vtkTypeTemplate< vtkMappedUnstructuredGrid< Implementation, vtkMappedUnstructuredGridCellIterator< Implementation > >, vtkUnstructuredGridBase >.
|
static |
|
protectedvirtual |
Reimplemented from vtkDataSet.
Reimplemented in vtkLabelHierarchy, vtkUnstructuredGrid, vtkStructuredGrid, vtkPolyData, and vtkPath.
| vtkPointSet* vtkPointSet::NewInstance | ( | ) | const |
|
virtual |
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 vtkDataSet.
Reimplemented in vtkLabelHierarchy, vtkUnstructuredGrid, vtkStructuredGrid, and vtkPolyData.
|
virtual |
Reset to an empty state and free any memory.
Reimplemented from vtkDataSet.
Reimplemented in vtkUnstructuredGrid, vtkStructuredGrid, and vtkPolyData.
|
virtual |
Copy the geometric structure of an input point set object.
Implements vtkDataSet.
Reimplemented in vtkUnstructuredGrid, vtkStructuredGrid, and vtkPolyData.
|
inlinevirtual |
See vtkDataSet for additional information.
Implements vtkDataSet.
Reimplemented in vtkStructuredGrid.
Definition at line 134 of file vtkPointSet.h.
Get point coordinates with ptId such that: 0 <= ptId < NumberOfPoints. THIS METHOD IS NOT THREAD SAFE.
Implements vtkDataSet.
Reimplemented in vtkStructuredGrid.
Definition at line 59 of file vtkPointSet.h.
Copy point coordinates into user provided array x[3] for specified point id. THIS METHOD IS THREAD SAFE IF FIRST CALLED FROM A SINGLE THREAD AND THE DATASET IS NOT MODIFIED
Reimplemented from vtkDataSet.
Reimplemented in vtkStructuredGrid.
Definition at line 60 of file vtkPointSet.h.
Implements vtkDataSet.
Definition at line 62 of file vtkPointSet.h.
|
virtual |
Locate cell based on global coordinate x and tolerance squared. If cell and cellId is non-NULL, then search starts from this cell and looks at immediate neighbors. Returns cellId >= 0 if inside, < 0 otherwise. The parametric coordinates are provided in pcoords[3]. The interpolation weights are returned in weights[]. (The number of weights is equal to the number of points in the found cell). Tolerance is used to control how close the point is to be considered "in" the cell. THIS METHOD IS NOT THREAD SAFE.
Implements vtkDataSet.
|
virtual |
This is a version of the above method that can be used with multithreaded applications. A vtkGenericCell must be passed in to be used in internal calls that might be made to GetCell() THIS METHOD IS THREAD SAFE IF FIRST CALLED FROM A SINGLE THREAD AND THE DATASET IS NOT MODIFIED
Implements vtkDataSet.
|
virtual |
Return an iterator that traverses the cells in this data set.
Reimplemented from vtkDataSet.
Reimplemented in vtkUnstructuredGrid.
|
virtual |
Get MTime which also considers its vtkPoints MTime.
Reimplemented from vtkDataSet.
|
virtual |
Compute the (X, Y, Z) bounds of the data.
Reimplemented from vtkDataSet.
Reimplemented in vtkPolyData.
|
virtual |
Reclaim any unused memory.
Reimplemented from vtkDataSet.
Reimplemented in vtkUnstructuredGrid, and vtkPolyData.
|
virtual |
Specify point array to define point coordinates.
Reimplemented in vtkLabelHierarchy.
|
virtual |
|
virtual |
Return the actual size of the data in kibibytes (1024 bytes). This number is valid only after the pipeline has updated. The memory size returned is guaranteed to be greater than or equal to the memory required to represent the data (e.g., extra space in arrays, etc. are not included in the return value). THIS METHOD IS THREAD SAFE.
Reimplemented from vtkDataSet.
Reimplemented in vtkUnstructuredGrid, vtkStructuredGrid, and vtkPolyData.
|
virtual |
Shallow and Deep copy.
Reimplemented from vtkDataSet.
Reimplemented in vtkUnstructuredGrid, vtkStructuredGrid, and vtkPolyData.
|
virtual |
Reimplemented from vtkDataSet.
Reimplemented in vtkUnstructuredGridBase, vtkUnstructuredGrid, vtkStructuredGrid, and vtkPolyData.
|
virtual |
Overwritten to handle the data/locator loop
Reimplemented from vtkObjectBase.
|
virtual |
Decrease the reference count (release by another object). This has the same effect as invoking Delete() (i.e., it reduces the reference count by 1).
Reimplemented from vtkObjectBase.
|
static |
Retrieve an instance of this class from an information object.
|
static |
|
protectedvirtual |
Reimplemented from vtkObjectBase.
|
protected |
Definition at line 122 of file vtkPointSet.h.
|
protected |
Definition at line 123 of file vtkPointSet.h.