33 #ifndef vtkGhostArray_H_
34 #define vtkGhostArray_H_
83 unsigned char &propertyField,
const int property )
85 assert(
"pre:invalid property" && (property >= 0 && property < 8));
86 propertyField |= (1 << property);
93 unsigned char &propertyField,
const int property )
95 assert(
"pre:invalid property" && (property >= 0 && property < 8));
96 propertyField &= ~(1 << property);
103 unsigned char &propertyField,
const int property )
105 assert(
"pre:invalid property" && (property >= 0 && property < 8));
107 if( propertyField & (1 << property) )
118 static void Reset(
unsigned char &propertyField )
120 for(
int i=0; i < 8; ++i )
static bool IsPropertySet(unsigned char &propertyField, const int property)
abstract base class for most VTK objects
#define VTKFILTERSCORE_EXPORT
static void SetProperty(unsigned char &propertyField, const int property)
virtual void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
static void Reset(unsigned char &propertyField)
static void UnsetProperty(unsigned char &propertyField, const int property)