VTK
Macros | Functions
vtkSetGet.h File Reference
#include "vtkCommonCoreModule.h"
#include "vtkSystemIncludes.h"
#include <math.h>
Include dependency graph for vtkSetGet.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define vtkInternalQuoteMacro(x)   #x
 
#define vtkQuoteMacro(x)   vtkInternalQuoteMacro(x)
 
#define vtkImageScalarTypeNameMacro(type)
 
#define vtkSetMacro(name, type)
 
#define vtkGetMacro(name, type)
 
#define vtkSetStringMacro(name)
 
#define vtkGetStringMacro(name)
 
#define vtkSetClampMacro(name, type, min, max)
 
#define vtkSetObjectBodyMacro(name, type, args)
 
#define vtkSetObjectMacro(name, type)
 
#define vtkSetObjectImplementationMacro(class, name, type)   vtkCxxSetObjectMacro(class,name,type)
 
#define vtkCxxSetObjectMacro(class, name, type)
 
#define vtkGetNewMacro(name, type)
 
#define vtkGetObjectMacro(name, type)
 
#define vtkBooleanMacro(name, type)
 
#define vtkSetVector2Macro(name, type)
 
#define vtkGetVector2Macro(name, type)
 
#define vtkSetVector3Macro(name, type)
 
#define vtkGetVector3Macro(name, type)
 
#define vtkSetVector4Macro(name, type)
 
#define vtkGetVector4Macro(name, type)
 
#define vtkSetVector6Macro(name, type)
 
#define vtkGetVector6Macro(name, type)
 
#define vtkSetVectorMacro(name, type, count)
 
#define vtkGetVectorMacro(name, type, count)
 
#define vtkGenericWarningMacro(x)
 
#define vtkDebugMacro(x)   vtkDebugWithObjectMacro(this,x)
 
#define vtkWarningMacro(x)   vtkWarningWithObjectMacro(this,x)
 
#define vtkErrorMacro(x)   vtkErrorWithObjectMacro(this,x)
 
#define vtkErrorWithObjectMacro(self, x)
 
#define vtkWarningWithObjectMacro(self, x)
 
#define vtkDebugWithObjectMacro(self, x)
 
#define vtkNotUsed(x)
 
#define vtkMaybeUnused(reason)
 
#define vtkWorldCoordinateMacro(name)
 
#define vtkViewportCoordinateMacro(name)
 
#define vtkAbstractTypeMacroWithNewInstanceType(thisClass, superclass, instanceType)
 
#define vtkAbstractTypeMacro(thisClass, superclass)   vtkAbstractTypeMacroWithNewInstanceType(thisClass, superclass, thisClass)
 
#define vtkTypeMacro(thisClass, superclass)
 
#define vtkExportedTypeRevisionMacro(thisClass, superclass, dllExport)   vtkTypeMacro(thisClass,superclass)
 
#define vtkTypeRevisionMacro(thisClass, superclass)   vtkTypeMacro(thisClass,superclass)
 
#define vtkCxxRevisionMacro(thisClass, revision)
 
#define vtkInstantiatorNewMacro(thisClass)
 
#define vtkTemplateMacroCase(typeN, type, call)   case typeN: { typedef type VTK_TT; call; }; break
 
#define vtkTemplateMacro(call)
 
#define vtkExtendedTemplateMacro(call)
 
#define vtkArrayIteratorTemplateMacroCase(typeN, type, call)   vtkTemplateMacroCase(typeN, vtkArrayIteratorTemplate<type>, call)
 
#define vtkArrayIteratorTemplateMacro(call)
 
#define vtkTemplateMacroCase_ll(typeN, type, call)
 
#define vtkArrayIteratorTemplateMacroCase_ll(typeN, type, call)
 
#define vtkTemplateMacroCase_si64(typeN, type, call)
 
#define vtkArrayIteratorTemplateMacroCase_si64(typeN, type, call)
 
#define vtkTemplateMacroCase_ui64(typeN, type, call)
 
#define vtkArrayIteratorTemplateMacroCase_ui64(typeN, type, call)
 
#define VTK_LEGACY(method)   method
 
#define VTK_LEGACY_BODY(method, version)   vtkGenericWarningMacro(#method " was deprecated for " version " and will be removed in a future version.")
 
#define VTK_LEGACY_REPLACED_BODY(method, version, replace)   vtkGenericWarningMacro(#method " was deprecated for " version " and will be removed in a future version. Use " #replace " instead.")
 
#define VTK_WRAP_EXTERN
 

Functions

VTKCOMMONCORE_EXPORT void vtkOutputWindowDisplayText (const char *)
 
VTKCOMMONCORE_EXPORT void vtkOutputWindowDisplayErrorText (const char *)
 
VTKCOMMONCORE_EXPORT void vtkOutputWindowDisplayWarningText (const char *)
 
VTKCOMMONCORE_EXPORT void vtkOutputWindowDisplayGenericWarningText (const char *)
 
VTKCOMMONCORE_EXPORT void vtkOutputWindowDisplayDebugText (const char *)
 

Macro Definition Documentation

#define vtkInternalQuoteMacro (   x)    #x

Definition at line 37 of file vtkSetGet.h.

#define vtkQuoteMacro (   x)    vtkInternalQuoteMacro(x)

