 |
VTK
9.1.0
|
Go to the documentation of this file.
136 #ifndef vtkDataObjectTypes_h
137 #define vtkDataObjectTypes_h
139 #include "vtkCommonDataModelModule.h"
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkDataObjectTypes() override=default
static int GetCommonBaseTypeId(int typeA, int typeB)
Given two data types, returns the closest common data type.
abstract base class for most VTK objects
static int GetTypeIdFromClassName(const char *classname)
Given a data object classname, return it's int identified (as defined in vtkType.h)
static int Validate()
Method used to validate data object types, for testing purposes.
a simple class to control print indentation
static vtkDataObject * NewDataObject(const char *classname)
Create (New) and return a data object of the given classname.
static vtkDataObject * NewDataObject(int typeId)
Create (New) and return a data object of the given type id.
static vtkDataObjectTypes * New()
general representation of visualization data
vtkDataObjectTypes()=default
static const char * GetClassNameFromTypeId(int typeId)
Given an int (as defined in vtkType.h) identifier for a class return it's classname.
static bool TypeIdIsA(int typeId, int targetTypeId)