Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members | Related Pages

vlVolVoxelOpsBase< DataType, Layout > Class Template Reference

This is the base class for implementing an voxel operators collection for a volume layout. More...

#include <vlvolvoxelops.h>

Inheritance diagram for vlVolVoxelOpsBase< DataType, Layout >:

vlVolVoxelOps< DataType, Layout > List of all members.

Public Member Functions

virtual vlVoxelOperator< DataType,
Layout > * 
getNativeVoxelOp (const vlVoxelOpType type)=0
 This function will always return a voxel operator which uses the layout's native iterators for the requested type.

virtual vlVoxelOperator< DataType,
Layout > * 
getNativeVoxelOp (const std::string &name)=0
 Same as the previous function except that it takes the voxel operator name as argument.

virtual vlVoxelOperator< DataType,
vlLayout::VirtualCall > * 
getVirtualVoxelOp (const vlVoxelOpType type)=0
 This function will always return a voxel operator which uses VirtualCall iterators for the requested type.

virtual vlVoxelOperator< DataType,
vlLayout::VirtualCall > * 
getVirtualVoxelOp (const std::string &name)=0
 Same as the previous function except that it takes the voxel operator name as argument.


Detailed Description

template<typename DataType, vlLayoutType Layout>
class vlVolVoxelOpsBase< DataType, Layout >

The iterators will use this interface to get voxel operator objects for the operation requested by the user. Each layout can reimplement this interface and provide native implementation of operations if they want. To reimplement this interaface, do a partial instantiation of the vlVolVoxelOps class defined below for the given layout and implement the methods in that class.

Author:
Sarang Lakare <sarang#users.sourceforge.net>
See also:
vlVolVoxelOps

Definition at line 46 of file vlvolvoxelops.h.


Member Function Documentation

template<typename DataType, vlLayoutType Layout>
virtual vlVoxelOperator<DataType, Layout>* vlVolVoxelOpsBase< DataType, Layout >::getNativeVoxelOp const std::string &  name  )  [pure virtual]
 

Implemented in vlVolVoxelOps< DataType, vlLayout::Linear >.

template<typename DataType, vlLayoutType Layout>
virtual vlVoxelOperator<DataType, Layout>* vlVolVoxelOpsBase< DataType, Layout >::getNativeVoxelOp const vlVoxelOpType  type  )  [pure virtual]
 

It will return 0L (null) if such an operator does not exist.

Implemented in vlVolVoxelOps< DataType, vlLayout::Linear >.

template<typename DataType, vlLayoutType Layout>
virtual vlVoxelOperator<DataType, vlLayout::VirtualCall>* vlVolVoxelOpsBase< DataType, Layout >::getVirtualVoxelOp const std::string &  name  )  [pure virtual]
 

Implemented in vlVolVoxelOps< DataType, vlLayout::Linear >.

template<typename DataType, vlLayoutType Layout>
virtual vlVoxelOperator<DataType, vlLayout::VirtualCall>* vlVolVoxelOpsBase< DataType, Layout >::getVirtualVoxelOp const vlVoxelOpType  type  )  [pure virtual]
 

It will return 0L (null) if no such operator exists.

Implemented in vlVolVoxelOps< DataType, vlLayout::Linear >.


The documentation for this class was generated from the following file:
Generated on Fri Mar 18 11:33:24 2005 for OpenVL by doxygen 1.3.3