Exemple #1
0
        public new static vtkAlgorithmOutput SafeDownCast(vtkObjectBase o)
        {
            vtkAlgorithmOutput vtkAlgorithmOutput = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkAlgorithmOutput.vtkAlgorithmOutput_SafeDownCast_07((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkAlgorithmOutput = (vtkAlgorithmOutput)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkAlgorithmOutput.Register(null);
                }
            }
            return(vtkAlgorithmOutput);
        }
        public virtual vtkAlgorithmOutput GetProducerPort(vtkDataObject arg0)
        {
            vtkAlgorithmOutput vtkAlgorithmOutput = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkExecutive.vtkExecutive_GetProducerPort_18(base.GetCppThis(), (arg0 == null) ? default(HandleRef) : arg0.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkAlgorithmOutput = (vtkAlgorithmOutput)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkAlgorithmOutput.Register(null);
                }
            }
            return(vtkAlgorithmOutput);
        }
Exemple #3
0
        public vtkAlgorithmOutput GetClippedOutputPort()
        {
            vtkAlgorithmOutput vtkAlgorithmOutput = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkClipPolyData.vtkClipPolyData_GetClippedOutputPort_08(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkAlgorithmOutput = (vtkAlgorithmOutput)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkAlgorithmOutput.Register(null);
                }
            }
            return(vtkAlgorithmOutput);
        }
Exemple #4
0
        public override vtkAlgorithmOutput GetProducerPort()
        {
            vtkAlgorithmOutput vtkAlgorithmOutput = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkCompositeDataSet.vtkCompositeDataSet_GetProducerPort_10(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkAlgorithmOutput = (vtkAlgorithmOutput)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkAlgorithmOutput.Register(null);
                }
            }
            return(vtkAlgorithmOutput);
        }
Exemple #5
0
        public vtkAlgorithmOutput GetInputConnection(int port, int index)
        {
            vtkAlgorithmOutput vtkAlgorithmOutput = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkAlgorithm.vtkAlgorithm_GetInputConnection_12(base.GetCppThis(), port, index, ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkAlgorithmOutput = (vtkAlgorithmOutput)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkAlgorithmOutput.Register(null);
                }
            }
            return(vtkAlgorithmOutput);
        }
        public override vtkAlgorithmOutput GetInternalAnnotationOutputPort(int port)
        {
            vtkAlgorithmOutput vtkAlgorithmOutput = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkEmptyRepresentation.vtkEmptyRepresentation_GetInternalAnnotationOutputPort_02(base.GetCppThis(), port, ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkAlgorithmOutput = (vtkAlgorithmOutput)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkAlgorithmOutput.Register(null);
                }
            }
            return(vtkAlgorithmOutput);
        }
Exemple #7
0
        public virtual vtkAlgorithmOutput GetInternalSelectionOutputPort()
        {
            vtkAlgorithmOutput vtkAlgorithmOutput = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkDataRepresentation.vtkDataRepresentation_GetInternalSelectionOutputPort_13(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkAlgorithmOutput = (vtkAlgorithmOutput)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkAlgorithmOutput.Register(null);
                }
            }
            return(vtkAlgorithmOutput);
        }