#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.
Defines | |
| #define | VTK_LARGE_FLOAT 1.0e+38F |
| #define | VTK_LARGE_ID 2147483647 |
| #define | VTK_LARGE_INTEGER 2147483647 |
| #define | VTK_VOID 0 |
| #define | VTK_BIT 1 |
| #define | VTK_CHAR 2 |
| #define | VTK_UNSIGNED_CHAR 3 |
| #define | VTK_SHORT 4 |
| #define | VTK_UNSIGNED_SHORT 5 |
| #define | VTK_INT 6 |
| #define | VTK_UNSIGNED_INT 7 |
| #define | VTK_LONG 8 |
| #define | VTK_UNSIGNED_LONG 9 |
| #define | VTK_FLOAT 10 |
| #define | VTK_DOUBLE 11 |
| #define | VTK_ID_TYPE 12 |
| #define | VTK_BIT_MIN 0 |
| #define | VTK_BIT_MAX 1 |
| #define | VTK_CHAR_MIN -128 |
| #define | VTK_CHAR_MAX 127 |
| #define | VTK_UNSIGNED_CHAR_MIN 0 |
| #define | VTK_UNSIGNED_CHAR_MAX 255 |
| #define | VTK_SHORT_MIN -32768 |
| #define | VTK_SHORT_MAX 32767 |
| #define | VTK_UNSIGNED_SHORT_MIN 0 |
| #define | VTK_UNSIGNED_SHORT_MAX 65535 |
| #define | VTK_INT_MIN (-VTK_LARGE_INTEGER-1) |
| #define | VTK_INT_MAX VTK_LARGE_INTEGER |
| #define | VTK_UNSIGNED_INT_MIN 0 |
| #define | VTK_UNSIGNED_INT_MAX 4294967295UL |
| #define | VTK_LONG_MIN (-VTK_LARGE_INTEGER-1) |
| #define | VTK_LONG_MAX VTK_LARGE_INTEGER |
| #define | VTK_UNSIGNED_LONG_MIN 0 |
| #define | VTK_UNSIGNED_LONG_MAX 4294967295UL |
| #define | VTK_FLOAT_MIN -VTK_LARGE_FLOAT |
| #define | VTK_FLOAT_MAX VTK_LARGE_FLOAT |
| #define | VTK_DOUBLE_MIN -1.0e+99L |
| #define | VTK_DOUBLE_MAX 1.0e+99L |
| #define | VTK_POLY_DATA 0 |
| #define | VTK_STRUCTURED_POINTS 1 |
| #define | VTK_STRUCTURED_GRID 2 |
| #define | VTK_RECTILINEAR_GRID 3 |
| #define | VTK_UNSTRUCTURED_GRID 4 |
| #define | VTK_PIECEWISE_FUNCTION 5 |
| #define | VTK_IMAGE_DATA 6 |
| #define | VTK_DATA_OBJECT 7 |
| #define | VTK_DATA_SET 8 |
| #define | vtkImageScalarTypeNameMacro(type) |
| #define | vtkSetMacro(name, type) |
| #define | vtkGetMacro(name, type) |
| #define | vtkSetStringMacro(name) |
| #define | vtkGetStringMacro(name) |
| #define | vtkSetClampMacro(name, type, min, max) |
| #define | vtkSetObjectMacro(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) |
| #define | vtkWarningMacro(x) |
| #define | vtkErrorMacro(x) |
| #define | vtkNotUsed(x) |
| #define | vtkWorldCoordinateMacro(name) |
| #define | vtkViewportCoordinateMacro(name) |
| #define | vtkTypeMacro(thisClass, superclass) |
| #define | vtkTemplateMacro3(func, arg1, arg2, arg3) |
| #define | vtkTemplateMacro4(func, arg1, arg2, arg3, arg4) |
| #define | vtkTemplateMacro5(func, arg1, arg2, arg3, arg4, arg5) |
| #define | vtkTemplateMacro6(func, arg1, arg2, arg3, arg4, arg5, arg6) |
| #define | vtkTemplateMacro7(func, arg1, arg2, arg3, arg4, arg5, arg6, arg7) |
| #define | vtkTemplateMacro8(func, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) |
| #define | vtkTemplateMacro9(func, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) |
| #define | vtkTemplateMacro10(func, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) |
| #define | VTK_LEGACY_METHOD(oldMethod, versionStringMadeLegacy) |
Functions | |
| VTK_COMMON_EXPORT void | vtkOutputWindowDisplayText (const char *) |
| VTK_COMMON_EXPORT void | vtkOutputWindowDisplayErrorText (const char *) |
| VTK_COMMON_EXPORT void | vtkOutputWindowDisplayWarningText (const char *) |
| VTK_COMMON_EXPORT void | vtkOutputWindowDisplayGenericWarningText (const char *) |
| VTK_COMMON_EXPORT void | vtkOutputWindowDisplayDebugText (const char *) |
|
|
Definition at line 61 of file vtkSetGet.h. |
|
|
Definition at line 69 of file vtkSetGet.h. |
|
|
Definition at line 72 of file vtkSetGet.h. |
|
|
Definition at line 75 of file vtkSetGet.h. |
|
|
Definition at line 76 of file vtkSetGet.h. |
|
|
Definition at line 77 of file vtkSetGet.h. |
|
|
Definition at line 78 of file vtkSetGet.h. |
|
|
Definition at line 79 of file vtkSetGet.h. |
|
|
Definition at line 80 of file vtkSetGet.h. |
|
|
Definition at line 81 of file vtkSetGet.h. |
|
|
Definition at line 82 of file vtkSetGet.h. |
|
|
Definition at line 83 of file vtkSetGet.h. |
|
|
Definition at line 84 of file vtkSetGet.h. |
|
|
Definition at line 85 of file vtkSetGet.h. |
|
|
Definition at line 86 of file vtkSetGet.h. |
|
|
Definition at line 87 of file vtkSetGet.h. |
|
|
Definition at line 90 of file vtkSetGet.h. |
|
|
Definition at line 91 of file vtkSetGet.h. |
|
|
Definition at line 92 of file vtkSetGet.h. |
|
|
Definition at line 93 of file vtkSetGet.h. |
|
|
Definition at line 94 of file vtkSetGet.h. |
|
|
Definition at line 95 of file vtkSetGet.h. |
|
|
Definition at line 96 of file vtkSetGet.h. |
|
|
Definition at line 97 of file vtkSetGet.h. |
|
|
Definition at line 98 of file vtkSetGet.h. |
|
|
Definition at line 99 of file vtkSetGet.h. |
|
|
Definition at line 100 of file vtkSetGet.h. |
|
|
Definition at line 101 of file vtkSetGet.h. |
|
|
Definition at line 102 of file vtkSetGet.h. |
|
|
Definition at line 103 of file vtkSetGet.h. |
|
|
Definition at line 104 of file vtkSetGet.h. |
|
|
Definition at line 105 of file vtkSetGet.h. |
|
|
Definition at line 106 of file vtkSetGet.h. |
|
|
Definition at line 107 of file vtkSetGet.h. |
|
|
Definition at line 108 of file vtkSetGet.h. |
|
|
Definition at line 109 of file vtkSetGet.h. |
|
|
Definition at line 110 of file vtkSetGet.h. |
|
|
Definition at line 111 of file vtkSetGet.h. |
|
|
Definition at line 114 of file vtkSetGet.h. |
|
|
Definition at line 115 of file vtkSetGet.h. |
|
|
Definition at line 116 of file vtkSetGet.h. |
|
|
Definition at line 117 of file vtkSetGet.h. |
|
|
Definition at line 118 of file vtkSetGet.h. |
|
|
Definition at line 119 of file vtkSetGet.h. |
|
|
Definition at line 120 of file vtkSetGet.h. |
|
|
Definition at line 121 of file vtkSetGet.h. |
|
|
Definition at line 122 of file vtkSetGet.h. |
|
|
Value: (((type) == VTK_VOID) ? "void" : \ (((type) == VTK_FLOAT) ? "float" : \ (((type) == VTK_INT) ? "int" : \ (((type) == VTK_SHORT) ? "short" : \ (((type) == VTK_UNSIGNED_SHORT) ? "unsigned short" : \ (((type) == VTK_UNSIGNED_CHAR) ? "unsigned char" : \ "Undefined")))))) Definition at line 125 of file vtkSetGet.h. Referenced by vtkImageImport::GetDataScalarTypeAsString(), vtkImageGridSource::GetDataScalarTypeAsString(), and vtkImageExport::GetDataScalarTypeAsString().
|
|
|
Value: virtual void Set##name (type _arg) \
{ \
vtkDebugMacro(<< this->GetClassName() << " (" << this << "): setting " #name " to " << _arg); \
if (this->name != _arg) \
{ \
this->name = _arg; \
this->Modified(); \
} \
}Definition at line 138 of file vtkSetGet.h. |
|
|
Value: virtual type Get##name () { \
vtkDebugMacro(<< this->GetClassName() << " (" << this << "): returning " << #name " of " << this->name ); \
return this->name; \
}Definition at line 152 of file vtkSetGet.h. Referenced by vtkWindowLevelLookupTable::SetLevel().
|
|
|
Value: virtual void Set##name (const char* _arg) \
{ \
vtkDebugMacro(<< this->GetClassName() << " (" << this << "): setting " << #name " to " << _arg ); \
if ( this->name && _arg && (!strcmp(this->name,_arg))) { return;} \
if (this->name) { delete [] this->name; } \
if (_arg) \
{ \
this->name = new char[strlen(_arg)+1]; \
strcpy(this->name,_arg); \
} \
else \
{ \
this->name = NULL; \
} \
this->Modified(); \
}Definition at line 163 of file vtkSetGet.h. |
|
|
Value: virtual char* Get##name () { \
vtkDebugMacro(<< this->GetClassName() << " (" << this << "): returning " << #name " of " << this->name); \
return this->name; \
}Definition at line 185 of file vtkSetGet.h. |
|
|
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; \
}Definition at line 198 of file vtkSetGet.h. |
|
|
Value: virtual void Set##name (type* _arg) \
{ \
vtkDebugMacro(<< this->GetClassName() << " (" << this << "): setting " << #name " to " << _arg ); \
if (this->name != _arg) \
{ \
if (this->name != NULL) { this->name->UnRegister(this); }\
this->name = _arg; \
if (this->name != NULL) { this->name->Register(this); } \
this->Modified(); \
} \
}Definition at line 221 of file vtkSetGet.h. |
|
|
Value: virtual type *Get##name () \
{ \
vtkDebugMacro(<< this->GetClassName() << " (" << this << "): returning " #name " address " << this->name ); \
return this->name; \
}Definition at line 237 of file vtkSetGet.h. |
|
|
Value: virtual void name##On () { this->Set##name((type)1);}; \
virtual void name##Off () { this->Set##name((type)0);}Definition at line 248 of file vtkSetGet.h. Referenced by vtkWindowLevelLookupTable::SetLevel().
|
|
|
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]); \
}Definition at line 258 of file vtkSetGet.h. |
|
|
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]);\
}Definition at line 274 of file vtkSetGet.h. |
|
|
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]);\
}Definition at line 291 of file vtkSetGet.h. Referenced by vtkImageReslice::GetBackgroundLevel().
|
|
|
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]);\
}Definition at line 308 of file vtkSetGet.h. Referenced by vtkImageReslice::GetBackgroundLevel().
|
|
|
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]);\
}Definition at line 326 of file vtkSetGet.h. Referenced by vtkWindowLevelLookupTable::SetLevel().
|
|
|
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]);\
}Definition at line 345 of file vtkSetGet.h. Referenced by vtkWindowLevelLookupTable::SetLevel().
|
|
|
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]);\
}Definition at line 364 of file vtkSetGet.h. |
|
|
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]);\
}Definition at line 384 of file vtkSetGet.h. |
|
|
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(); \
} \
}Definition at line 410 of file vtkSetGet.h. |
|
|
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]; }\
}Definition at line 428 of file vtkSetGet.h. |
|
|
Value: { if (vtkObject::GetGlobalWarningDisplay()) { \
char *vtkmsgbuff; ostrstream vtkmsg; \
vtkmsg << "Generic Warning: In " __FILE__ ", line " << __LINE__ << "\n" x \
<< "\n\n" << ends; \
vtkmsgbuff = vtkmsg.str(); \
vtkOutputWindowDisplayGenericWarningText(vtkmsgbuff);\
vtkmsg.rdbuf()->freeze(0);}}Definition at line 454 of file vtkSetGet.h. |
|
|
Value: { if (this->Debug && vtkObject::GetGlobalWarningDisplay()) \
{ char *vtkmsgbuff; \
ostrstream vtkmsg; \
vtkmsg << "Debug: In " __FILE__ ", line " << __LINE__ << "\n" << this->GetClassName() << " (" << this << "): " x << "\n\n" << ends; \
vtkmsgbuff = vtkmsg.str(); \
vtkOutputWindowDisplayDebugText(vtkmsgbuff);\
vtkmsg.rdbuf()->freeze(0);}}Definition at line 470 of file vtkSetGet.h. Referenced by vtkWin32ImageWindow::GetGenericDisplayId(), vtkWin32ImageWindow::SetDisplayId(), vtkProp3D::SetOrigin(), vtkProp3D::SetPosition(), and vtkProp3D::SetScale().
|
|
|
Value: { if (vtkObject::GetGlobalWarningDisplay()) { \
char *vtkmsgbuff; \
ostrstream vtkmsg; \
vtkmsg << "Warning: In " __FILE__ ", line " << __LINE__ << "\n" << this->GetClassName() << " (" << this << "): " x << "\n\n" << ends; \
vtkmsgbuff = vtkmsg.str(); \
vtkOutputWindowDisplayWarningText(vtkmsgbuff);\
vtkmsg.rdbuf()->freeze(0);}}Definition at line 483 of file vtkSetGet.h. Referenced by vtkPicker::GetActors(), vtkImageViewer::GetGrayScaleHint(), vtkImageViewer::GetImageWindow(), vtkImageViewer::GetImager(), vtkImageViewer::GrayScaleHintOff(), vtkImageViewer::GrayScaleHintOn(), vtkAbstractTransform::Identity(), vtkImageViewer::SetGrayScaleHint(), vtkMatrixToLinearTransform::SetMatrix(), vtkMatrixToHomogeneousTransform::SetMatrix(), and vtkFieldData::SetNumberOfArrays().
|
|
|
Value: { if (vtkObject::GetGlobalWarningDisplay()) {char *vtkmsgbuff; \
ostrstream vtkmsg; \
vtkmsg << "ERROR: In " __FILE__ ", line " << __LINE__ << "\n" << this->GetClassName() << " (" << this << "): " x << "\n\n" << ends; \
vtkmsgbuff = vtkmsg.str(); \
vtkOutputWindowDisplayErrorText(vtkmsgbuff);\
vtkmsg.rdbuf()->freeze(0); vtkObject::BreakOnError();}}Definition at line 496 of file vtkSetGet.h. Referenced by vtkTensor::AddComponent(), vtkImageIterateFilter::ComputeInputUpdateExtent(), vtkImager::Erase(), vtkProgrammableAttributeDataFilter::ExecuteMethodArg(), vtkTensor::GetColumn(), vtkImageToImageFilter::GetInputMemoryLimit(), vtkAppendFilter::InputList(), vtkMultiProcessController::RemoveRMI(), vtkTensor::SetComponent(), vtkImageToImageFilter::SetInputMemoryLimit(), vtkImageWindow::SetParentInfo(), vtkDataObject::SetUpdateExtent(), vtkImageWindow::SetWindowInfo(), and vtkInterpolateDataSetAttributes::T().
|
|
|
Definition at line 512 of file vtkSetGet.h. |
|
|
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(float x[3]) {this->Set##name(x[0],x[1],x[2]);}; \ virtual void Set##name(float x, float y, float z) \ { \ this->name##Coordinate->SetValue(x,y,z); \ } \ virtual float *Get##name() \ { \ return this->name##Coordinate->GetValue(); \ } Definition at line 514 of file vtkSetGet.h. |
|
|
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(float x[2]) {this->Set##name(x[0],x[1]);}; \ virtual void Set##name(float x, float y) \ { \ this->name##Coordinate->SetValue(x,y); \ } \ virtual float *Get##name() \ { \ return this->name##Coordinate->GetValue(); \ } Definition at line 530 of file vtkSetGet.h. |
|
|
Value: virtual const char *GetClassName() {return #thisClass;};\
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(vtkObject *o) \
{ \
if ( o && o->IsA(#thisClass) ) \
{ \
return (thisClass *)o; \
} \
return NULL;\
}Definition at line 549 of file vtkSetGet.h. |
|
|
Definition at line 577 of file vtkSetGet.h. |
|
|
Definition at line 619 of file vtkSetGet.h. |
|
|
Definition at line 661 of file vtkSetGet.h. |
|
|
Definition at line 703 of file vtkSetGet.h. |
|
|
Definition at line 745 of file vtkSetGet.h. |
|
|
Definition at line 787 of file vtkSetGet.h. |
|
|
Definition at line 829 of file vtkSetGet.h. |
|
|
Definition at line 871 of file vtkSetGet.h. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.2.11.1 written by Dimitri van Heesch,
© 1997-2001