ITK
4.2.0
Insight Segmentation and Registration Toolkit
|
#include <itkOctree.h>
Public Types | |
typedef SmartPointer< Self > | Pointer |
typedef OctreeBase | Self |
Public Types inherited from itk::Object | |
typedef SmartPointer< const Self > | ConstPointer |
typedef LightObject | Superclass |
Public Types inherited from itk::LightObject |
Public Member Functions | |
virtual void | BuildFromBuffer (const void *buffer, const int xsize, const int ysize, const int zsize)=0 |
virtual const char * | GetColorTable () const =0 |
virtual int | GetColorTableSize () const =0 |
virtual unsigned int | GetDepth ()=0 |
virtual OctreeNode * | GetTree ()=0 |
virtual unsigned int | GetWidth ()=0 |
virtual void | SetDepth (unsigned int depth)=0 |
virtual void | SetWidth (unsigned int width)=0 |
Public Member Functions inherited from itk::Object | |
unsigned long | AddObserver (const EventObject &event, Command *) |
unsigned long | AddObserver (const EventObject &event, Command *) const |
virtual LightObject::Pointer | CreateAnother () const |
virtual void | DebugOff () const |
virtual void | DebugOn () const |
Command * | GetCommand (unsigned long tag) |
bool | GetDebug () const |
MetaDataDictionary & | GetMetaDataDictionary (void) |
const MetaDataDictionary & | GetMetaDataDictionary (void) const |
virtual unsigned long | GetMTime () const |
virtual const char * | GetNameOfClass () const |
virtual const TimeStamp & | GetTimeStamp () const |
bool | HasObserver (const EventObject &event) const |
void | InvokeEvent (const EventObject &) |
void | InvokeEvent (const EventObject &) const |
virtual void | Modified () const |
virtual void | Register () const |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) |
void | SetDebug (bool debugFlag) const |
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
virtual void | SetReferenceCount (int) |
virtual void | UnRegister () const |
Public Member Functions inherited from itk::LightObject | |
virtual void | Delete () |
virtual int | GetReferenceCount () const |
itkCloneMacro (Self) | |
void | Print (std::ostream &os, Indent indent=0) const |
Additional Inherited Members | |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
Protected Member Functions inherited from itk::Object | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
virtual void | PrintSelf (std::ostream &os, Indent indent) const |
virtual void | SetTimeStamp (const TimeStamp &time) |
virtual | ~Object () |
Protected Member Functions inherited from itk::LightObject | |
virtual LightObject::Pointer | InternalClone () const |
LightObject () | |
virtual void | PrintHeader (std::ostream &os, Indent indent) const |
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
virtual | ~LightObject () |
Provides non-templated access to templated instances of Octree.
Definition at line 54 of file itkOctree.h.
typedef SmartPointer< Self > itk::OctreeBase::Pointer |
Reimplemented from itk::Object.
Reimplemented in itk::Octree< TPixel, ColorTableSize, MappingFunctionType >.
Definition at line 60 of file itkOctree.h.
typedef OctreeBase itk::OctreeBase::Self |
Standard class typedefs.
Reimplemented from itk::Object.
Reimplemented in itk::Octree< TPixel, ColorTableSize, MappingFunctionType >.
Definition at line 59 of file itkOctree.h.
|
pure virtual |
Build an Octree from an Image's pixel buffer.
Method needed for ImageIO class, which has no handle on image, just the pixel buffer.
Implemented in itk::Octree< TPixel, ColorTableSize, MappingFunctionType >.
|
pure virtual |
Get the ColorTable Pointer
Returns color table pointer for this tree.
Each Octree has an array of char whose size = the number of color table entries. Each Node in the Octree points either to 8 sub-nodes, or into the ColorTable; The color table isn't actually used to hold data; it simply provides a range of unique addresses that are distinct from the address of any valid subtree.
Implemented in itk::Octree< TPixel, ColorTableSize, MappingFunctionType >.
|
pure virtual |
Get the size of the Color Table
Implemented in itk::Octree< TPixel, ColorTableSize, MappingFunctionType >.
|
pure virtual |
Get tree depth.
Depth represents x, for the smallest 2^x >= largest image dimension
Implemented in itk::Octree< TPixel, ColorTableSize, MappingFunctionType >.
|
pure virtual |
Get the actual tree base
Returns the tree, or 0 if the Octree isn't built yet
Implemented in itk::Octree< TPixel, ColorTableSize, MappingFunctionType >.
|
pure virtual |
Get tree width.
Width == smallest 2^x >= largest image dimension i.e. 2^Depth == Width
Implemented in itk::Octree< TPixel, ColorTableSize, MappingFunctionType >.
|
pure virtual |
Set the depth, e.g. when reading tree from a file.
Implemented in itk::Octree< TPixel, ColorTableSize, MappingFunctionType >.
|
pure virtual |
Set width, e.g. when reading from a file.
Implemented in itk::Octree< TPixel, ColorTableSize, MappingFunctionType >.