# encoding: utf-8
# module vtkmodules.vtkIOXML
# from C:\Users\xukai\Downloads\发票2\venv\Lib\site-packages\vtkmodules\vtkIOXML.cp311-win_amd64.pyd
# by generator 1.147
# no doc

# imports
import vtkmodules.vtkCommonCore as __vtkmodules_vtkCommonCore
import vtkmodules.vtkCommonExecutionModel as __vtkmodules_vtkCommonExecutionModel
import vtkmodules.vtkIOXMLParser as __vtkmodules_vtkIOXMLParser


from .vtkXMLWriter import vtkXMLWriter

class vtkXMLHyperTreeGridWriter(vtkXMLWriter):
    """
    vtkXMLHyperTreeGridWriter - Write VTK XML HyperTreeGrid files.
    
    Superclass: vtkXMLWriter
    
    vtkXMLHyperTreeGridWriter writes the VTK XML HyperTreeGrid file
    format. The standard extension for this writer's file format is
    "htg".
    
    Note for developers: The VTK XML HyperTreeGrid file format is
    versioned. Any evolution of the format must lead to:
    - a move to a higher major version number, X+1.0, if the evolution is
      incompatible with the previous versions either at the level of the
      description of the information or the semantic understanding made
      by the reader;
    - a move to a higher minor version number, X.y+1, if its consists of
      adding information without calling into question the general
      interpretation.
    
    Version 0.0 (P. Fasel and D. DeMarle) ... Version 1.0 (J-B Lekien
    CEA, DAM, DIF, F-91297 Arpajon, France)
    - writing by HyperTree description and fields;
    - saving the minimal tree (a hidden refined node becomes a hidden
      leaf node);
    - saving the tree by level of refinement (course in width);
    - the last null values in the binary description of the tree or mask
      (if defined) may not / are not explicitly described. The size of
      the table given elsewhere is authentic;
    - all fields are copied to be saved in the implicit order, so even if
    an explicit global index map exists, it disappears;
    - writing in this version requires more memory and CPU;
    - reading of a part is accelerated (non iterative construction of the
    tree) and consumes potentially less memory (suppression of the global
    index map explicit);
    - expanded possibility at the reader level, today these options allow
    to accelerate the obtaining of a result which will be less precise
      and to allow the loading of a part of a mesh which would not hold
      in memory:
    - loading by limiting the maximum level to load;
    - loading by selecting (differentes description possibilities are
      offered) the HTs to take into account.
    
    The default version of the VTK XML HyperTreeGrid file format is the
    latest version, now version 1.0.
    
    For developpers: To ensure the durability of this storage format over
    time, at least, the drive must continue to support playback of
    previous format.
    """
    def GetDefaultFileExtension(self): # real signature unknown; restored from __doc__
        """
        GetDefaultFileExtension(self) -> str
        C++: const char *GetDefaultFileExtension() override;
        
        Get the default file extension for files written by this writer.
        """
        return ""

    def GetInput(self): # real signature unknown; restored from __doc__
        """
        GetInput(self) -> vtkHyperTreeGrid
        C++: vtkHyperTreeGrid *GetInput()
        
        Get/Set the writer's input.
        """
        pass

    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) -> vtkXMLHyperTreeGridWriter
        C++: vtkXMLHyperTreeGridWriter *NewInstance()
        """
        return vtkXMLHyperTreeGridWriter

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkXMLHyperTreeGridWriter
        C++: static vtkXMLHyperTreeGridWriter *SafeDownCast(
            vtkObjectBase *o)
        """
        return vtkXMLHyperTreeGridWriter

    def SetDataSetMajorVersion(self, _arg): # real signature unknown; restored from __doc__
        """
        SetDataSetMajorVersion(self, _arg:int) -> None
        C++: virtual void SetDataSetMajorVersion(int _arg)
        
        Methods to define the file's major and minor version numbers.
        Major version incremented since v0.1 hypertreegrid data readers
        cannot read the files written by this new reader. A version is
        defined by defect, so there is no need to call this function. The
        default choice is usually the best choice.
        """
        pass

    def SetDataSetMinorVersion(self, _arg): # real signature unknown; restored from __doc__
        """
        SetDataSetMinorVersion(self, _arg:int) -> None
        C++: virtual void SetDataSetMinorVersion(int _arg)
        """
        pass

    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__\': \'vtkXMLHyperTreeGridWriter\', \'IsTypeOf\': <method \'IsTypeOf\' of \'vtkmodules.vtkIOXML.vtkXMLHyperTreeGridWriter\' objects>, \'IsA\': <method \'IsA\' of \'vtkmodules.vtkIOXML.vtkXMLHyperTreeGridWriter\' objects>, \'SafeDownCast\': <method \'SafeDownCast\' of \'vtkmodules.vtkIOXML.vtkXMLHyperTreeGridWriter\' objects>, \'NewInstance\': <method \'NewInstance\' of \'vtkmodules.vtkIOXML.vtkXMLHyperTreeGridWriter\' objects>, \'GetNumberOfGenerationsFromBaseType\': <method \'GetNumberOfGenerationsFromBaseType\' of \'vtkmodules.vtkIOXML.vtkXMLHyperTreeGridWriter\' objects>, \'GetNumberOfGenerationsFromBase\': <method \'GetNumberOfGenerationsFromBase\' of \'vtkmodules.vtkIOXML.vtkXMLHyperTreeGridWriter\' objects>, \'GetInput\': <method \'GetInput\' of \'vtkmodules.vtkIOXML.vtkXMLHyperTreeGridWriter\' objects>, \'GetDefaultFileExtension\': <method \'GetDefaultFileExtension\' of \'vtkmodules.vtkIOXML.vtkXMLHyperTreeGridWriter\' objects>, \'SetDataSetMajorVersion\': <method \'SetDataSetMajorVersion\' of \'vtkmodules.vtkIOXML.vtkXMLHyperTreeGridWriter\' objects>, \'SetDataSetMinorVersion\': <method \'SetDataSetMinorVersion\' of \'vtkmodules.vtkIOXML.vtkXMLHyperTreeGridWriter\' objects>, \'__new__\': <built-in method __new__ of type object at 0x00007FF844F539C0>, \'__repr__\': <slot wrapper \'__repr__\' of \'vtkmodules.vtkIOXML.vtkXMLHyperTreeGridWriter\' objects>, \'__str__\': <slot wrapper \'__str__\' of \'vtkmodules.vtkIOXML.vtkXMLHyperTreeGridWriter\' objects>, \'__getattribute__\': <slot wrapper \'__getattribute__\' of \'vtkmodules.vtkIOXML.vtkXMLHyperTreeGridWriter\' objects>, \'__setattr__\': <slot wrapper \'__setattr__\' of \'vtkmodules.vtkIOXML.vtkXMLHyperTreeGridWriter\' objects>, \'__delattr__\': <slot wrapper \'__delattr__\' of \'vtkmodules.vtkIOXML.vtkXMLHyperTreeGridWriter\' objects>, \'__dict__\': <attribute \'__dict__\' of \'vtkmodules.vtkIOXML.vtkXMLHyperTreeGridWriter\' objects>, \'__this__\': <attribute \'__this__\' of \'vtkmodules.vtkIOXML.vtkXMLHyperTreeGridWriter\' objects>, \'__doc__\': \'vtkXMLHyperTreeGridWriter - Write VTK XML HyperTreeGrid files.\\n\\nSuperclass: vtkXMLWriter\\n\\nvtkXMLHyperTreeGridWriter writes the VTK XML HyperTreeGrid file\\nformat. The standard extension for this writer\\\'s file format is\\n"htg".\\n\\nNote for developers: The VTK XML HyperTreeGrid file format is\\nversioned. Any evolution of the format must lead to:\\n- a move to a higher major version number, X+1.0, if the evolution is\\n  incompatible with the previous versions either at the level of the\\n  description of the information or the semantic understanding made\\n  by the reader;\\n- a move to a higher minor version number, X.y+1, if its consists of\\n  adding information without calling into question the general\\n  interpretation.\\n\\nVersion 0.0 (P. Fasel and D. DeMarle) ... Version 1.0 (J-B Lekien\\nCEA, DAM, DIF, F-91297 Arpajon, France)\\n- writing by HyperTree description and fields;\\n- saving the minimal tree (a hidden refined node becomes a hidden\\n  leaf node);\\n- saving the tree by level of refinement (course in width);\\n- the last null values in the binary description of the tree or mask\\n  (if defined) may not / are not explicitly described. The size of\\n  the table given elsewhere is authentic;\\n- all fields are copied to be saved in the implicit order, so even if\\nan explicit global index map exists, it disappears;\\n- writing in this version requires more memory and CPU;\\n- reading of a part is accelerated (non iterative construction of the\\ntree) and consumes potentially less memory (suppression of the global\\nindex map explicit);\\n- expanded possibility at the reader level, today these options allow\\nto accelerate the obtaining of a result which will be less precise\\n  and to allow the loading of a part of a mesh which would not hold\\n  in memory:\\n- loading by limiting the maximum level to load;\\n- loading by selecting (differentes description possibilities are\\n  offered) the HTs to take into account.\\n\\nThe default version of the VTK XML HyperTreeGrid file format is the\\nlatest version, now version 1.0.\\n\\nFor developpers: To ensure the durability of this storage format over\\ntime, at least, the drive must continue to support playback of\\nprevious format.\\n\\n\'})'
    __vtkname__ = 'vtkXMLHyperTreeGridWriter'