Definition at line 38 of file vtkSetGet.h.

#define vtkImageScalarTypeNameMacro (   type)
Value:
(((type) == VTK_VOID) ? "void" : \
(((type) == VTK_BIT) ? "bit" : \
(((type) == VTK_CHAR) ? "char" : \
(((type) == VTK_SIGNED_CHAR) ? "signed char" : \
(((type) == VTK_UNSIGNED_CHAR) ? "unsigned char" : \
(((type) == VTK_SHORT) ? "short" : \
(((type) == VTK_UNSIGNED_SHORT) ? "unsigned short" : \
(((type) == VTK_INT) ? "int" : \
(((type) == VTK_UNSIGNED_INT) ? "unsigned int" : \
(((type) == VTK_LONG) ? "long" : \
(((type) == VTK_UNSIGNED_LONG) ? "unsigned long" : \
(((type) == VTK_LONG_LONG) ? "long long" : \
(((type) == VTK_UNSIGNED_LONG_LONG) ? "unsigned long long" : \
(((type) == VTK___INT64) ? "__int64" : \
(((type) == VTK_UNSIGNED___INT64) ? "unsigned __int64" : \
(((type) == VTK_FLOAT) ? "float" : \
(((type) == VTK_DOUBLE) ? "double" : \
(((type) == VTK_ID_TYPE) ? "idtype" : \
(((type) == VTK_STRING) ? "string" : \
(((type) == VTK_UNICODE_STRING) ? "unicode string" : \
(((type) == VTK_VARIANT) ? "variant" : \
(((type) == VTK_OBJECT) ? "object" : \
"Undefined"))))))))))))))))))))))
GLuint GLuint GLsizei GLenum type
Definition: vtkgl.h:11315
#define VTK_VARIANT
Definition: vtkType.h:56
#define VTK_UNSIGNED_INT
Definition: vtkType.h:32
#define VTK_VOID
Definition: vtkType.h:24
#define VTK_OBJECT
Definition: vtkType.h:57
#define VTK_UNSIGNED_SHORT
Definition: vtkType.h:30
#define VTK_UNICODE_STRING
Definition: vtkType.h:60
#define VTK_LONG_LONG
Definition: vtkType.h:45
#define VTK_UNSIGNED___INT64
Definition: vtkType.h:53
#define VTK_STRING
Definition: vtkType.h:41
#define VTK_DOUBLE
Definition: vtkType.h:36
#define VTK_FLOAT
Definition: vtkType.h:35
#define VTK_SHORT
Definition: vtkType.h:29
#define VTK_CHAR
Definition: vtkType.h:26
#define VTK_LONG
Definition: vtkType.h:33
#define VTK_SIGNED_CHAR
Definition: vtkType.h:27
#define VTK_UNSIGNED_CHAR
Definition: vtkType.h:28
#define VTK_BIT
Definition: vtkType.h:25
#define VTK_ID_TYPE
Definition: vtkType.h:37
#define VTK_UNSIGNED_LONG
Definition: vtkType.h:34
#define VTK_UNSIGNED_LONG_LONG
Definition: vtkType.h:46
#define VTK_INT
Definition: vtkType.h:31
#define VTK___INT64
Definition: vtkType.h:49

Definition at line 41 of file vtkSetGet.h.

#define vtkSetMacro (   name,
  type 
)
Value:
virtual void Set##name (type _arg) \
{ \
vtkDebugMacro(<< this->GetClassName() << " (" << this << "): setting " #name " to " << _arg); \
if (this->name != _arg) \
{ \
this->name = _arg; \
this->Modified(); \
} \
}
GLuint GLuint GLsizei GLenum type
Definition: vtkgl.h:11315
#define vtkDebugMacro(x)
Definition: vtkSetGet.h:454
GLuint const GLchar * name
Definition: vtkgl.h:11983

Definition at line 69 of file vtkSetGet.h.

#define vtkGetMacro (   name,
  type 
)
Value:
virtual type Get##name () { \
vtkDebugMacro(<< this->GetClassName() << " (" << this << "): returning " << #name " of " << this->name ); \
return this->name; \
}
GLuint GLuint GLsizei GLenum type
Definition: vtkgl.h:11315
#define vtkDebugMacro(x)
Definition: vtkSetGet.h:454
GLuint const GLchar * name
Definition: vtkgl.h:11983

Definition at line 83 of file vtkSetGet.h.

