|
virtual vtkIdType | GetNumberOfPoints ()=0 |
|
virtual vtkIdType | GetNumberOfCells (int dim=-1)=0 |
|
virtual int | GetCellDimension ()=0 |
|
virtual void | GetCellTypes (vtkCellTypes *types) |
|
virtual vtkGenericCellIterator * | NewCellIterator (int dim=-1)=0 |
|
virtual vtkGenericPointIterator * | NewPointIterator ()=0 |
|
virtual unsigned long int | GetMTime () |
|
virtual void | ComputeBounds ()=0 |
|
virtual double * | GetBounds () |
|
virtual void | GetBounds (double bounds[6]) |
|
virtual double * | GetCenter () |
|
virtual void | GetCenter (double center[3]) |
|
virtual double | GetLength () |
|
virtual unsigned long | GetActualMemorySize () |
|
int | GetDataObjectType () |
|
virtual vtkIdType | GetEstimatedSize ()=0 |
|
|
virtual vtkGenericCellIterator * | NewBoundaryIterator (int dim=-1, int exteriorOnly=0)=0 |
|
|
virtual int | FindCell (double x[3], vtkGenericCellIterator *&cell, double tol2, int &subId, double pcoords[3])=0 |
|
|
virtual void | FindPoint (double x[3], vtkGenericPointIterator *p)=0 |
|
|
virtual
vtkGenericAttributeCollection * | GetAttributes () |
|
|
virtual vtkDataSetAttributes * | GetAttributes (int type) |
|
|
virtual void | SetTessellator (vtkGenericCellTessellator *tessellator) |
|
virtual vtkGenericCellTessellator * | GetTessellator () |
|
virtual vtkAlgorithmOutput * | GetProducerPort () |
|
virtual void | Initialize () |
|
void | ReleaseData () |
|
int | ShouldIReleaseData () |
|
virtual void | Register (vtkObjectBase *o) |
|
virtual void | UnRegister (vtkObjectBase *o) |
|
virtual void | Update () |
|
virtual void | UpdateInformation () |
|
virtual void | PropagateUpdateExtent () |
|
virtual void | TriggerAsynchronousUpdate () |
|
virtual void | UpdateData () |
|
virtual unsigned long | GetEstimatedMemorySize () |
|
unsigned long | GetUpdateTime () |
|
void | SetUpdateExtentToWholeExtent () |
|
unsigned long | GetPipelineMTime () |
|
void | CopyInformation (vtkDataObject *data) |
|
virtual void | CopyInformationFromPipeline (vtkInformation *request) |
|
void | DataHasBeenGenerated () |
|
virtual void | PrepareForNewData () |
|
virtual int | GetExtentType () |
|
virtual void | Crop () |
|
virtual vtkFieldData * | GetAttributesAsFieldData (int type) |
|
virtual int | GetAttributeTypeForArray (vtkAbstractArray *arr) |
|
virtual vtkIdType | GetNumberOfElements (int type) |
|
virtual vtkSource * | GetSource () |
|
void | SetSource (vtkSource *s) |
|
virtual vtkInformation * | GetInformation () |
|
virtual void | SetInformation (vtkInformation *) |
|
virtual vtkInformation * | GetPipelineInformation () |
|
virtual void | SetPipelineInformation (vtkInformation *) |
|
virtual int | GetDataReleased () |
|
void | SetReleaseDataFlag (int) |
|
int | GetReleaseDataFlag () |
|
virtual void | ReleaseDataFlagOn () |
|
virtual void | ReleaseDataFlagOff () |
|
virtual void | SetFieldData (vtkFieldData *) |
|
virtual vtkFieldData * | GetFieldData () |
|
virtual void | SetUpdateExtent (int piece, int numPieces, int ghostLevel) |
|
void | SetUpdateExtent (int piece, int numPieces) |
|
virtual void | SetUpdateExtent (int x0, int x1, int y0, int y1, int z0, int z1) |
|
virtual void | SetUpdateExtent (int extent[6]) |
|
virtual int * | GetUpdateExtent () |
|
virtual void | GetUpdateExtent (int &x0, int &x1, int &y0, int &y1, int &z0, int &z1) |
|
virtual void | GetUpdateExtent (int extent[6]) |
|
virtual void | CopyTypeSpecificInformation (vtkDataObject *data) |
|
void | SetUpdatePiece (int piece) |
|
void | SetUpdateNumberOfPieces (int num) |
|
virtual int | GetUpdatePiece () |
|
virtual int | GetUpdateNumberOfPieces () |
|
void | SetUpdateGhostLevel (int level) |
|
virtual int | GetUpdateGhostLevel () |
|
virtual void | SetRequestExactExtent (int flag) |
|
virtual int | GetRequestExactExtent () |
|
virtual void | RequestExactExtentOn () |
|
virtual void | RequestExactExtentOff () |
|
virtual void | SetWholeExtent (int x0, int x1, int y0, int y1, int z0, int z1) |
|
virtual void | SetWholeExtent (int extent[6]) |
|
virtual int * | GetWholeExtent () |
|
virtual void | GetWholeExtent (int &x0, int &x1, int &y0, int &y1, int &z0, int &z1) |
|
virtual void | GetWholeExtent (int extent[6]) |
|
virtual void | SetWholeBoundingBox (double x0, double x1, double y0, double y1, double z0, double z1) |
|
virtual void | SetWholeBoundingBox (double bb[6]) |
|
virtual double * | GetWholeBoundingBox () |
|
virtual void | GetWholeBoundingBox (double &x0, double &x1, double &y0, double &y1, double &z0, double &z1) |
|
virtual void | GetWholeBoundingBox (double extent[6]) |
|
virtual void | SetMaximumNumberOfPieces (int) |
|
virtual int | GetMaximumNumberOfPieces () |
|
virtual void | CopyInformationToPipeline (vtkInformation *request, vtkInformation *input, vtkInformation *output, int forceCopy) |
|
void | CopyInformationToPipeline (vtkInformation *request, vtkInformation *input) |
|
virtual void | ShallowCopy (vtkDataObject *src) |
|
virtual void | DeepCopy (vtkDataObject *src) |
|
void | SetExtentTranslator (vtkExtentTranslator *translator) |
|
vtkExtentTranslator * | GetExtentTranslator () |
|
void | GlobalReleaseDataFlagOn () |
|
void | GlobalReleaseDataFlagOff () |
|
virtual void | DebugOn () |
|
virtual void | DebugOff () |
|
unsigned char | GetDebug () |
|
void | SetDebug (unsigned char 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) |
|
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 &os) |
|
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
|
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
|
int | GetReferenceCount () |
|
|
|
static vtkGenericDataSet * | GetData (vtkInformation *info) |
|
static vtkGenericDataSet * | GetData (vtkInformationVector *v, int i=0) |
|
static vtkDataObject * | New () |
|
static int | IsTypeOf (const char *type) |
|
static vtkDataObject * | SafeDownCast (vtkObject *o) |
|
static const char * | GetAssociationTypeAsString (int associationType) |
|
static vtkInformationStringKey * | DATA_TYPE_NAME () |
|
static
vtkInformationDataObjectKey * | DATA_OBJECT () |
|
static vtkInformationIntegerKey * | DATA_EXTENT_TYPE () |
|
static
vtkInformationIntegerPointerKey * | DATA_EXTENT () |
|
static vtkInformationIntegerKey * | DATA_PIECE_NUMBER () |
|
static vtkInformationIntegerKey * | DATA_NUMBER_OF_PIECES () |
|
static vtkInformationIntegerKey * | DATA_NUMBER_OF_GHOST_LEVELS () |
|
static vtkInformationDoubleKey * | DATA_RESOLUTION () |
|
static
vtkInformationDoubleVectorKey * | DATA_TIME_STEPS () |
|
static
vtkInformationInformationVectorKey * | POINT_DATA_VECTOR () |
|
static
vtkInformationInformationVectorKey * | CELL_DATA_VECTOR () |
|
static
vtkInformationInformationVectorKey * | VERTEX_DATA_VECTOR () |
|
static
vtkInformationInformationVectorKey * | EDGE_DATA_VECTOR () |
|
static vtkInformationIntegerKey * | FIELD_ARRAY_TYPE () |
|
static vtkInformationIntegerKey * | FIELD_ASSOCIATION () |
|
static vtkInformationIntegerKey * | FIELD_ATTRIBUTE_TYPE () |
|
static vtkInformationIntegerKey * | FIELD_ACTIVE_ATTRIBUTE () |
|
static vtkInformationIntegerKey * | FIELD_NUMBER_OF_COMPONENTS () |
|
static vtkInformationIntegerKey * | FIELD_NUMBER_OF_TUPLES () |
|
static vtkInformationIntegerKey * | FIELD_OPERATION () |
|
static
vtkInformationDoubleVectorKey * | FIELD_RANGE () |
|
static
vtkInformationDoubleVectorKey * | PIECE_FIELD_RANGE () |
|
static vtkInformationStringKey * | FIELD_ARRAY_NAME () |
|
static
vtkInformationIntegerVectorKey * | PIECE_EXTENT () |
|
static vtkInformationStringKey * | FIELD_NAME () |
|
static
vtkInformationDoubleVectorKey * | ORIGIN () |
|
static
vtkInformationDoubleVectorKey * | SPACING () |
|
static vtkInformationIntegerKey * | DATA_GEOMETRY_UNMODIFIED () |
|
static
vtkInformationDataObjectKey * | SIL () |
|
static vtkInformation * | GetActiveFieldInformation (vtkInformation *info, int fieldAssociation, int attributeType) |
|
static vtkInformation * | GetNamedFieldInformation (vtkInformation *info, int fieldAssociation, const char *name) |
|
static void | RemoveNamedFieldInformation (vtkInformation *info, int fieldAssociation, const char *name) |
|
static vtkInformation * | SetActiveAttribute (vtkInformation *info, int fieldAssociation, const char *attributeName, int attributeType) |
|
static void | SetActiveAttributeInfo (vtkInformation *info, int fieldAssociation, int attributeType, const char *name, int arrayType, int numComponents, int numTuples) |
|
static void | SetPointDataActiveScalarInfo (vtkInformation *info, int arrayType, int numComponents) |
|
static vtkDataObject * | GetData (vtkInformation *info) |
|
static vtkDataObject * | GetData (vtkInformationVector *v, int i=0) |
|
static void | SetGlobalReleaseDataFlag (int val) |
|
static int | GetGlobalReleaseDataFlag () |
|
static int | IsTypeOf (const char *type) |
|
static vtkObject * | SafeDownCast (vtkObject *o) |
|
static vtkObject * | New () |
|
static void | BreakOnError () |
|
static void | SetGlobalWarningDisplay (int val) |
|
static void | GlobalWarningDisplayOn () |
|
static void | GlobalWarningDisplayOff () |
|
static int | GetGlobalWarningDisplay () |
|
static int | IsTypeOf (const char *name) |
|
static vtkObjectBase * | New () |
|
defines dataset interface
In VTK, spatial-temporal data is defined in terms of a dataset. The dataset consists of geometry (e.g., points), topology (e.g., cells), and attributes (e.g., scalars, vectors, etc.) vtkGenericDataSet is an abstract class defining this abstraction.
Since vtkGenericDataSet provides a general interface to manipulate data, algorithms that process it tend to be slower than those specialized for a particular data type. For this reason, there are concrete, non-abstract subclasses that represent and provide access to data more efficiently. Note that filters to process this dataset type are currently found in the VTK/GenericFiltering/ subdirectory.
Unlike the vtkDataSet class, vtkGenericDataSet provides a more flexible interface including support for iterators. vtkGenericDataSet is also designed to interface VTK to external simulation packages without the penalty of copying memory (see VTK/GenericFiltering/README.html) for more information. Thus vtkGenericDataSet plays a central role in the adaptor framework.
Please note that this class introduces the concepts of "boundary cells". This refers to the boundaries of a cell (e.g., face of a tetrahedron) which may in turn be represented as a cell. Boundary cells are derivative topological features of cells, and are therefore never explicitly represented in the dataset. Often in visualization algorithms, looping over boundaries (edges or faces) is employed, while the actual dataset cells may not traversed. Thus there are methods to loop over these boundary cells.
Finally, as a point of clarification, points are not the same as vertices. Vertices refer to points, and points specify a position is space. Vertices are a type of 0-D cell. Also, the concept of a DOFNode, which is where coefficients for higher-order cells are kept, is a new concept introduced by the adaptor framework (see vtkGenericAdaptorCell for more information).
- See Also
- vtkGenericAdaptorCell vtkDataSet
Definition at line 67 of file vtkGenericDataSet.h.