# encoding: utf-8
# module vtkmodules.vtkCommonDataModel
# from C:\Users\xukai\Downloads\发票2\venv\Lib\site-packages\vtkmodules\vtkCommonDataModel.cp311-win_amd64.pyd
# by generator 1.147
# no doc

# imports
import vtkmodules.vtkCommonCore as __vtkmodules_vtkCommonCore
import vtkmodules.vtkCommonMath as __vtkmodules_vtkCommonMath
import vtkmodules.vtkCommonTransforms as __vtkmodules_vtkCommonTransforms


class vtkDataAssemblyVisitor(__vtkmodules_vtkCommonCore.vtkObject):
    """
    vtkDataAssemblyVisitor - visitor API for vtkDataAssembly
    
    Superclass: vtkObject
    
    vtkDataAssemblyVisitor defines a visitor API for vtkDataAssembly. A
    concrete subclass of vtkDataAssemblyVisitor can be passed to
    `vtkDataAssembly::Visit` to execute custom code on each node in the
    data-assembly.
    
    `vtkDataAssembly::Visit` will call `vtkDataAssemblyVisitor::Visit` on
    each node in the assembly (or chosen subtree). The traversal order,
    i.e. depth-first or breadth-first, is selected by the arguments
    passed to `vtkDataAssembly::Visit`. Before traversing a sub-tree for
    a particular node, `vtkDataAssemblyVisitor::GetTraverseSubtree` is
    called, if it returns false, the subtree is skipped. If it returns
    true, then then `vtkDataAssemblyVisitor::BeginSubTree` is called,
    followed by calls to `vtkDataAssemblyVisitor::Visit` for each of the
    child nodes, and finally `vtkDataAssemblyVisitor::EndSubTree` is
    called.
    
    In depth-first order, the subtree traversal is recursive. Thus, after
    `BeginSubTree` is called for specific node, all its children and
    their subtrees are traversed before `EndSubTree` gets called for that
    node.
    
    In breadth-first order, a first-in-first-out queue is used. A node is
    visited, i.e. `vtkDataAssemblyVisitor::Visit` called on it, then if
    `GetTraverseSubtree` returns true, `Visit` gets called on all its
    immediate children one after another followed by `EndSubTree` on the
    parent node. As each of the child nodes are visited, they get added
    to the queue. Now, for each node in the queue, the process repeats
    i.e. `GetTraverseSubtree` is called, followed by the subtree
    traversal for that node. This continues until the queue empty.
    
    @sa vtkDataAssembly
    """
    def GetNumberOfGenerationsFromBase(self, type): # real signature unknown; restored from __doc__
        """
        GetNumberOfGenerationsFromBase(self, type:str) -> int
        C++: vtkIdType GetNumberOfGenerationsFromBase(const char *type)
            override;
        
        Given the name of a base class of this class type, return the
        distance of inheritance between this class type and the named
        class (how many generations of inheritance are there between this
        class and the named class). If the named class is not in this
        class's inheritance tree, return a negative value. Valid
        responses will always be nonnegative. This method works in
        combination with vtkTypeMacro found in vtkSetGet.h.
        """
        return 0

    def GetNumberOfGenerationsFromBaseType(self, type): # real signature unknown; restored from __doc__
        """
        GetNumberOfGenerationsFromBaseType(type:str) -> int
        C++: static vtkIdType GetNumberOfGenerationsFromBaseType(
            const char *type)
        
        Given a the name of a base class of this class type, return the
        distance of inheritance between this class type and the named
        class (how many generations of inheritance are there between this
        class and the named class). If the named class is not in this
        class's inheritance tree, return a negative value. Valid
        responses will always be nonnegative. This method works in
        combination with vtkTypeMacro found in vtkSetGet.h.
        """
        return 0

    def IsA(self, type): # real signature unknown; restored from __doc__
        """
        IsA(self, type:str) -> int
        C++: vtkTypeBool IsA(const char *type) override;
        
        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.
        """
        return 0

    def IsTypeOf(self, type): # real signature unknown; restored from __doc__
        """
        IsTypeOf(type:str) -> int
        C++: static vtkTypeBool IsTypeOf(const char *type)
        
        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.
        """
        return 0

    def NewInstance(self): # real signature unknown; restored from __doc__
        """
        NewInstance(self) -> vtkDataAssemblyVisitor
        C++: vtkDataAssemblyVisitor *NewInstance()
        """
        return vtkDataAssemblyVisitor

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkDataAssemblyVisitor
        C++: static vtkDataAssemblyVisitor *SafeDownCast(vtkObjectBase *o)
        """
        return vtkDataAssemblyVisitor

    def __delattr__(self, *args, **kwargs): # real signature unknown
        """ Implement delattr(self, name). """
        pass

    def __getattribute__(self, *args, **kwargs): # real signature unknown
        """ Return getattr(self, name). """
        pass

    def __init__(self, *args, **kwargs): # real signature unknown
        pass

    @staticmethod # known case of __new__
    def __new__(*args, **kwargs): # real signature unknown
        """ Create and return a new object.  See help(type) for accurate signature. """
        pass

    def __repr__(self, *args, **kwargs): # real signature unknown
        """ Return repr(self). """
        pass

    def __setattr__(self, *args, **kwargs): # real signature unknown
        """ Implement setattr(self, name, value). """
        pass

    def __str__(self, *args, **kwargs): # real signature unknown
        """ Return str(self). """
        pass

    __this__ = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """Pointer to the C++ object."""


    __dict__ = None # (!) real value is "mappingproxy({'__vtkname__': 'vtkDataAssemblyVisitor', 'IsTypeOf': <method 'IsTypeOf' of 'vtkmodules.vtkCommonDataModel.vtkDataAssemblyVisitor' objects>, 'IsA': <method 'IsA' of 'vtkmodules.vtkCommonDataModel.vtkDataAssemblyVisitor' objects>, 'SafeDownCast': <method 'SafeDownCast' of 'vtkmodules.vtkCommonDataModel.vtkDataAssemblyVisitor' objects>, 'NewInstance': <method 'NewInstance' of 'vtkmodules.vtkCommonDataModel.vtkDataAssemblyVisitor' objects>, 'GetNumberOfGenerationsFromBaseType': <method 'GetNumberOfGenerationsFromBaseType' of 'vtkmodules.vtkCommonDataModel.vtkDataAssemblyVisitor' objects>, 'GetNumberOfGenerationsFromBase': <method 'GetNumberOfGenerationsFromBase' of 'vtkmodules.vtkCommonDataModel.vtkDataAssemblyVisitor' objects>, '__new__': <built-in method __new__ of type object at 0x00007FF81D6041B0>, '__repr__': <slot wrapper '__repr__' of 'vtkmodules.vtkCommonDataModel.vtkDataAssemblyVisitor' objects>, '__str__': <slot wrapper '__str__' of 'vtkmodules.vtkCommonDataModel.vtkDataAssemblyVisitor' objects>, '__getattribute__': <slot wrapper '__getattribute__' of 'vtkmodules.vtkCommonDataModel.vtkDataAssemblyVisitor' objects>, '__setattr__': <slot wrapper '__setattr__' of 'vtkmodules.vtkCommonDataModel.vtkDataAssemblyVisitor' objects>, '__delattr__': <slot wrapper '__delattr__' of 'vtkmodules.vtkCommonDataModel.vtkDataAssemblyVisitor' objects>, '__dict__': <attribute '__dict__' of 'vtkmodules.vtkCommonDataModel.vtkDataAssemblyVisitor' objects>, '__this__': <attribute '__this__' of 'vtkmodules.vtkCommonDataModel.vtkDataAssemblyVisitor' objects>, '__doc__': 'vtkDataAssemblyVisitor - visitor API for vtkDataAssembly\\n\\nSuperclass: vtkObject\\n\\nvtkDataAssemblyVisitor defines a visitor API for vtkDataAssembly. A\\nconcrete subclass of vtkDataAssemblyVisitor can be passed to\\n`vtkDataAssembly::Visit` to execute custom code on each node in the\\ndata-assembly.\\n\\n`vtkDataAssembly::Visit` will call `vtkDataAssemblyVisitor::Visit` on\\neach node in the assembly (or chosen subtree). The traversal order,\\ni.e. depth-first or breadth-first, is selected by the arguments\\npassed to `vtkDataAssembly::Visit`. Before traversing a sub-tree for\\na particular node, `vtkDataAssemblyVisitor::GetTraverseSubtree` is\\ncalled, if it returns false, the subtree is skipped. If it returns\\ntrue, then then `vtkDataAssemblyVisitor::BeginSubTree` is called,\\nfollowed by calls to `vtkDataAssemblyVisitor::Visit` for each of the\\nchild nodes, and finally `vtkDataAssemblyVisitor::EndSubTree` is\\ncalled.\\n\\nIn depth-first order, the subtree traversal is recursive. Thus, after\\n`BeginSubTree` is called for specific node, all its children and\\ntheir subtrees are traversed before `EndSubTree` gets called for that\\nnode.\\n\\nIn breadth-first order, a first-in-first-out queue is used. A node is\\nvisited, i.e. `vtkDataAssemblyVisitor::Visit` called on it, then if\\n`GetTraverseSubtree` returns true, `Visit` gets called on all its\\nimmediate children one after another followed by `EndSubTree` on the\\nparent node. As each of the child nodes are visited, they get added\\nto the queue. Now, for each node in the queue, the process repeats\\ni.e. `GetTraverseSubtree` is called, followed by the subtree\\ntraversal for that node. This continues until the queue empty.\\n\\n@sa vtkDataAssembly\\n\\n'})"
    __vtkname__ = 'vtkDataAssemblyVisitor'


