예제 #1
0
        public new vtkAlgorithm NewInstance()
        {
            vtkAlgorithm result      = null;
            uint         mteStatus   = 0u;
            uint         mteIndex    = 4294967295u;
            uint         rawRefCount = 0u;
            IntPtr       intPtr      = vtkAlgorithm.vtkAlgorithm_NewInstance_40(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkAlgorithm)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
예제 #2
0
        public vtkAlgorithm GetAlgorithm()
        {
            vtkAlgorithm vtkAlgorithm = null;
            uint         mteStatus    = 0u;
            uint         mteIndex     = 4294967295u;
            uint         rawRefCount  = 0u;
            IntPtr       intPtr       = vtkExecutive.vtkExecutive_GetAlgorithm_07(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkAlgorithm = (vtkAlgorithm)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkAlgorithm.Register(null);
                }
            }
            return(vtkAlgorithm);
        }
예제 #3
0
        public new static vtkAlgorithm SafeDownCast(vtkObjectBase o)
        {
            vtkAlgorithm vtkAlgorithm = null;
            uint         mteStatus    = 0u;
            uint         mteIndex     = 4294967295u;
            uint         rawRefCount  = 0u;
            IntPtr       intPtr       = vtkAlgorithm.vtkAlgorithm_SafeDownCast_53((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkAlgorithm = (vtkAlgorithm)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkAlgorithm.Register(null);
                }
            }
            return(vtkAlgorithm);
        }
예제 #4
0
 public uint GetEstimatedSize(vtkAlgorithm input, int inputPort, int connection)
 {
     return(vtkPipelineSize.vtkPipelineSize_GetEstimatedSize_01(base.GetCppThis(), (input == null) ? default(HandleRef) : input.GetCppThis(), inputPort, connection));
 }
예제 #5
0
 public void SetProducer(vtkAlgorithm producer)
 {
     vtkAlgorithmOutput.vtkAlgorithmOutput_SetProducer_09(base.GetCppThis(), (producer == null) ? default(HandleRef) : producer.GetCppThis());
 }