#define vtkSetStringMacro (   name)
Value:
virtual void Set##name (const char* _arg) \
{ \
vtkDebugMacro(<< this->GetClassName() << " (" << this << "): setting " << #name " to " << (_arg?_arg:"(null)") ); \
if ( this->name == NULL && _arg == NULL) { return;} \
if ( this->name && _arg && (!strcmp(this->name,_arg))) { return;} \
delete [] this->name; \
if (_arg) \
{ \
size_t n = strlen(_arg) + 1; \
char *cp1 = new char[n]; \
const char *cp2 = (_arg); \
this->name = cp1; \
do { *cp1++ = *cp2++; } while ( --n ); \
} \
else \
{ \
this->name = NULL; \
} \
this->Modified(); \
}
#define vtkDebugMacro(x)
Definition: vtkSetGet.h:454
GLuint const GLchar * name
Definition: vtkgl.h:11983
GLclampd n
Definition: vtkgl.h:14370

Definition at line 94 of file vtkSetGet.h.

#define vtkGetStringMacro (   name)
Value:
virtual char* Get##name () { \
vtkDebugMacro(<< this->GetClassName() << " (" << this << "): returning " << #name " of " << (this->name?this->name:"(null)")); \
return this->name; \
}
#define vtkDebugMacro(x)
Definition: vtkSetGet.h:454
GLuint const GLchar * name
Definition: vtkgl.h:11983

Definition at line 120 of file vtkSetGet.h.

#define vtkSetClampMacro (   name,
  type,
  min,
  max 
)
Value:
virtual void Set##name (type _arg) \
{ \
vtkDebugMacro(<< this->GetClassName() << " (" << this << "): setting " << #name " to " << _arg ); \
if (this->name != (_arg<min?min:(_arg>max?max:_arg))) \
{ \
this->name = (_arg<min?min:(_arg>max?max:_arg)); \
this->Modified(); \
} \
} \
virtual type Get##name##MinValue () \
{ \
return min; \
} \
virtual type Get##name##MaxValue () \
{ \
return max; \
}
GLuint GLuint GLsizei GLenum type
Definition: vtkgl.h:11315
#define vtkDebugMacro(x)
Definition: vtkSetGet.h:454
GLuint const GLchar * name
Definition: vtkgl.h:11983
#define max(a, b)

Definition at line 133 of file vtkSetGet.h.

#define vtkSetObjectBodyMacro (   name,
  type,
  args 
)
Value:
{ \
vtkDebugMacro(<< this->GetClassName() << " (" << this \
<< "): setting " << #name " to " << args ); \
if (this->name != args) \
{ \
type* tempSGMacroVar = this->name; \
this->name = args; \
if (this->name != NULL) { this->name->Register(this); } \
if (tempSGMacroVar != NULL) \
{ \
tempSGMacroVar->UnRegister(this); \
} \
this->Modified(); \
} \
}
GLuint GLuint GLsizei GLenum type
Definition: vtkgl.h:11315
#define vtkDebugMacro(x)
Definition: vtkSetGet.h:454
GLuint const GLchar * name
Definition: vtkgl.h:11983

Definition at line 159 of file vtkSetGet.h.

#define vtkSetObjectMacro (   name,
  type 
)
Value:
virtual void Set##name (type* _arg) \
{ \
}
GLuint GLuint GLsizei GLenum type
Definition: vtkgl.h:11315
GLuint const GLchar * name
Definition: vtkgl.h:11983
#define vtkSetObjectBodyMacro(name, type, args)
Definition: vtkSetGet.h:159

Definition at line 181 of file vtkSetGet.h.

#define vtkSetObjectImplementationMacro (   class,
  name,
  type 
)    vtkCxxSetObjectMacro(class,name,type)

Definition at line 196 of file vtkSetGet.h.

#define vtkCxxSetObjectMacro (   class,
  name,
  type 
)
Value:
void class::Set##name (type* _arg) \
{ \
}
GLuint GLuint GLsizei GLenum type
Definition: vtkgl.h:11315
GLuint const GLchar * name
Definition: vtkgl.h:11983
#define vtkSetObjectBodyMacro(name, type, args)
Definition: vtkSetGet.h:159

Definition at line 199 of file vtkSetGet.h.

#define vtkGetNewMacro (   name,
  type 
)
Value:
virtual type *Get##name () \
{ \
vtkDebugMacro(<< this->GetClassName() << " (" << this \
<< "): returning " #name " address " \
<< this->name.GetPointer() ); \
return this->name.GetPointer(); \
}
GLuint GLuint GLsizei GLenum type
Definition: vtkgl.h:11315
#define vtkDebugMacro(x)
Definition: vtkSetGet.h:454
GLuint const GLchar * name
Definition: vtkgl.h:11983

Definition at line 209 of file vtkSetGet.h.

#define vtkGetObjectMacro (   name,
  type 
)
Value:
virtual type *Get##name () \
{ \
vtkDebugMacro(<< this->GetClassName() << " (" << this \
<< "): returning " #name " address " << this->name ); \
return this->name; \
}
GLuint GLuint GLsizei GLenum type
Definition: vtkgl.h:11315
#define vtkDebugMacro(x)
Definition: vtkSetGet.h:454
GLuint const GLchar * name
Definition: vtkgl.h:11983

Definition at line 222 of file vtkSetGet.h.

#define vtkBooleanMacro (   name,
  type 
)
Value:
virtual void name##On () { this->Set##name(static_cast<type>(1));} \
virtual void name##Off () { this->Set##name(static_cast<type>(0));}
GLuint const GLchar * name
Definition: vtkgl.h:11983

Definition at line 234 of file vtkSetGet.h.

