|
virtual vtkTypeBool | IsA (const char *type) |
| Return 1 if this class is the same type of (or a subclass of) the named class. More...
|
|
vtkMINCImageAttributes * | NewInstance () const |
|
void | PrintSelf (ostream &os, vtkIndent indent) override |
| Methods invoked by print to print information about the object including superclasses. More...
|
|
virtual void | Reset () |
| Reset all the attributes in preparation for loading new information. More...
|
|
virtual vtkStringArray * | GetDimensionNames () |
| Get the dimension names. More...
|
|
virtual vtkIdTypeArray * | GetDimensionLengths () |
| Get the lengths of all the dimensions. More...
|
|
virtual vtkStringArray * | GetVariableNames () |
| Get the names of all the variables. More...
|
|
virtual vtkStringArray * | GetAttributeNames (const char *variable) |
| List the attribute names for a variable. More...
|
|
virtual int | HasAttribute (const char *variable, const char *attribute) |
| Check to see if a particular attribute exists. More...
|
|
virtual int | ValidateAttribute (const char *varname, const char *attname, vtkDataArray *array) |
| Validate a particular attribute. More...
|
|
virtual void | ShallowCopy (vtkMINCImageAttributes *source) |
| Do a shallow copy. More...
|
|
virtual void | FindValidRange (double range[2]) |
| Find the valid range of the data from the information stored in the attributes. More...
|
|
virtual void | FindImageRange (double range[2]) |
| Find the image range of the data from the information stored in the attributes. More...
|
|
|
virtual void | SetName (const char *) |
| Get the name of the image, not including the path or the extension. More...
|
|
virtual char * | GetName () |
| Get the name of the image, not including the path or the extension. More...
|
|
|
virtual void | SetDataType (int) |
| Get the image data type, as stored on disk. More...
|
|
virtual int | GetDataType () |
| Get the image data type, as stored on disk. More...
|
|
|
virtual void | AddDimension (const char *dimension) |
| Add the names of up to five dimensions. More...
|
|
virtual void | AddDimension (const char *dimension, vtkIdType length) |
| Add the names of up to five dimensions. More...
|
|
|
virtual void | SetImageMin (vtkDoubleArray *imageMin) |
| Get the image min and max arrays. More...
|
|
virtual void | SetImageMax (vtkDoubleArray *imageMax) |
| Get the image min and max arrays. More...
|
|
virtual vtkDoubleArray * | GetImageMin () |
| Get the image min and max arrays. More...
|
|
virtual vtkDoubleArray * | GetImageMax () |
| Get the image min and max arrays. More...
|
|
|
virtual int | GetNumberOfImageMinMaxDimensions () |
| Get the number of ImageMinMax dimensions. More...
|
|
virtual void | SetNumberOfImageMinMaxDimensions (int) |
| Get the number of ImageMinMax dimensions. More...
|
|
|
virtual void | SetAttributeValueAsArray (const char *variable, const char *attribute, vtkDataArray *array) |
| Set attribute values for a variable as a vtkDataArray. More...
|
|
virtual vtkDataArray * | GetAttributeValueAsArray (const char *variable, const char *attribute) |
| Set attribute values for a variable as a vtkDataArray. More...
|
|
|
virtual void | SetAttributeValueAsString (const char *variable, const char *attribute, const char *value) |
| Set an attribute value as a string. More...
|
|
virtual const char * | GetAttributeValueAsString (const char *variable, const char *attribute) |
| Set an attribute value as a string. More...
|
|
|
virtual void | SetAttributeValueAsInt (const char *variable, const char *attribute, int value) |
| Set an attribute value as an int. More...
|
|
virtual int | GetAttributeValueAsInt (const char *variable, const char *attribute) |
| Set an attribute value as an int. More...
|
|
|
virtual void | SetAttributeValueAsDouble (const char *variable, const char *attribute, double value) |
| Set an attribute value as a double. More...
|
|
virtual double | GetAttributeValueAsDouble (const char *variable, const char *attribute) |
| Set an attribute value as a double. More...
|
|
|
virtual void | SetValidateAttributes (vtkTypeBool) |
| Set this to Off if you do not want to automatically validate every attribute that is set. More...
|
|
virtual void | ValidateAttributesOn () |
| Set this to Off if you do not want to automatically validate every attribute that is set. More...
|
|
virtual void | ValidateAttributesOff () |
| Set this to Off if you do not want to automatically validate every attribute that is set. More...
|
|
virtual vtkTypeBool | GetValidateAttributes () |
| Set this to Off if you do not want to automatically validate every attribute that is set. More...
|
|
|
virtual void | PrintFileHeader () |
| A diagnostic function. More...
|
|
virtual void | PrintFileHeader (ostream &os) |
| A diagnostic function. More...
|
|
| vtkBaseTypeMacro (vtkObject, vtkObjectBase) |
|
virtual void | DebugOn () |
| Turn debugging output on. More...
|
|
virtual void | DebugOff () |
| Turn debugging output off. More...
|
|
bool | GetDebug () |
| Get the value of the debug flag. More...
|
|
void | SetDebug (bool debugFlag) |
| Set the value of the debug flag. More...
|
|
virtual void | Modified () |
| Update the modification time for this object. More...
|
|
virtual vtkMTimeType | GetMTime () |
| Return this object's modified time. More...
|
|
void | RemoveObserver (unsigned long tag) |
|
void | RemoveObservers (unsigned long event) |
|
void | RemoveObservers (const char *event) |
|
void | RemoveAllObservers () |
|
vtkTypeBool | HasObserver (unsigned long event) |
|
vtkTypeBool | HasObserver (const char *event) |
|
int | InvokeEvent (unsigned long event) |
|
int | InvokeEvent (const char *event) |
|
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
|
|
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
|
|
vtkCommand * | GetCommand (unsigned long tag) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
|
|
void | RemoveObserver (vtkCommand *) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
|
|
void | RemoveObservers (unsigned long event, vtkCommand *) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
|
|
void | RemoveObservers (const char *event, vtkCommand *) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
|
|
vtkTypeBool | HasObserver (unsigned long event, vtkCommand *) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
|
|
vtkTypeBool | HasObserver (const char *event, vtkCommand *) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
|
|
template<class U , class T > |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
| Overloads to AddObserver that allow developers to add class member functions as callbacks for events. More...
|
|
template<class U , class T > |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
| Overloads to AddObserver that allow developers to add class member functions as callbacks for events. More...
|
|
template<class U , class T > |
unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
| Allow user to set the AbortFlagOn() with the return value of the callback method. More...
|
|
int | InvokeEvent (unsigned long event, void *callData) |
| This method invokes an event and return whether the event was aborted or not. More...
|
|
int | InvokeEvent (const char *event, void *callData) |
| This method invokes an event and return whether the event was aborted or not. More...
|
|
const char * | GetClassName () const |
| Return the class name as a string. More...
|
|
virtual vtkIdType | GetNumberOfGenerationsFromBase (const char *name) |
| Given the name of a base class of this class type, return the distance of inheritance between this class type and the named class (how many generations of inheritance are there between this class and the named class). More...
|
|
virtual void | Delete () |
| Delete a VTK object. More...
|
|
virtual void | FastDelete () |
| Delete a reference to this object. More...
|
|
void | InitializeObjectBase () |
|
void | Print (ostream &os) |
| Print an object to an ostream. More...
|
|
virtual void | Register (vtkObjectBase *o) |
| Increase the reference count (mark as used by another object). More...
|
|
virtual void | UnRegister (vtkObjectBase *o) |
| Decrease the reference count (release by another object). More...
|
|
int | GetReferenceCount () |
| Return the current reference count of this object. More...
|
|
void | SetReferenceCount (int) |
| Sets the reference count. More...
|
|
bool | GetIsInMemkind () const |
| A local state flag that remembers whether this object lives in the normal or extended memory space. More...
|
|
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
| Methods invoked by print to print information about the object including superclasses. More...
|
|
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
| Methods invoked by print to print information about the object including superclasses. More...
|
|
|
static vtkTypeBool | IsTypeOf (const char *type) |
|
static vtkMINCImageAttributes * | SafeDownCast (vtkObjectBase *o) |
|
static vtkMINCImageAttributes * | New () |
|
static vtkObject * | New () |
| Create an object with Debug turned off, modified time initialized to zero, and reference counting on. More...
|
|
static void | BreakOnError () |
| This method is called when vtkErrorMacro executes. More...
|
|
static void | SetGlobalWarningDisplay (int val) |
| This is a global flag that controls whether any debug, warning or error messages are displayed. More...
|
|
static void | GlobalWarningDisplayOn () |
| This is a global flag that controls whether any debug, warning or error messages are displayed. More...
|
|
static void | GlobalWarningDisplayOff () |
| This is a global flag that controls whether any debug, warning or error messages are displayed. More...
|
|
static int | GetGlobalWarningDisplay () |
| This is a global flag that controls whether any debug, warning or error messages are displayed. More...
|
|
static vtkTypeBool | IsTypeOf (const char *name) |
| Return 1 if this class type is the same type of (or a subclass of) the named class. More...
|
|
static vtkIdType | GetNumberOfGenerationsFromBaseType (const char *name) |
| Given a the name of a base class of this class type, return the distance of inheritance between this class type and the named class (how many generations of inheritance are there between this class and the named class). More...
|
|
static vtkObjectBase * | New () |
| Create an object with Debug turned off, modified time initialized to zero, and reference counting on. More...
|
|
static void | SetMemkindDirectory (const char *directoryname) |
| The name of a directory, ideally mounted -o dax, to memory map an extended memory space within. More...
|
|
static bool | GetUsingMemkind () |
| A global state flag that controls whether vtkObjects are constructed in the usual way (the default) or within the extended memory space. More...
|
|
A container for a MINC image header.
This class provides methods to access all of the information contained in the MINC header. If you read a MINC file into VTK and then write it out again, you can use writer->SetImageAttributes(reader->GetImageAttributes) to ensure that all of the medical information contained in the file is transferred from the reader to the writer. If you want to change any of the header information, you must use ShallowCopy to make a copy of the reader's attributes and then modify only the copy.
- See also
- vtkMINCImageReader vtkMINCImageWriter
- Thanks:
- Thanks to David Gobbi for writing this class and Atamai Inc. for contributing it to VTK.
Definition at line 83 of file vtkMINCImageAttributes.h.