#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_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_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 | vtkSetReferenceCountedObjectMacro(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_EXPORT void | vtkOutputWindowDisplayText (const char *) |
|
Definition at line 61 of file vtkSetGet.h. |
|
Definition at line 62 of file vtkSetGet.h. |
|
Definition at line 65 of file vtkSetGet.h. |
|
Definition at line 66 of file vtkSetGet.h. |
|
Definition at line 67 of file vtkSetGet.h. |
|
Definition at line 68 of file vtkSetGet.h. |
|
Definition at line 69 of file vtkSetGet.h. |
|
Definition at line 70 of file vtkSetGet.h. |
|
Definition at line 71 of file vtkSetGet.h. |
|
Definition at line 72 of file vtkSetGet.h. |
|
Definition at line 73 of file vtkSetGet.h. |
|
Definition at line 74 of file vtkSetGet.h. |
|
Definition at line 75 of file vtkSetGet.h. |
|
Definition at line 76 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 88 of file vtkSetGet.h. |
|
Definition at line 89 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 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. |
|
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 114 of file vtkSetGet.h. Referenced by vtkImageImport::GetDataScalarTypeAsString(), and vtkImageGridSource::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 127 of file vtkSetGet.h. |
|
Value: virtual type Get##name () { \ vtkDebugMacro(<< this->GetClassName() << " (" << this << "): returning " << #name " of " << this->name ); \ return this->name; \ } Definition at line 141 of file vtkSetGet.h. Referenced by vtkImageReslice::GetBackgroundLevel().
|
|
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 152 of file vtkSetGet.h. |
|
Value: virtual char* Get##name () { \ vtkDebugMacro(<< this->GetClassName() << " (" << this << "): returning " << #name " of " << this->name); \ return this->name; \ } Definition at line 174 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(); \ } \ } Definition at line 185 of file vtkSetGet.h. Referenced by vtkImageReslice::GetBackgroundLevel().
|
|
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 200 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 216 of file vtkSetGet.h. |
|
Value: virtual type *Get##name () \ { \ vtkDebugMacro(<< this->GetClassName() << " (" << this << "): returning " #name " address " << this->name ); \ return this->name; \ } Definition at line 232 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 243 of file vtkSetGet.h. Referenced by vtkImageReslice::GetBackgroundLevel().
|
|
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->Modified(); \ this->name[0] = _arg1; \ this->name[1] = _arg2; \ } \ }; \ void Set##name (type _arg[2]) \ { \ this->Set##name (_arg[0], _arg[1]); \ } Definition at line 253 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 269 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->Modified(); \ this->name[0] = _arg1; \ this->name[1] = _arg2; \ this->name[2] = _arg3; \ } \ }; \ virtual void Set##name (type _arg[3]) \ { \ this->Set##name (_arg[0], _arg[1], _arg[2]);\ } Definition at line 286 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 303 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->Modified(); \ this->name[0] = _arg1; \ this->name[1] = _arg2; \ this->name[2] = _arg3; \ this->name[3] = _arg4; \ } \ }; \ virtual void Set##name (type _arg[4]) \ { \ this->Set##name (_arg[0], _arg[1], _arg[2], _arg[3]);\ } Definition at line 321 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) \ { \ _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 340 of file vtkSetGet.h. |
|
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->Modified(); \ this->name[0] = _arg1; \ this->name[1] = _arg2; \ this->name[2] = _arg3; \ this->name[3] = _arg4; \ this->name[4] = _arg5; \ this->name[5] = _arg6; \ } \ }; \ 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 359 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, 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 379 of file vtkSetGet.h. Referenced by vtkImageReslice::GetBackgroundLevel().
|
|
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 ) \ { \ this->Modified(); \ for (i=0; i<count; i++) { this->name[i] = data[i]; }\ } \ } Definition at line 405 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 423 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(); \ vtkOutputWindowDisplayText(vtkmsgbuff);\ vtkmsg.rdbuf()->freeze(0);}} Definition at line 446 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(); \ vtkOutputWindowDisplayText(vtkmsgbuff);\ vtkmsg.rdbuf()->freeze(0);}} Definition at line 462 of file vtkSetGet.h. Referenced by vtkWin32ImageWindow::GetGenericDisplayId(), and vtkWin32ImageWindow::SetDisplayId().
|
|
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(); \ vtkOutputWindowDisplayText(vtkmsgbuff);\ vtkmsg.rdbuf()->freeze(0);}} Definition at line 475 of file vtkSetGet.h. Referenced by vtkPicker::GetActors(), vtkAbstractTransform::Identity(), vtkMatrixToLinearTransform::SetMatrix(), and vtkMatrixToHomogeneousTransform::SetMatrix().
|
|
|
Definition at line 504 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->SetCoordinateSystem(VTK_WORLD); \ this->name##Coordinate->SetValue(x,y,z); \ } \ virtual float *Get##name() \ { \ return this->name##Coordinate->GetValue(); \ } Definition at line 506 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->SetCoordinateSystem(VTK_VIEWPORT); \ this->name##Coordinate->SetValue(x,y); \ } \ virtual float *Get##name() \ { \ return this->name##Coordinate->GetValue(); \ } Definition at line 523 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 543 of file vtkSetGet.h. |
|
Definition at line 571 of file vtkSetGet.h. |
|
Definition at line 613 of file vtkSetGet.h. |
|
Definition at line 655 of file vtkSetGet.h. |
|
Definition at line 697 of file vtkSetGet.h. |
|
Definition at line 739 of file vtkSetGet.h. |
|
Definition at line 781 of file vtkSetGet.h. |
|
Definition at line 823 of file vtkSetGet.h. |
|
Definition at line 865 of file vtkSetGet.h. |
|
|
|