VTK
|
abstract class for specifying dataset behavior More...
#include <vtkPointSet.h>
Public Types | |
typedef vtkDataSet | Superclass |
![]() | |
enum | FieldDataType { DATA_OBJECT_FIELD =0, POINT_DATA_FIELD =1, CELL_DATA_FIELD =2 } |
typedef vtkDataObject | Superclass |
![]() | |
typedef vtkObject | Superclass |
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 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) |
vtkCellIterator * | NewCellIterator () |
unsigned long | GetMTime () |
void | ComputeBounds () |
void | Squeeze () |
unsigned long | GetActualMemorySize () |
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) |
virtual void | SetPoints (vtkPoints *) |
virtual vtkPoints * | GetPoints () |
void | ShallowCopy (vtkDataObject *src) |
void | DeepCopy (vtkDataObject *src) |
virtual void | Register (vtkObjectBase *o) |
virtual void | UnRegister (vtkObjectBase *o) |
![]() | |
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 |
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 | CheckAttributes () |
virtual vtkFieldData * | GetAttributesAsFieldData (int type) |
virtual vtkIdType | GetNumberOfElements (int type) |
bool | HasAnyGhostCells () |
bool | HasAnyGhostPoints () |
vtkUnsignedCharArray * | GetPointGhostArray () |
void | UpdatePointGhostArrayCache () |
vtkUnsignedCharArray * | AllocatePointGhostArray () |
vtkUnsignedCharArray * | GetCellGhostArray () |
void | UpdateCellGhostArrayCache () |
vtkUnsignedCharArray * | AllocateCellGhostArray () |
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) |
int | GetDataObjectType () |
virtual void | GenerateGhostArray (int zeroExt[6]) |
virtual void | GenerateGhostArray (int zeroExt[6], bool cellOnly) |
virtual bool | HasAnyBlankCells () |
virtual bool | HasAnyBlankPoints () |
![]() | |
vtkDataObject * | NewInstance () const |
void | ReleaseData () |
unsigned long | GetUpdateTime () |
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) |
virtual vtkInformation * | GetInformation () |
virtual void | SetInformation (vtkInformation *) |
virtual int | GetDataReleased () |
virtual void | SetFieldData (vtkFieldData *) |
virtual vtkFieldData * | GetFieldData () |
virtual void | CopyInformationFromPipeline (vtkInformation *vtkNotUsed(info)) |
void | GlobalReleaseDataFlagOn () |
void | GlobalReleaseDataFlagOff () |
![]() | |
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) |
![]() | |
const char * | GetClassName () const |
virtual void | Delete () |
virtual void | FastDelete () |
void | Print (ostream &os) |
void | SetReferenceCount (int) |
void | PrintRevisions (ostream &) |
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
int | GetReferenceCount () |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkPointSet () | |
~vtkPointSet () | |
virtual void | ReportReferences (vtkGarbageCollector *) |
![]() | |
vtkDataSet () | |
~vtkDataSet () | |
virtual void | ComputeScalarRange () |
bool | IsAnyBitSet (vtkUnsignedCharArray *a, int bitFlag) |
![]() | |
vtkDataObject () | |
~vtkDataObject () | |
![]() | |
vtkObject () | |
virtual | ~vtkObject () |
virtual void | RegisterInternal (vtkObjectBase *, int check) |
virtual void | UnRegisterInternal (vtkObjectBase *, int check) |
void | InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL) |
void | InternalReleaseFocus () |
![]() | |
vtkObjectBase () | |
virtual | ~vtkObjectBase () |
virtual void | CollectRevisions (ostream &) |
vtkObjectBase (const vtkObjectBase &) | |
void | operator= (const vtkObjectBase &) |
Protected Attributes | |
vtkPoints * | Points |
vtkPointLocator * | Locator |
![]() | |
vtkCellData * | CellData |
vtkPointData * | PointData |
vtkCallbackCommand * | DataObserver |
vtkTimeStamp | ComputeTime |
double | Bounds [6] |
double | Center [3] |
double | ScalarRange [2] |
vtkTimeStamp | ScalarRangeComputeTime |
vtkUnsignedCharArray * | PointGhostArray |
vtkUnsignedCharArray * | CellGhostArray |
bool | PointGhostArrayCached |
bool | CellGhostArrayCached |
![]() | |
vtkFieldData * | FieldData |
int | DataReleased |
vtkTimeStamp | UpdateTime |
vtkInformation * | Information |
![]() | |
bool | Debug |
vtkTimeStamp | MTime |
vtkSubjectHelper * | SubjectHelper |
![]() | |
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 41 of file vtkPointSet.h.
typedef vtkDataSet vtkPointSet::Superclass |
Definition at line 44 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 vtkPolyData, vtkUnstructuredGrid, vtkLabelHierarchy, vtkTypeTemplate< vtkMappedUnstructuredGrid< Implementation, CellIterator >, vtkUnstructuredGridBase >, vtkStructuredGrid, and vtkPath.
|
static |
|
protectedvirtual |
Reimplemented from vtkDataSet.
Reimplemented in vtkPolyData, vtkUnstructuredGrid, vtkLabelHierarchy, vtkStructuredGrid, vtkTypeTemplate< vtkMappedUnstructuredGrid< Implementation, CellIterator >, vtkUnstructuredGridBase >, 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 vtkPolyData, vtkUnstructuredGrid, vtkLabelHierarchy, and vtkStructuredGrid.
|
virtual |
Reset to an empty state and free any memory.
Reimplemented from vtkDataSet.
Reimplemented in vtkPolyData, vtkUnstructuredGrid, and vtkStructuredGrid.
|
virtual |
Copy the geometric structure of an input point set object.
Implements vtkDataSet.
Reimplemented in vtkUnstructuredGrid, vtkPolyData, and vtkStructuredGrid.
|
inlinevirtual |
See vtkDataSet for additional information.
Implements vtkDataSet.
Reimplemented in vtkStructuredGrid.
Definition at line 131 of file vtkPointSet.h.
See vtkDataSet for additional information.
Implements vtkDataSet.
Reimplemented in vtkStructuredGrid.
Definition at line 56 of file vtkPointSet.h.
See vtkDataSet for additional information.
Reimplemented from vtkDataSet.
Reimplemented in vtkStructuredGrid.
Definition at line 57 of file vtkPointSet.h.
See vtkDataSet for additional information.
Implements vtkDataSet.
See vtkDataSet for additional information.
Definition at line 59 of file vtkPointSet.h.
|
virtual |
See vtkDataSet for additional information.
Implements vtkDataSet.
|
virtual |
See vtkDataSet for additional information.
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 |
Specify point array to define point coordinates.
|
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 vtkPolyData, vtkUnstructuredGrid, and vtkStructuredGrid.
|
virtual |
Shallow and Deep copy.
Reimplemented from vtkDataSet.
Reimplemented in vtkPolyData, vtkUnstructuredGrid, and vtkStructuredGrid.
|
virtual |
Shallow and Deep copy.
Reimplemented from vtkDataSet.
Reimplemented in vtkPolyData, vtkUnstructuredGrid, vtkStructuredGrid, and vtkUnstructuredGridBase.
|
virtual |
Overwritten to handle the data/locator loop
Reimplemented from vtkObjectBase.
|
virtual |
Overwritten to handle the data/locator loop
Reimplemented from vtkObjectBase.
|
static |
Retrieve an instance of this class from an information object.
|
static |
Retrieve an instance of this class from an information object.
|
protectedvirtual |
Reimplemented from vtkObjectBase.
|
protected |
Definition at line 119 of file vtkPointSet.h.
|
protected |
Definition at line 120 of file vtkPointSet.h.