#define vtkSetVector2Macro (   name,
  type 
)
Value:
virtual void Set##name (type _arg1, type _arg2) \
{ \
vtkDebugMacro(<< this->GetClassName() << " (" << this << "): setting " << #name " to (" << _arg1 << "," << _arg2 << ")"); \
if ((this->name[0] != _arg1)||(this->name[1] != _arg2)) \
{ \
this->name[0] = _arg1; \
this->name[1] = _arg2; \
this->Modified(); \
} \
}; \
void Set##name (type _arg[2]) \
{ \
this->Set##name (_arg[0], _arg[1]); \
}
GLuint GLuint GLsizei GLenum type
Definition: vtkgl.h:11315
typedef void(APIENTRYP PFNGLBLENDCOLORPROC)(GLclampf red
#define vtkDebugMacro(x)
Definition: vtkSetGet.h:454
GLuint const GLchar * name
Definition: vtkgl.h:11983

Definition at line 244 of file vtkSetGet.h.

#define vtkGetVector2Macro (   name,
  type 
)
Value:
virtual type *Get##name () \
{ \
vtkDebugMacro(<< this->GetClassName() << " (" << this << "): returning " << #name " pointer " << this->name); \
return this->name; \
} \
virtual void Get##name (type &_arg1, type &_arg2) \
{ \
_arg1 = this->name[0]; \
_arg2 = this->name[1]; \
vtkDebugMacro(<< this->GetClassName() << " (" << this << "): returning " << #name " = (" << _arg1 << "," << _arg2 << ")"); \
}; \
virtual void Get##name (type _arg[2]) \
{ \
this->Get##name (_arg[0], _arg[1]);\
}
GLuint GLuint GLsizei GLenum type
Definition: vtkgl.h:11315
#define vtkDebugMacro(x)
Definition: vtkSetGet.h:454
GLuint const GLchar * name
Definition: vtkgl.h:11983

Definition at line 260 of file vtkSetGet.h.

#define vtkSetVector3Macro (   name,
  type 
)
Value:
virtual void Set##name (type _arg1, type _arg2, type _arg3) \
{ \
vtkDebugMacro(<< this->GetClassName() << " (" << this << "): setting " << #name " to (" << _arg1 << "," << _arg2 << "," << _arg3 << ")"); \
if ((this->name[0] != _arg1)||(this->name[1] != _arg2)||(this->name[2] != _arg3)) \
{ \
this->name[0] = _arg1; \
this->name[1] = _arg2; \
this->name[2] = _arg3; \
this->Modified(); \
} \
}; \
virtual void Set##name (type _arg[3]) \
{ \
this->Set##name (_arg[0], _arg[1], _arg[2]);\
}
GLuint GLuint GLsizei GLenum type
Definition: vtkgl.h:11315
#define vtkDebugMacro(x)
Definition: vtkSetGet.h:454
GLuint const GLchar * name
Definition: vtkgl.h:11983

Definition at line 277 of file vtkSetGet.h.

#define vtkGetVector3Macro (   name,
  type 
)
Value:
virtual type *Get##name () \
{ \
vtkDebugMacro(<< this->GetClassName() << " (" << this << "): returning " << #name " pointer " << this->name); \
return this->name; \
} \
virtual void Get##name (type &_arg1, type &_arg2, type &_arg3) \
{ \
_arg1 = this->name[0]; \
_arg2 = this->name[1]; \
_arg3 = this->name[2]; \
vtkDebugMacro(<< this->GetClassName() << " (" << this << "): returning " << #name " = (" << _arg1 << "," << _arg2 << "," << _arg3 << ")"); \
}; \
virtual void Get##name (type _arg[3]) \
{ \
this->Get##name (_arg[0], _arg[1], _arg[2]);\
}
GLuint GLuint GLsizei GLenum type
Definition: vtkgl.h:11315
#define vtkDebugMacro(x)
Definition: vtkSetGet.h:454
GLuint const GLchar * name
Definition: vtkgl.h:11983

Definition at line 294 of file vtkSetGet.h.

#define vtkSetVector4Macro (   name,
  type 
)
Value:
virtual void Set##name (type _arg1, type _arg2, type _arg3, type _arg4) \
{ \
vtkDebugMacro(<< this->GetClassName() << " (" << this << "): setting " << #name " to (" << _arg1 << "," << _arg2 << "," << _arg3 << "," << _arg4 << ")"); \
if ((this->name[0] != _arg1)||(this->name[1] != _arg2)||(this->name[2] != _arg3)||(this->name[3] != _arg4)) \
{ \
this->name[0] = _arg1; \
this->name[1] = _arg2; \
this->name[2] = _arg3; \
this->name[3] = _arg4; \
this->Modified(); \
} \
}; \
virtual void Set##name (type _arg[4]) \
{ \
this->Set##name (_arg[0], _arg[1], _arg[2], _arg[3]);\
}
GLuint GLuint GLsizei GLenum type
Definition: vtkgl.h:11315
#define vtkDebugMacro(x)
Definition: vtkSetGet.h:454
GLuint const GLchar * name
Definition: vtkgl.h:11983

Definition at line 312 of file vtkSetGet.h.

#define vtkGetVector4Macro (   name,
  type 
)
Value:
virtual type *Get##name () \
{ \
vtkDebugMacro(<< this->GetClassName() << " (" << this << "): returning " << #name " pointer " << this->name); \
return this->name; \
} \
virtual void Get##name (type &_arg1, type &_arg2, type &_arg3, type &_arg4) \
{ \
_arg1 = this->name[0]; \
_arg2 = this->name[1]; \
_arg3 = this->name[2]; \
_arg4 = this->name[3]; \
vtkDebugMacro(<< this->GetClassName() << " (" << this << "): returning " << #name " = (" << _arg1 << "," << _arg2 << "," << _arg3 << "," << _arg4 << ")"); \
}; \
virtual void Get##name (type _arg[4]) \
{ \
this->Get##name (_arg[0], _arg[1], _arg[2], _arg[3]);\
}
GLuint GLuint GLsizei GLenum type
Definition: vtkgl.h:11315
#define vtkDebugMacro(x)
Definition: vtkSetGet.h:454
GLuint const GLchar * name
Definition: vtkgl.h:11983

Definition at line 331 of file vtkSetGet.h.

#define vtkSetVector6Macro (   name,
  type 
)
Value:
virtual void Set##name (type _arg1, type _arg2, type _arg3, type _arg4, type _arg5, type _arg6) \
{ \
vtkDebugMacro(<< this->GetClassName() << " (" << this << "): setting " << #name " to (" << _arg1 << "," << _arg2 << "," << _arg3 << "," << _arg4 << "," << _arg5 << "," << _arg6 << ")"); \
if ((this->name[0] != _arg1)||(this->name[1] != _arg2)||(this->name[2] != _arg3)||(this->name[3] != _arg4)||(this->name[4] != _arg5)||(this->name[5] != _arg6)) \
{ \
this->name[0] = _arg1; \
this->name[1] = _arg2; \
this->name[2] = _arg3; \
this->name[3] = _arg4; \
this->name[4] = _arg5; \
this->name[5] = _arg6; \
this->Modified(); \
} \
}; \
virtual void Set##name (type _arg[6]) \
{ \
this->Set##name (_arg[0], _arg[1], _arg[2], _arg[3], _arg[4], _arg[5]);\
}
GLuint GLuint GLsizei GLenum type
Definition: vtkgl.h:11315
#define vtkDebugMacro(x)
Definition: vtkSetGet.h:454
GLuint const GLchar * name
Definition: vtkgl.h:11983

Definition at line 350 of file vtkSetGet.h.

#define vtkGetVector6Macro (   name,
  type 
)
Value:
virtual type *Get##name () \
{ \
vtkDebugMacro(<< this->GetClassName() << " (" << this << "): returning " << #name " pointer " << this->name); \
return this->name; \
} \
virtual void Get##name (type &_arg1, type &_arg2, type &_arg3, type &_arg4, type &_arg5, type &_arg6) \
{ \
_arg1 = this->name[0]; \
_arg2 = this->name[1]; \
_arg3 = this->name[2]; \
_arg4 = this->name[3]; \
_arg5 = this->name[4]; \
_arg6 = this->name[5]; \
vtkDebugMacro(<< this->GetClassName() << " (" << this << "): returning " << #name " = (" << _arg1 << "," << _arg2 << "," << _arg3 << "," << _arg4 << "," << _arg5 <<"," << _arg6 << ")"); \
}; \
virtual void Get##name (type _arg[6]) \
{ \
this->Get##name (_arg[0], _arg[1], _arg[2], _arg[3], _arg[4], _arg[5]);\
}
GLuint GLuint GLsizei GLenum type
Definition: vtkgl.h:11315
#define vtkDebugMacro(x)
Definition: vtkSetGet.h:454
GLuint const GLchar * name
Definition: vtkgl.h:11983

Definition at line 370 of file vtkSetGet.h.

#define vtkSetVectorMacro (   name,
  type,
  count 
)
Value:
virtual void Set##name(type data[]) \
{ \
int i; \
for (i=0; i<count; i++) { if ( data[i] != this->name[i] ) { break; }} \
if ( i < count ) \
{ \
for (i=0; i<count; i++) { this->name[i] = data[i]; }\
this->Modified(); \
} \
}
GLsizei GLsizei GLenum GLenum const GLvoid * data
Definition: vtkgl.h:11339
GLuint GLuint GLsizei GLenum type
Definition: vtkgl.h:11315
GLuint GLuint GLsizei count
Definition: vtkgl.h:11315
GLuint const GLchar * name
Definition: vtkgl.h:11983

Definition at line 396 of file vtkSetGet.h.

#define vtkGetVectorMacro (   name,
  type,
  count 
)
Value:
virtual type *Get##name () \
{ \
vtkDebugMacro(<< this->GetClassName() << " (" << this << "): returning " << #name " pointer " << this->name); \
return this->name; \
} \
virtual void Get##name (type data[count]) \
{ \
for (int i=0; i<count; i++) { data[i] = this->name[i]; }\
}
GLsizei GLsizei GLenum GLenum const GLvoid * data
Definition: vtkgl.h:11339
GLuint GLuint GLsizei GLenum type
Definition: vtkgl.h:11315
GLuint GLuint GLsizei count
Definition: vtkgl.h:11315
#define vtkDebugMacro(x)
Definition: vtkSetGet.h:454
GLuint const GLchar * name
Definition: vtkgl.h:11983

Definition at line 414 of file vtkSetGet.h.

#define vtkGenericWarningMacro (   x)
Value:
vtkOStreamWrapper::EndlType endl; \
vtkOStrStreamWrapper vtkmsg; \
vtkmsg << "Generic Warning: In " __FILE__ ", line " << __LINE__ << "\n" x \
<< "\n\n"; \
vtkmsg.rdbuf()->freeze(0);}}
VTKCOMMONCORE_EXPORT void vtkOutputWindowDisplayGenericWarningText(const char *)
static int GetGlobalWarningDisplay()
GLint GLint GLint GLint GLint x
Definition: vtkgl.h:11318
static void UseEndl(const EndlType &)

Definition at line 440 of file vtkSetGet.h.

#define vtkDebugMacro (   x)    vtkDebugWithObjectMacro(this,x)

Definition at line 454 of file vtkSetGet.h.

#define vtkWarningMacro (   x)    vtkWarningWithObjectMacro(this,x)

Definition at line 461 of file vtkSetGet.h.

#define vtkErrorMacro (   x)    vtkErrorWithObjectMacro(this,x)

Definition at line 468 of file vtkSetGet.h.

#define vtkErrorWithObjectMacro (   self,
 
)
Value:
{ \
{ \
vtkOStreamWrapper::EndlType endl; \
vtkOStrStreamWrapper vtkmsg; \
vtkmsg << "ERROR: In " __FILE__ ", line " << __LINE__ \
<< "\n" << self->GetClassName() << " (" << self \
<< "): " x << "\n\n"; \
if ( self->HasObserver("ErrorEvent") ) \
{ \
self->InvokeEvent("ErrorEvent", vtkmsg.str()); \
} \
else \
{ \
} \
vtkmsg.rdbuf()->freeze(0); vtkObject::BreakOnError(); \
} \
}
static int GetGlobalWarningDisplay()
VTKCOMMONCORE_EXPORT void vtkOutputWindowDisplayErrorText(const char *)
GLint GLint GLint GLint GLint x
Definition: vtkgl.h:11318
static void BreakOnError()
static void UseEndl(const EndlType &)

Definition at line 475 of file vtkSetGet.h.

#define vtkWarningWithObjectMacro (   self,
 
)
Value:
{ \
{ \
vtkOStreamWrapper::EndlType endl; \
vtkOStrStreamWrapper vtkmsg; \
vtkmsg << "Warning: In " __FILE__ ", line " << __LINE__ \
<< "\n" << self->GetClassName() << " (" << self \
<< "): " x << "\n\n"; \
if ( self->HasObserver("WarningEvent") ) \
{ \
self->InvokeEvent("WarningEvent", vtkmsg.str()); \
} \
else \
{ \
} \
vtkmsg.rdbuf()->freeze(0); \
} \
}
static int GetGlobalWarningDisplay()
GLint GLint GLint GLint GLint x
Definition: vtkgl.h:11318
VTKCOMMONCORE_EXPORT void vtkOutputWindowDisplayWarningText(const char *)
static void UseEndl(const EndlType &)

Definition at line 501 of file vtkSetGet.h.

#define vtkDebugWithObjectMacro (   self,
 
)
Value:
{ \
if (self->GetDebug() && vtkObject::GetGlobalWarningDisplay()) \
{ \
vtkOStreamWrapper::EndlType endl; \
vtkOStrStreamWrapper vtkmsg; \
vtkmsg << "Debug: In " __FILE__ ", line " << __LINE__ << "\n" \
<< self->GetClassName() << " (" << self << "): " x << "\n\n"; \
vtkmsg.rdbuf()->freeze(0); \
} \
}
static int GetGlobalWarningDisplay()
VTKCOMMONCORE_EXPORT void vtkOutputWindowDisplayDebugText(const char *)
GLint GLint GLint GLint GLint x
Definition: vtkgl.h:11318
static void UseEndl(const EndlType &)

