Esempio n. 1
0
        public vtkObject GetCurrentObject()
        {
            vtkObject vtkObject   = null;
            uint      mteStatus   = 0u;
            uint      mteIndex    = 4294967295u;
            uint      rawRefCount = 0u;
            IntPtr    intPtr      = vtkCollectionIterator.vtkCollectionIterator_GetCurrentObject_02(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkObject = (vtkObject)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkObject.Register(null);
                }
            }
            return(vtkObject);
        }
Esempio n. 2
0
        public vtkObject GetConsumer(int i)
        {
            vtkObject vtkObject   = null;
            uint      mteStatus   = 0u;
            uint      mteIndex    = 4294967295u;
            uint      rawRefCount = 0u;
            IntPtr    intPtr      = vtkProp.vtkProp_GetConsumer_10(base.GetCppThis(), i, ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkObject = (vtkObject)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkObject.Register(null);
                }
            }
            return(vtkObject);
        }
Esempio n. 3
0
        public vtkObject GetVRMLDEFObject(string name)
        {
            vtkObject vtkObject   = null;
            uint      mteStatus   = 0u;
            uint      mteIndex    = 4294967295u;
            uint      rawRefCount = 0u;
            IntPtr    intPtr      = vtkVRMLImporter.vtkVRMLImporter_GetVRMLDEFObject_02(base.GetCppThis(), name, ref mteStatus, ref mteIndex, ref rawRefCount);

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