#include <itkOctree.h>
Inheritance diagram for itk::Octree< TPixel, ColorTableSize, MappingFunctionType >:
Public Types | |
typedef Octree | Self |
typedef OctreeBase | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef Image< TPixel, 3 > | ImageType |
typedef ImageType::Pointer | ImageTypePointer |
Public Member Functions | |
virtual const char * | GetNameOfClass () const |
ImageTypePointer | GetImage () |
virtual void | BuildFromBuffer (const void *buffer, const int xsize, const int ysize, const int zsize) |
void | BuildFromImage (Image< TPixel, 3 > *fromImage) |
Octree (void) | |
~Octree (void) | |
void | SetColor (unsigned int color) |
void | SetTree (OctreeNodeBranch *branch) |
void | SetTrueDims (const unsigned int Dim0, const unsigned int Dim1, const unsigned int Dim2) |
unsigned int | GetValue (const unsigned int Dim0, const unsigned int Dim1, const unsigned int Dim2) |
virtual void | SetWidth (unsigned int width) |
virtual void | SetDepth (unsigned int depth) |
virtual unsigned int | GetWidth () |
virtual unsigned int | GetDepth () |
virtual OctreeNode * | GetTree () |
virtual const char * | GetColorTable () const |
virtual int | GetColorTableSize () const |
Static Public Member Functions | |
Pointer | New () |
Parameterized on Pixel type of the image, # of colors in color table, and a Mapping function, derived from itk::FunctionBase
Definition at line 119 of file itkOctree.h.
|
Definition at line 127 of file itkOctree.h. |
|
Definition at line 128 of file itkOctree.h. |
|
Reimplemented from itk::OctreeBase. Definition at line 126 of file itkOctree.h. |
|
Standard class typedefs. Reimplemented from itk::OctreeBase. Definition at line 124 of file itkOctree.h. Referenced by itk::Octree< TPixel, ColorTableSize, MappingFunctionType >::SetTree(). |
|
Reimplemented from itk::Object. Definition at line 125 of file itkOctree.h. |
|
|
|
|
|
Build an Octree from an Image's pixel buffer. Method needed for ImageIO class, which has no handle on image, just the pixel buffer. Implements itk::OctreeBase. |
|
|
|
Get the ColorTable Pointer Returns color table pointer for this tree. Each Octree has an array of char whose size = the # 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. Implements itk::OctreeBase. |
|
Get the size of the Color Table Implements itk::OctreeBase. |
|
Get tree depth. Depth represents x, for the smallest 2^x >= largest image dimension Implements itk::OctreeBase. |
|
|
|
Run-time type information (and related methods). Reimplemented from itk::Object. |
|
Get the actual tree base Returns the tree, or 0 if the Octree isn't built yet Implements itk::OctreeBase. |
|
|
|
Get tree width. Width == smallest 2^x >= largest image dimension i.e. 2^Depth == Width Implements itk::OctreeBase. |
|
Method for creation through the object factory. Reimplemented from itk::Object. |
|
Definition at line 142 of file itkOctree.h. |
|
Set the depth, e.g. when reading tree from a file. Implements itk::OctreeBase. |
|
Definition at line 143 of file itkOctree.h. References itk::OctreePlaneType, and itk::Octree< TPixel, ColorTableSize, MappingFunctionType >::Self. |
|
|
|
Set width, e.g. when reading from a file. Implements itk::OctreeBase. |