Definition at line 526 of file vtkSetGet.h.

#define vtkNotUsed (   x)

Definition at line 547 of file vtkSetGet.h.

#define vtkMaybeUnused (   reason)

Definition at line 559 of file vtkSetGet.h.

#define vtkWorldCoordinateMacro (   name)
Value:
virtual vtkCoordinate *Get##name##Coordinate () \
{ \
vtkDebugMacro(<< this->GetClassName() << " (" << this << "): returning " #name "Coordinate address " << this->name##Coordinate ); \
return this->name##Coordinate; \
} \
virtual void Set##name(double x[3]) {this->Set##name(x[0],x[1],x[2]);}; \
virtual void Set##name(double x, double y, double z) \
{ \
this->name##Coordinate->SetValue(x,y,z); \
} \
virtual double *Get##name() \
{ \
return this->name##Coordinate->GetValue(); \
}
#define vtkDebugMacro(x)
Definition: vtkSetGet.h:454
GLint GLint GLint GLint GLint GLint y
Definition: vtkgl.h:11318
GLdouble GLdouble z
Definition: vtkgl.h:11754
GLint GLint GLint GLint GLint x
Definition: vtkgl.h:11318
GLuint const GLchar * name
Definition: vtkgl.h:11983
perform coordinate transformation, and represent position, in a variety of vtk coordinate systems ...
Definition: vtkCoordinate.h:69

Definition at line 562 of file vtkSetGet.h.

#define vtkViewportCoordinateMacro (   name)
Value:
virtual vtkCoordinate *Get##name##Coordinate () \
{ \
vtkDebugMacro(<< this->GetClassName() << " (" << this << "): returning " #name "Coordinate address " << this->name##Coordinate ); \
return this->name##Coordinate; \
} \
virtual void Set##name(double x[2]) {this->Set##name(x[0],x[1]);}; \
virtual void Set##name(double x, double y) \
{ \
this->name##Coordinate->SetValue(x,y); \
} \
virtual double *Get##name() \
{ \
return this->name##Coordinate->GetValue(); \
}
#define vtkDebugMacro(x)
Definition: vtkSetGet.h:454
GLint GLint GLint GLint GLint GLint y
Definition: vtkgl.h:11318
GLint GLint GLint GLint GLint x
Definition: vtkgl.h:11318
GLuint const GLchar * name
Definition: vtkgl.h:11983
perform coordinate transformation, and represent position, in a variety of vtk coordinate systems ...
Definition: vtkCoordinate.h:69

Definition at line 578 of file vtkSetGet.h.

#define vtkAbstractTypeMacroWithNewInstanceType (   thisClass,
  superclass,
  instanceType 
)
Value:
typedef superclass Superclass; \
private: \
virtual const char* GetClassNameInternal() const { return #thisClass; } \
public: \
static int IsTypeOf(const char *type) \
{ \
if ( !strcmp(#thisClass,type) ) \
{ \
return 1; \
} \
return superclass::IsTypeOf(type); \
} \
virtual int IsA(const char *type) \
{ \
return this->thisClass::IsTypeOf(type); \
} \
static thisClass* SafeDownCast(vtkObjectBase *o) \
{ \
if ( o && o->IsA(#thisClass) ) \
{ \
return static_cast<thisClass *>(o); \
} \
return NULL;\
} \
instanceType *NewInstance() const \
{ \
return instanceType::SafeDownCast(this->NewInstanceInternal()); \
}
GLuint GLuint GLsizei GLenum type
Definition: vtkgl.h:11315
abstract base class for most VTK objects
Definition: vtkObjectBase.h:58

Definition at line 596 of file vtkSetGet.h.

#define vtkAbstractTypeMacro (   thisClass,
  superclass 
)    vtkAbstractTypeMacroWithNewInstanceType(thisClass, superclass, thisClass)

Definition at line 627 of file vtkSetGet.h.

#define vtkTypeMacro (   thisClass,
  superclass 
)
Value:
vtkAbstractTypeMacro(thisClass, superclass) \
protected: \
virtual vtkObjectBase *NewInstanceInternal() const \
{ \
return thisClass::New(); \
} \
public:
abstract base class for most VTK objects
Definition: vtkObjectBase.h:58
#define vtkAbstractTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:627

Definition at line 632 of file vtkSetGet.h.

#define vtkExportedTypeRevisionMacro (   thisClass,
  superclass,
  dllExport 
)    vtkTypeMacro(thisClass,superclass)

Definition at line 643 of file vtkSetGet.h.

#define vtkTypeRevisionMacro (   thisClass,
  superclass 
)    vtkTypeMacro(thisClass,superclass)

Definition at line 645 of file vtkSetGet.h.

#define vtkCxxRevisionMacro (   thisClass,
  revision 
)

Definition at line 647 of file vtkSetGet.h.

#define vtkInstantiatorNewMacro (   thisClass)
Value:
extern vtkObject* vtkInstantiator##thisClass##New(); \
vtkObject* vtkInstantiator##thisClass##New() \
{ \
return thisClass::New(); \
}
abstract base class for most VTK objects
Definition: vtkObject.h:61
create an instance of any VTK class from its name.

Definition at line 653 of file vtkSetGet.h.

#define vtkTemplateMacroCase (   typeN,
  type,
  call 
)    case typeN: { typedef type VTK_TT; call; }; break

