Example #1
0
        public new vtkLineRepresentation NewInstance()
        {
            vtkLineRepresentation result = null;
            uint   mteStatus             = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkLineRepresentation.vtkLineRepresentation_NewInstance_44(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkLineRepresentation)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
Example #2
0
        public new static vtkLineRepresentation SafeDownCast(vtkObjectBase o)
        {
            vtkLineRepresentation vtkLineRepresentation = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkLineRepresentation.vtkLineRepresentation_SafeDownCast_49((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkLineRepresentation = (vtkLineRepresentation)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkLineRepresentation.Register(null);
                }
            }
            return(vtkLineRepresentation);
        }
Example #3
0
        public vtkLineRepresentation GetLineRepresentation()
        {
            vtkLineRepresentation vtkLineRepresentation = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkLineWidget2.vtkLineWidget2_GetLineRepresentation_02(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkLineRepresentation = (vtkLineRepresentation)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkLineRepresentation.Register(null);
                }
            }
            return(vtkLineRepresentation);
        }
Example #4
0
 public void SetRepresentation(vtkLineRepresentation r)
 {
     vtkLineWidget2.vtkLineWidget2_SetRepresentation_10(base.GetCppThis(), (r == null) ? default(HandleRef) : r.GetCppThis());
 }