# 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


from .vtkPointSet import vtkPointSet

class vtkPath(vtkPointSet):
    """
    vtkPath - concrete dataset representing a path defined by Bezier
    curves.
    
    Superclass: vtkPointSet
    
    vtkPath provides a container for paths composed of line segments,
    2nd-order (quadratic) and 3rd-order (cubic) Bezier curves.
    """
    def Allocate(self, size=1000, extSize=1000): # real signature unknown; restored from __doc__
        """
        Allocate(self, size:int=1000, extSize:int=1000) -> None
        C++: void Allocate(vtkIdType size=1000, int extSize=1000)
        
        Method allocates initial storage for points. Use this method
        before the method vtkPath::InsertNextPoint().
        """
        pass

    def GetCell(self, __a): # real signature unknown; restored from __doc__
        """
        GetCell(self, __a:int) -> vtkCell
        C++: vtkCell *GetCell(vtkIdType) override;
        GetCell(self, __a:int, __b:vtkGenericCell) -> None
        C++: void GetCell(vtkIdType, vtkGenericCell *) override;
        GetCell(self, i:int, j:int, k:int) -> vtkCell
        C++: virtual vtkCell *GetCell(int i, int j, int k)
        
        This method always return a `vtkEmptyCell`, as there is no cell
        in a `vtkPointSet`.
        """
        return vtkCell

    def GetCellPoints(self, __a, ptIds): # real signature unknown; restored from __doc__
        """
        GetCellPoints(self, __a:int, ptIds:vtkIdList) -> None
        C++: void GetCellPoints(vtkIdType, vtkIdList *ptIds) override;
        
        vtkPath doesn't use cells, this method just clears ptIds.
        """
        pass

    def GetCellType(self, __a): # real signature unknown; restored from __doc__
        """
        GetCellType(self, __a:int) -> int
        C++: int GetCellType(vtkIdType) override;
        
        This method always returns `VTK_EMPTY_CELL`, as there is no cell
        in a `vtkPointSet`.
        """
        return 0

    def GetCodes(self): # real signature unknown; restored from __doc__
        """
        GetCodes(self) -> vtkIntArray
        C++: vtkIntArray *GetCodes()
        """
        pass

    def GetData(self, info): # real signature unknown; restored from __doc__
        """
        GetData(info:vtkInformation) -> vtkPath
        C++: static vtkPath *GetData(vtkInformation *info)
        GetData(v:vtkInformationVector, i:int=0) -> vtkPath
        C++: static vtkPath *GetData(vtkInformationVector *v, int i=0)
        
        Retrieve an instance of this class from an information object.
        """
        return vtkPath

    def GetDataObjectType(self): # real signature unknown; restored from __doc__
        """
        GetDataObjectType(self) -> int
        C++: int GetDataObjectType() override;
        
        Return what type of dataset this is.
        """
        return 0

    def GetMaxCellSize(self): # real signature unknown; restored from __doc__
        """
        GetMaxCellSize(self) -> int
        C++: int GetMaxCellSize() override;
        
        Return the maximum cell size in this poly data.
        """
        return 0

    def GetNumberOfCells(self): # real signature unknown; restored from __doc__
        """
        GetNumberOfCells(self) -> int
        C++: vtkIdType GetNumberOfCells() override;
        
        vtkPath doesn't use cells. These methods return trivial values.
        """
        return 0

    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 GetPointCells(self, ptId, cellIds): # real signature unknown; restored from __doc__
        """
        GetPointCells(self, ptId:int, cellIds:vtkIdList) -> None
        C++: void GetPointCells(vtkIdType ptId, vtkIdList *cellIds)
            override;
        
        vtkPath doesn't use cells, this method just clears cellIds.
        """
        pass

    def InsertNextPoint(self, pts, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        InsertNextPoint(self, pts:[float, float, float], code:int) -> None
        C++: void InsertNextPoint(double pts[3], int code)
        InsertNextPoint(self, x:float, y:float, z:float, code:int) -> None
        C++: void InsertNextPoint(double x, double y, double z, int code)
        """
        pass

    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) -> vtkPath
        C++: vtkPath *NewInstance()
        """
        return vtkPath

    def Reset(self): # real signature unknown; restored from __doc__
        """
        Reset(self) -> None
        C++: void Reset()
        
        Begin inserting data all over again. Memory is not freed but
        otherwise objects are returned to their initial state.
        """
        pass

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkPath
        C++: static vtkPath *SafeDownCast(vtkObjectBase *o)
        """
        return vtkPath

    def SetCodes(self, __a): # real signature unknown; restored from __doc__
        """
        SetCodes(self, __a:vtkIntArray) -> None
        C++: void SetCodes(vtkIntArray *)
        
        Set/Get the array of control point codes:
        """
        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."""


    CONIC_CURVE = 2
    ControlPointType = None # (!) real value is "<class 'vtkmodules.vtkCommonDataModel.vtkPath.ControlPointType'>"
    CUBIC_CURVE = 3
    LINE_TO = 1
    MOVE_TO = 0
    __dict__ = None # (!) real value is "mappingproxy({'__vtkname__': 'vtkPath', 'IsTypeOf': <method 'IsTypeOf' of 'vtkmodules.vtkCommonDataModel.vtkPath' objects>, 'IsA': <method 'IsA' of 'vtkmodules.vtkCommonDataModel.vtkPath' objects>, 'SafeDownCast': <method 'SafeDownCast' of 'vtkmodules.vtkCommonDataModel.vtkPath' objects>, 'NewInstance': <method 'NewInstance' of 'vtkmodules.vtkCommonDataModel.vtkPath' objects>, 'GetNumberOfGenerationsFromBaseType': <method 'GetNumberOfGenerationsFromBaseType' of 'vtkmodules.vtkCommonDataModel.vtkPath' objects>, 'GetNumberOfGenerationsFromBase': <method 'GetNumberOfGenerationsFromBase' of 'vtkmodules.vtkCommonDataModel.vtkPath' objects>, 'GetDataObjectType': <method 'GetDataObjectType' of 'vtkmodules.vtkCommonDataModel.vtkPath' objects>, 'InsertNextPoint': <method 'InsertNextPoint' of 'vtkmodules.vtkCommonDataModel.vtkPath' objects>, 'SetCodes': <method 'SetCodes' of 'vtkmodules.vtkCommonDataModel.vtkPath' objects>, 'GetCodes': <method 'GetCodes' of 'vtkmodules.vtkCommonDataModel.vtkPath' objects>, 'GetNumberOfCells': <method 'GetNumberOfCells' of 'vtkmodules.vtkCommonDataModel.vtkPath' objects>, 'GetCell': <method 'GetCell' of 'vtkmodules.vtkCommonDataModel.vtkPath' objects>, 'GetCellType': <method 'GetCellType' of 'vtkmodules.vtkCommonDataModel.vtkPath' objects>, 'GetCellPoints': <method 'GetCellPoints' of 'vtkmodules.vtkCommonDataModel.vtkPath' objects>, 'GetPointCells': <method 'GetPointCells' of 'vtkmodules.vtkCommonDataModel.vtkPath' objects>, 'GetMaxCellSize': <method 'GetMaxCellSize' of 'vtkmodules.vtkCommonDataModel.vtkPath' objects>, 'Allocate': <method 'Allocate' of 'vtkmodules.vtkCommonDataModel.vtkPath' objects>, 'Reset': <method 'Reset' of 'vtkmodules.vtkCommonDataModel.vtkPath' objects>, 'GetData': <method 'GetData' of 'vtkmodules.vtkCommonDataModel.vtkPath' objects>, 'ControlPointType': <class 'vtkmodules.vtkCommonDataModel.vtkPath.ControlPointType'>, 'MOVE_TO': 0, 'LINE_TO': 1, 'CONIC_CURVE': 2, 'CUBIC_CURVE': 3, '__new__': <built-in method __new__ of type object at 0x00007FF81D63E160>, '__repr__': <slot wrapper '__repr__' of 'vtkmodules.vtkCommonDataModel.vtkPath' objects>, '__str__': <slot wrapper '__str__' of 'vtkmodules.vtkCommonDataModel.vtkPath' objects>, '__getattribute__': <slot wrapper '__getattribute__' of 'vtkmodules.vtkCommonDataModel.vtkPath' objects>, '__setattr__': <slot wrapper '__setattr__' of 'vtkmodules.vtkCommonDataModel.vtkPath' objects>, '__delattr__': <slot wrapper '__delattr__' of 'vtkmodules.vtkCommonDataModel.vtkPath' objects>, '__dict__': <attribute '__dict__' of 'vtkmodules.vtkCommonDataModel.vtkPath' objects>, '__this__': <attribute '__this__' of 'vtkmodules.vtkCommonDataModel.vtkPath' objects>, '__doc__': 'vtkPath - concrete dataset representing a path defined by Bezier\\ncurves.\\n\\nSuperclass: vtkPointSet\\n\\nvtkPath provides a container for paths composed of line segments,\\n2nd-order (quadratic) and 3rd-order (cubic) Bezier curves.\\n\\n'})"
    __vtkname__ = 'vtkPath'