Definition at line 670 of file vtkSetGet.h.

#define vtkTemplateMacro (   call)
Value:
#define VTK_UNSIGNED_INT
Definition: vtkType.h:32
#define VTK_UNSIGNED_SHORT
Definition: vtkType.h:30
#define vtkTemplateMacroCase_ll(typeN, type, call)
Definition: vtkSetGet.h:744
int vtkIdType
Definition: vtkType.h:281
#define vtkTemplateMacroCase_ui64(typeN, type, call)
Definition: vtkSetGet.h:767
#define VTK_LONG_LONG
Definition: vtkType.h:45
#define VTK_UNSIGNED___INT64
Definition: vtkType.h:53
#define VTK_DOUBLE
Definition: vtkType.h:36
#define VTK_FLOAT
Definition: vtkType.h:35
#define VTK_SHORT
Definition: vtkType.h:29
#define VTK_CHAR
Definition: vtkType.h:26
#define VTK_LONG
Definition: vtkType.h:33
#define VTK_SIGNED_CHAR
Definition: vtkType.h:27
#define VTK_UNSIGNED_CHAR
Definition: vtkType.h:28
#define VTK_ID_TYPE
Definition: vtkType.h:37
#define VTK_UNSIGNED_LONG
Definition: vtkType.h:34
#define VTK_UNSIGNED_LONG_LONG
Definition: vtkType.h:46
#define vtkTemplateMacroCase(typeN, type, call)
Definition: vtkSetGet.h:670
#define VTK_INT
Definition: vtkType.h:31
#define VTK___INT64
Definition: vtkType.h:49
#define vtkTemplateMacroCase_si64(typeN, type, call)
Definition: vtkSetGet.h:755

