56 #ifndef vtkSMInputArrayDomain_h 57 #define vtkSMInputArrayDomain_h 59 #include "vtkDataObject.h" 60 #include "vtkPVServerManagerCoreModule.h" 79 void PrintSelf(ostream& os, vtkIndent indent);
100 vtkGetMacro(AttributeType,
int);
101 const char* GetAttributeTypeAsString();
108 VTK_LEGACY(
int GetNumberOfComponents());
114 std::vector<int> GetAcceptableNumbersOfComponents()
const;
119 static void SetAutomaticPropertyConversion(
bool);
120 static bool GetAutomaticPropertyConversion();
124 POINT = vtkDataObject::POINT,
125 CELL = vtkDataObject::CELL,
126 FIELD = vtkDataObject::FIELD,
127 ANY_EXCEPT_FIELD = vtkDataObject::POINT_THEN_CELL,
128 VERTEX = vtkDataObject::VERTEX,
129 EDGE = vtkDataObject::EDGE,
130 ROW = vtkDataObject::ROW,
131 ANY = vtkDataObject::NUMBER_OF_ATTRIBUTE_TYPES,
132 NUMBER_OF_ATTRIBUTE_TYPES = ANY + 1,
147 static bool IsAttributeTypeAcceptable(
148 int required_type,
int attribute_type,
int* acceptable_as_type = NULL);
162 VTK_LEGACY(
static bool IsArrayAcceptable(
181 VTK_LEGACY(
void SetNumberOfComponents(
int));
183 vtkSetMacro(AttributeType,
int);
184 void SetAttributeType(
const char* type);
196 bool IsAttributeTypeAcceptable(
int attributeType);
208 static bool AutomaticPropertyConversion;
virtual int IsInDomain(vtkSMProperty *property)=0
Is the (unchecked) value of the property in the domain? Overwritten by sub-classes.
std::vector< int > AcceptableNumbersOfComponents
superclass for all SM properties
domain to ensure that input has required types of arrays.
represents the possible values a property can have
virtual int ReadXMLAttributes(vtkSMProperty *prop, vtkPVXMLElement *elem)
Set the appropriate ivars from the xml element.
proxy for a VTK source on a server
This is used by vtkPVXMLParser to represent an XML document starting at the root element.
void PrintSelf(ostream &os, vtkIndent indent)
static vtkSMSessionObject * New()