Esempio n. 1
0
        public new vtkDataRepresentation NewInstance()
        {
            vtkDataRepresentation result = null;
            uint   mteStatus             = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkDataRepresentation.vtkDataRepresentation_NewInstance_23(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkDataRepresentation)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
        public virtual vtkSelection ConvertSelection(vtkDataRepresentation rep, vtkSelection sel)
        {
            vtkSelection vtkSelection = null;
            uint         mteStatus    = 0u;
            uint         mteIndex     = 4294967295u;
            uint         rawRefCount  = 0u;
            IntPtr       intPtr       = vtkHierarchicalGraphPipeline.vtkHierarchicalGraphPipeline_ConvertSelection_04(base.GetCppThis(), (rep == null) ? default(HandleRef) : rep.GetCppThis(), (sel == null) ? default(HandleRef) : sel.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkDataRepresentation = (vtkDataRepresentation)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkDataRepresentation.Register(null);
                }
            }
            return(vtkDataRepresentation);
        }
Esempio n. 4
0
        public vtkDataRepresentation AddRepresentationFromInputConnection(vtkAlgorithmOutput conn)
        {
            vtkDataRepresentation vtkDataRepresentation = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkView.vtkView_AddRepresentationFromInputConnection_03(base.GetCppThis(), (conn == null) ? default(HandleRef) : conn.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkDataRepresentation = (vtkDataRepresentation)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkDataRepresentation.Register(null);
                }
            }
            return(vtkDataRepresentation);
        }
Esempio n. 5
0
        public vtkDataRepresentation SetRepresentationFromInput(vtkDataObject input)
        {
            vtkDataRepresentation vtkDataRepresentation = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkView.vtkView_SetRepresentationFromInput_19(base.GetCppThis(), (input == null) ? default(HandleRef) : input.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkDataRepresentation = (vtkDataRepresentation)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkDataRepresentation.Register(null);
                }
            }
            return(vtkDataRepresentation);
        }
Esempio n. 6
0
        public vtkDataRepresentation GetRepresentation(int index)
        {
            vtkDataRepresentation vtkDataRepresentation = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkView.vtkView_GetRepresentation_07(base.GetCppThis(), index, ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkDataRepresentation = (vtkDataRepresentation)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkDataRepresentation.Register(null);
                }
            }
            return(vtkDataRepresentation);
        }
Esempio n. 7
0
 public void AddRepresentation(vtkDataRepresentation rep)
 {
     vtkView.vtkView_AddRepresentation_01(base.GetCppThis(), (rep == null) ? default(HandleRef) : rep.GetCppThis());
 }
Esempio n. 8
0
 public bool IsRepresentationPresent(vtkDataRepresentation rep)
 {
     return(vtkView.vtkView_IsRepresentationPresent_09(base.GetCppThis(), (rep == null) ? default(HandleRef) : rep.GetCppThis()) != 0);
 }