Definition at line 672 of file vtkSetGet.h.

#define vtkExtendedTemplateMacro (   call)
Value:
#define vtkTemplateMacro(call)
Definition: vtkSetGet.h:672
Wrapper around std::string to keep symbols short.
Definition: vtkStdString.h:46
#define VTK_STRING
Definition: vtkType.h:41
#define vtkTemplateMacroCase(typeN, type, call)
Definition: vtkSetGet.h:670

Definition at line 691 of file vtkSetGet.h.

#define vtkArrayIteratorTemplateMacroCase (   typeN,
  type,
  call 
)    vtkTemplateMacroCase(typeN, vtkArrayIteratorTemplate<type>, call)

Definition at line 715 of file vtkSetGet.h.

#define vtkArrayIteratorTemplateMacro (   call)
Value:
Wrapper around std::string to keep symbols short.
Definition: vtkStdString.h:46
Iterator for vtkBitArray. This iterator iterates over a vtkBitArray. It uses the double interface to ...
#define VTK_UNSIGNED_INT
Definition: vtkType.h:32
#define VTK_UNSIGNED_SHORT
Definition: vtkType.h:30
int vtkIdType
Definition: vtkType.h:281
#define VTK_LONG_LONG
Definition: vtkType.h:45
#define VTK_UNSIGNED___INT64
Definition: vtkType.h:53
#define VTK_STRING
Definition: vtkType.h:41
#define VTK_DOUBLE
Definition: vtkType.h:36
#define VTK_FLOAT
Definition: vtkType.h:35
#define vtkArrayIteratorTemplateMacroCase(typeN, type, call)
Definition: vtkSetGet.h:715
#define vtkArrayIteratorTemplateMacroCase_si64(typeN, type, call)
Definition: vtkSetGet.h:756
#define VTK_SHORT
Definition: vtkType.h:29
#define VTK_CHAR
Definition: vtkType.h:26
#define VTK_LONG
Definition: vtkType.h:33
#define vtkArrayIteratorTemplateMacroCase_ui64(typeN, type, call)
Definition: vtkSetGet.h:768
#define VTK_SIGNED_CHAR
Definition: vtkType.h:27
#define VTK_UNSIGNED_CHAR
Definition: vtkType.h:28
#define VTK_BIT
Definition: vtkType.h:25
#define VTK_ID_TYPE
Definition: vtkType.h:37
#define VTK_UNSIGNED_LONG
Definition: vtkType.h:34
#define vtkArrayIteratorTemplateMacroCase_ll(typeN, type, call)
Definition: vtkSetGet.h:745
#define VTK_UNSIGNED_LONG_LONG
Definition: vtkType.h:46
#define vtkTemplateMacroCase(typeN, type, call)
Definition: vtkSetGet.h:670
#define VTK_INT
Definition: vtkType.h:31
#define VTK___INT64
Definition: vtkType.h:49

