18 #ifndef itkAnalyzeObjectEntry_h
19 #define itkAnalyzeObjectEntry_h
29 #include "itksys/SystemTools.hxx"
75 itkDebugMacro(
"returning " <<
"Name of " << this->
m_Name );
76 return std::string(this->
m_Name);
81 virtual void SetName(
const std::string _arg)
86 strncpy(temp, _arg.c_str(), 31);
88 itkDebugMacro(
"setting " <<
"Name" <<
" to " << temp);
89 if( strcmp(this->
m_Name, temp) != 0 )
91 strncpy(this->
m_Name, temp, 32);
104 itkGetConstMacro(DisplayFlag,
int);
105 itkSetMacro(DisplayFlag,
int);
115 itkGetConstMacro(CopyFlag,
unsigned char);
116 itkSetMacro(CopyFlag,
unsigned char);
125 itkGetConstMacro(MirrorFlag,
unsigned char);
126 itkSetMacro(MirrorFlag,
unsigned char);
135 itkGetConstMacro(StatusFlag,
unsigned char);
136 itkSetMacro(StatusFlag,
unsigned char);
145 itkGetConstMacro(NeighborsUsedFlag,
unsigned char);
146 itkSetMacro(NeighborsUsedFlag,
unsigned char);
155 itkGetConstMacro(Shades,
int);
156 itkSetMacro(Shades,
int);
166 itkGetConstMacro(StartRed,
int);
167 itkSetMacro(StartRed,
int);
177 itkGetConstMacro(StartGreen,
int);
178 itkSetMacro(StartGreen,
int);
188 itkGetConstMacro(StartBlue,
int);
189 itkSetMacro(StartBlue,
int);
197 itkGetConstMacro(EndRed,
int);
198 itkSetMacro(EndRed,
int);
206 itkGetConstMacro(EndGreen,
int);
207 itkSetMacro(EndGreen,
int);
215 itkGetConstMacro(EndBlue,
int);
216 itkSetMacro(EndBlue,
int);
225 itkGetConstMacro(XRotation,
int);
226 itkSetMacro(XRotation,
int);
235 itkGetConstMacro(XRotationIncrement,
int);
236 itkSetMacro(XRotationIncrement,
int);
245 itkGetConstMacro(YRotation,
int);
246 itkSetMacro(YRotation,
int);
255 itkGetConstMacro(YRotationIncrement,
int);
256 itkSetMacro(YRotationIncrement,
int);
265 itkGetConstMacro(ZRotation,
int);
266 itkSetMacro(ZRotation,
int);
275 itkGetConstMacro(ZRotationIncrement,
int);
276 itkSetMacro(ZRotationIncrement,
int);
285 itkGetConstMacro(XTranslation,
int);
286 itkSetMacro(XTranslation,
int);
296 itkGetConstMacro(XTranslationIncrement,
int);
297 itkSetMacro(XTranslationIncrement,
int);
306 itkGetConstMacro(YTranslation,
int);
307 itkSetMacro(YTranslation,
int);
317 itkGetConstMacro(YTranslationIncrement,
int);
318 itkSetMacro(YTranslationIncrement,
int);
327 itkGetConstMacro(ZTranslation,
int);
328 itkSetMacro(ZTranslation,
int);
338 itkGetConstMacro(ZTranslationIncrement,
int);
339 itkSetMacro(ZTranslationIncrement,
int);
349 itkGetConstMacro(XCenter,
int);
350 itkSetMacro(XCenter,
int);
360 itkGetConstMacro(YCenter,
int);
361 itkSetMacro(YCenter,
int);
371 itkGetConstMacro(ZCenter,
int);
372 itkSetMacro(ZCenter,
int);
382 itkGetConstMacro(MinimumXValue,
short int);
383 itkSetMacro(MinimumXValue,
int);
393 itkGetConstMacro(MinimumYValue,
short int);
394 itkSetMacro(MinimumYValue,
int);
404 itkGetConstMacro(MinimumZValue,
short int);
405 itkSetMacro(MinimumZValue,
int);
415 itkGetConstMacro(MaximumXValue,
short int);
416 itkSetMacro(MaximumXValue,
int);
426 itkGetConstMacro(MaximumYValue,
short int);
427 itkSetMacro(MaximumYValue,
int);
437 itkGetConstMacro(MaximumZValue,
short int);
438 itkSetMacro(MaximumZValue,
int);
458 itkGetConstMacro(Opacity,
float);
459 itkSetMacro(Opacity,
float);
467 itkGetConstMacro(OpacityThickness,
int);
468 itkSetMacro(OpacityThickness,
int);
480 itkGetConstMacro(BlendFactor,
float);
481 itkSetMacro(BlendFactor,
float);
509 itkSetMacro(Rotation,
Index);
510 itkGetConstMacro(Rotation,
Index);
518 itkSetMacro(Translation,
Index);
519 itkGetConstMacro(Translation,
Index);
527 itkSetMacro(Center,
Index);
528 itkGetConstMacro(Center,
Index);
536 itkSetMacro(RotationIncrement,
Index);
537 itkGetConstMacro(RotationIncrement,
Index);
545 itkSetMacro(TranslationIncrement,
Index);
546 itkGetConstMacro(TranslationIncrement,
Index);
554 itkSetMacro(MinimumCoordinateValue,
Index);
555 itkGetConstMacro(MinimumCoordinateValue,
Index);
563 itkSetMacro(MaximumCoordinateValue,
Index);
564 itkGetConstMacro(MaximumCoordinateValue,
Index);
574 void Print(std::ostream & myfile);
581 void ReadFromFilePointer(std::ifstream & inputFileStream,
const bool NeedByteSwap,
const bool );
596 void Write(std::ofstream & outputFileStream);
618 template <
typename TValue>
619 void ReadBytes(std::ifstream & inputFileStream,
621 const int Replications,
622 const bool NeedByteSwap);
675 Index m_RotationIncrement;
677 Index m_TranslationIncrement;
679 Index m_MinimumCoordinateValue;
681 Index m_MaximumCoordinateValue;
685 #endif // __OBJECTENTR_H__
SmartPointer< Self > Pointer
void Copy(AnalyzeObjectEntry::Pointer rhs)
Copy.
short int m_MaximumXValue
Light weight base class for most itk classes.
unsigned char m_StatusFlag
void Print(std::ostream &myfile)
Print.
virtual void SetName(const std::string _arg)
int m_XTranslationIncrement
virtual std::string GetName(void) const
getName/setName
SmartPointer< const Self > ConstPointer
unsigned char m_MirrorFlag
itk::RGBPixel< int > intRGBPixel
unsigned char m_NeighborsUsedFlag
int m_YTranslationIncrement
short int m_MinimumYValue
virtual ~AnalyzeObjectEntry(void)
~AnalyzeObjectEntry( void ) is the destructor, which does nothing explicitly due to no use of dynamic...
virtual void Modified() const
short int m_MinimumZValue
Represent Red, Green and Blue components for color images.
This class encapsulates a single object in an Analyze object file.
AnalyzeObjectEntry(void)
AnalyzeObjectEntry( ) is the default constructor, initializes to 0 or NULL Possible Causes of Failure...
void SwapObjectEndedness()
SwapObjectEndeness.
short int m_MinimumXValue
short int m_MaximumYValue
short int m_MaximumZValue
void Write(std::ofstream &outputFileStream)
Write.
Control indentation during Print() invocation.
void PrintSelf(std::ostream &os, Indent indent) const override
void ReadFromFilePointer(std::ifstream &inputFileStream, const bool NeedByteSwap, const bool)
ReadFromFilePointer.
Base class for most ITK classes.
Represent a n-dimensional index in a n-dimensional image.
int m_ZTranslationIncrement
void ReadBytes(std::ifstream &inputFileStream, TValue *dest, const int Replications, const bool NeedByteSwap)