Main Page   Class Hierarchy   Alphabetical List   Compound List   Compound Members   Related Pages  

vtkKitwareObjectFactory Class Reference

Object Factory for Kitware patented objects. More...

#include <vtkKitwareObjectFactory.h>

Inheritance diagram for vtkKitwareObjectFactory:

Inheritance graph
[legend]
Collaboration diagram for vtkKitwareObjectFactory:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual const char * GetVTKSourceVersion ()

Static Public Methods

vtkKitwareObjectFactory * New ()
int IsTypeOf (const char *type)
vtkKitwareObjectFactory * SafeDownCast (vtkObject *o)

Protected Methods

virtual vtkObjectCreateObject (const char *vtkclassname)

Detailed Description

Object Factory for Kitware patented objects.

Date:
2000/12/10 20:09:16
Revision:
1.7

This is an object factory used to create Kitware patented objects. There is a KitwareFactory.dsp and KitwareFactory.dsw file to create the factory dll with the microsoft compiler. Once the Factory is created, put the resulting dll in VTK_AUTOLOAD_PATH.

See also:
vtkObjectFactory


Member Function Documentation

virtual vtkObject* vtkKitwareObjectFactory::CreateObject const char *    vtkclassname [protected, virtual]
 

This method is provided by sub-classes of vtkObjectFactory. It should create the named vtk object or return 0 if that object is not supported by the factory implementation.

Reimplemented from vtkObjectFactory.

virtual const char* vtkKitwareObjectFactory::GetClassName   [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkObjectFactory.

virtual const char* vtkKitwareObjectFactory::GetVTKSourceVersion   [virtual]
 

All sub-classes of vtkObjectFactory should must return the version of VTK they were built with. This should be implemented with the macro VTK_SOURCE_VERSION and NOT a call to vtkVersion::GetVTKSourceVersion. As the version needs to be compiled into the file as a string constant. This is critical to determine possible incompatible dynamic factory loads.

Implements vtkObjectFactory.

virtual int vtkKitwareObjectFactory::IsA const char *    type [virtual]
 

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkObjectFactory.

int vtkKitwareObjectFactory::IsTypeOf const char *    type [static]
 

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkObjectFactory.

vtkKitwareObjectFactory* vtkKitwareObjectFactory::New   [inline, static]
 

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkObject.

void vtkKitwareObjectFactory::PrintSelf ostream &    os,
vtkIndent    indent
[virtual]
 

Print ObjectFactor to stream.

Reimplemented from vtkObjectFactory.

vtkKitwareObjectFactory* vtkKitwareObjectFactory::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkObjectFactory.


The documentation for this class was generated from the following file:
Generated on Tue Mar 19 13:28:25 2002 for VTK by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002