Definition at line 717 of file vtkSetGet.h.

#define vtkTemplateMacroCase_ll (   typeN,
  type,
  call 
)

Definition at line 744 of file vtkSetGet.h.

#define vtkArrayIteratorTemplateMacroCase_ll (   typeN,
  type,
  call 
)

Definition at line 745 of file vtkSetGet.h.

#define vtkTemplateMacroCase_si64 (   typeN,
  type,
  call 
)

Definition at line 755 of file vtkSetGet.h.

#define vtkArrayIteratorTemplateMacroCase_si64 (   typeN,
  type,
  call 
)

Definition at line 756 of file vtkSetGet.h.

#define vtkTemplateMacroCase_ui64 (   typeN,
  type,
  call 
)

Definition at line 767 of file vtkSetGet.h.

#define vtkArrayIteratorTemplateMacroCase_ui64 (   typeN,
  type,
  call 
)

Definition at line 768 of file vtkSetGet.h.

#define VTK_LEGACY (   method)    method

Definition at line 800 of file vtkSetGet.h.

#define VTK_LEGACY_BODY (   method,
  version 
)    vtkGenericWarningMacro(#method " was deprecated for " version " and will be removed in a future version.")

Definition at line 825 of file vtkSetGet.h.

#define VTK_LEGACY_REPLACED_BODY (   method,
  version,
  replace 
)    vtkGenericWarningMacro(#method " was deprecated for " version " and will be removed in a future version. Use " #replace " instead.")

Definition at line 827 of file vtkSetGet.h.

#define VTK_WRAP_EXTERN

Definition at line 833 of file vtkSetGet.h.

Function Documentation

VTKCOMMONCORE_EXPORT void vtkOutputWindowDisplayText ( const char *  )
VTKCOMMONCORE_EXPORT void vtkOutputWindowDisplayErrorText ( const char *  )
VTKCOMMONCORE_EXPORT void vtkOutputWindowDisplayWarningText ( const char *  )
VTKCOMMONCORE_EXPORT void vtkOutputWindowDisplayGenericWarningText ( const char *  )
VTKCOMMONCORE_EXPORT void vtkOutputWindowDisplayDebugText ( const char *  )