#include "vtkCommonCoreModule.h"
#include "vtkDebugLeaksManager.h"
#include "vtkFeatures.h"
#include "vtkObject.h"
#include <string>
 
Go to the source code of this file.
◆ VTK_CREATE_CREATE_FUNCTION
      
        
          | #define VTK_CREATE_CREATE_FUNCTION | 
          ( | 
            | 
          classname | ) | 
               static vtkObject* vtkObjectFactoryCreate##classname() { return classname::New(); } | 
        
      
 
 
◆ VTK_FACTORY_INTERFACE_EXPORT
      
        
          | #define VTK_FACTORY_INTERFACE_EXPORT   VTKCOMMONCORE_EXPORT | 
        
      
 
 
◆ VTK_FACTORY_INTERFACE_IMPLEMENT
      
        
          | #define VTK_FACTORY_INTERFACE_IMPLEMENT | 
          ( | 
            | 
          factoryName | ) | 
           | 
        
      
 
Value:
  {                                                                                                \
    return VTK_SOURCE_VERSION;                                                                     \
  }                                                                                                \
  {                                                                                                \
    return factoryName ::New();                                                                    \
  }
abstract base class for vtkObjectFactories
 
#define VTK_FACTORY_INTERFACE_EXPORT
 
 
Definition at line 292 of file vtkObjectFactory.h.
 
 
◆ VTK_OBJECT_FACTORY_NEW_BODY
      
        
          | #define VTK_OBJECT_FACTORY_NEW_BODY | 
          ( | 
            | 
          thisClass | ) | 
           | 
        
      
 
Value:
  if (ret)                                                                                         \
  {                                                                                                \
    return static_cast<thisClass*>(ret);                                                           \
  }                                                                                                \
  auto result = new thisClass;                                                                     \
  result->InitializeObjectBase();                                                                  \
  return result
static vtkObject * CreateInstance(const char *vtkclassname, bool isAbstract=false)
Create and return an instance of the named vtk object.
 
abstract base class for most VTK objects
 
 
Definition at line 303 of file vtkObjectFactory.h.
 
 
◆ VTK_ABSTRACT_OBJECT_FACTORY_NEW_BODY
      
        
          | #define VTK_ABSTRACT_OBJECT_FACTORY_NEW_BODY | 
          ( | 
            | 
          thisClass | ) | 
           | 
        
      
 
Value:
  if (ret)                                                                                         \
  {                                                                                                \
    return static_cast<thisClass*>(ret);                                                           \
  }                                                                                                \
  vtkGenericWarningMacro("Error: no override found for '" #thisClass "'.");                        \
  return nullptr
 
Definition at line 316 of file vtkObjectFactory.h.
 
 
◆ VTK_STANDARD_NEW_BODY
      
        
          | #define VTK_STANDARD_NEW_BODY | 
          ( | 
            | 
          thisClass | ) | 
           | 
        
      
 
Value:  auto result = new thisClass;                                                                     \
  result->InitializeObjectBase();                                                                  \
  return result
 
Definition at line 329 of file vtkObjectFactory.h.
 
 
◆ vtkStandardNewMacro
      
        
          | #define vtkStandardNewMacro | 
          ( | 
            | 
          thisClass | ) | 
               thisClass* thisClass::New() { VTK_STANDARD_NEW_BODY(thisClass); } | 
        
      
 
 
◆ vtkStandardExtendedNewMacro
      
        
          | #define vtkStandardExtendedNewMacro | 
          ( | 
            | 
          thisClass | ) | 
           | 
        
      
 
Value:  thisClass* thisClass::ExtendedNew()                                                              \
  {                                                                                                \
    auto mkhold = vtkMemkindRAII(true);                                                            \
    (void)mkhold;                                                                                  \
    return thisClass::New();                                                                       \
  }
 
Definition at line 341 of file vtkObjectFactory.h.
 
 
◆ vtkObjectFactoryNewMacro
◆ vtkAbstractObjectFactoryNewMacro
◆ vtkObjectFactoryRegistryCleanupInstance