[vtk6] 02/02: Remove files from Git repository that are not part of upstream source
Andreas Tille
tille at debian.org
Sat Dec 19 11:02:55 UTC 2015
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository vtk6.
commit 9689d50483d239b753bb8e394b184237182a0396
Author: Andreas Tille <tille at debian.org>
Date: Sat Dec 19 08:21:42 2015 +0100
Remove files from Git repository that are not part of upstream source
---
Examples/GUI/Win32/SampleMFC/vtkMFCView.h | 89 -----------
.../vtkBorland/Package/vtkBorlandRenderWindow.h | 168 ---------------------
2 files changed, 257 deletions(-)
diff --git a/Examples/GUI/Win32/SampleMFC/vtkMFCView.h b/Examples/GUI/Win32/SampleMFC/vtkMFCView.h
deleted file mode 100644
index 6f36106..0000000
--- a/Examples/GUI/Win32/SampleMFC/vtkMFCView.h
+++ /dev/null
@@ -1,89 +0,0 @@
-/*=========================================================================
-
- Program: Visualization Toolkit
- Module: vtkMFCView.h
-
- Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
- All rights reserved.
- See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE. See the above copyright notice for more information.
-
-=========================================================================*/
-#if !defined(AFX_VTKMFCVIEW_H__5D36A981_8081_11D2_985E_00A0CC243C06__INCLUDED_)
-#define AFX_VTKMFCVIEW_H__5D36A981_8081_11D2_985E_00A0CC243C06__INCLUDED_
-
-#if _MSC_VER > 1000
-#pragma once
-#endif // _MSC_VER > 1000
-// vtkMFCView.h : header file
-//
-#define vtkMFCSetObjectMacro(name,type) \
-void Set##name (type* _arg) \
- { \
- if (this->name != _arg) \
- { \
- if (this->name != NULL) { this->name->UnRegister(NULL); }\
- this->name = _arg; \
- if (this->name != NULL) { this->name->Register(NULL); } \
- } \
- }
-
-/////////////////////////////////////////////////////////////////////////////
-// vtkMFCView view
-class vtkMFCDocument;
-#include "vtkWindow.h"
-
-class vtkMFCView : public CView
-{
-protected:
- vtkMFCView(); // protected constructor used by dynamic creation
- DECLARE_DYNCREATE(vtkMFCView)
- int PrintDPI;
-
-// Attributes
-public:
-
-// Operations
-public:
- void SetPrintDPI(int dpi) {this->PrintDPI = dpi;};
- int GetPrintDPI() {return this->PrintDPI;};
- vtkMFCDocument *GetDocument() {return (vtkMFCDocument *)m_pDocument;};
- virtual vtkWindow *GetVTKWindow() {return NULL;};
- virtual void SetupMemoryRendering(int x, int y, HDC prn) {}
- virtual void ResumeScreenRendering() {}
- virtual unsigned char *GetMemoryData() {return NULL;};
-
-// Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(vtkMFCView)
-protected:
- virtual void OnDraw(CDC* pDC); // overridden to draw this view
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
- //}}AFX_VIRTUAL
-
-// Implementation
-protected:
- virtual ~vtkMFCView();
-#ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
-#endif
-
- // Generated message map functions
-protected:
- //{{AFX_MSG(vtkMFCView)
- afx_msg void OnEditCopy();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
-
-/////////////////////////////////////////////////////////////////////////////
-
-//{{AFX_INSERT_LOCATION}}
-// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
-
-#endif // !defined(AFX_VTKMFCVIEW_H__5D36A981_8081_11D2_985E_00A0CC243C06__INCLUDED_)
diff --git a/Examples/GUI/Win32/vtkBorland/Package/vtkBorlandRenderWindow.h b/Examples/GUI/Win32/vtkBorland/Package/vtkBorlandRenderWindow.h
deleted file mode 100644
index e33ab53..0000000
--- a/Examples/GUI/Win32/vtkBorland/Package/vtkBorlandRenderWindow.h
+++ /dev/null
@@ -1,168 +0,0 @@
-//---------------------------------------------------------------------------
-#ifndef vtkBorlandRenderWindowH
-#define vtkBorlandRenderWindowH
-//---------------------------------------------------------------------------
-#include <SysUtils.hpp>
-#include <Controls.hpp>
-#include <Classes.hpp>
-#include <Forms.hpp>
-
-#include "vtkCommand.h"
-#include "vtkRenderer.h";
-#include "vtkWin32OpenGLRenderWindow.h";
-#include "vtkWin32RenderWindowInteractor.h";
-
-typedef bool __fastcall (__closure *TvtkBorlandCloseEvent)(TObject *Sender);
-
-// Callback for abort check
-class vtkAbortCallback : public vtkCommand
-{
-public:
- static vtkAbortCallback *New()
- { return new vtkAbortCallback; }
- virtual void Execute(vtkObject *caller, unsigned long, void*)
- {
- vtkWin32OpenGLRenderWindow* ptrWin = reinterpret_cast<vtkWin32OpenGLRenderWindow*>(caller);
- if (ptrWin)
- {
- if(ptrWin->GetEventPending())
- {
- ptrWin->SetAbortRender( 1 );
- // Beep();
- }
- }
- }
- vtkAbortCallback(){}
-};
-
-//---------------------------------------------------------------------------
-enum vtkBorlandInteractorMode { IM_JoystickCamera,IM_JoystickActor,
- IM_TrackballCamera, IM_TrackballActor,
- IM_Flight, IM_Image,IM_User };
-
-//---------------------------------------------------------------------------
-class PACKAGE TvtkBorlandRenderWindow : public TCustomControl
-{
- typedef TCustomControl inherited;
-private:
-protected:
- //
- // Events and control related stuff
- //
- DYNAMIC void __fastcall MouseMove(TShiftState shift, int x, int y );
- DYNAMIC void __fastcall MouseDown(TMouseButton button, TShiftState shift, int x, int y );
- DYNAMIC void __fastcall MouseUp(TMouseButton button, TShiftState shift, int x, int y );
- DYNAMIC bool __fastcall DoMouseWheelDown(TShiftState Shift, const TPoint &MousePos);
- DYNAMIC bool __fastcall DoMouseWheelUp(TShiftState Shift, const TPoint &MousePos);
-
- //
- // Messages : We want to directly intercept these
- //
- void __fastcall WMEraseBkgnd(TWMEraseBkgnd &Message);
- void __fastcall WMGetDlgCode(TMessage &Message);
- void __fastcall WMKeyDown(TWMKey &Message);
- void __fastcall WMKeyUp(TWMKey &Message);
- void __fastcall WMChar(TWMKey &Message);
- void __fastcall WMTimer(TWMTimer &Message);
- // Here's the Dispatch(void &Message) message map for the above functions
- BEGIN_MESSAGE_MAP
- MESSAGE_HANDLER(WM_ERASEBKGND, TWMEraseBkgnd, WMEraseBkgnd)
- MESSAGE_HANDLER(WM_GETDLGCODE, TMessage, WMGetDlgCode)
- MESSAGE_HANDLER(WM_KEYDOWN, TWMKeyDown, WMKeyDown)
- MESSAGE_HANDLER(WM_KEYUP, TWMKeyUp, WMKeyUp)
- MESSAGE_HANDLER(WM_CHAR, TWMChar, WMChar)
- MESSAGE_HANDLER(WM_TIMER, TWMTimer, WMTimer)
- END_MESSAGE_MAP(inherited)
- //
- DYNAMIC void __fastcall Resize(void);
- //
- // This does all the work
- //
- virtual void __fastcall Paint(void);
- //
- // Our Data Members
- //
- vtkWin32OpenGLRenderWindow *FRenderWindow;
- vtkRenderer *FRenderer;
- vtkWin32RenderWindowInteractor *FInteractor;
- //
- TvtkBorlandCloseEvent FOnVtkClose;
- bool FUsevtkInteractor;
- vtkBorlandInteractorMode FInteractorMode;
- vtkAbortCallback *FAbortCallback;
-
- //
-public:
- //
- // Constructor and Destructor
- //
- __fastcall TvtkBorlandRenderWindow(TComponent* Owner);
- virtual __fastcall ~TvtkBorlandRenderWindow(void);
- //
- // Make user friendly by handling a single rendererer and
- // assorted bits for the user
- //
- virtual vtkWin32OpenGLRenderWindow * __fastcall GetRenderWindow(void);
- virtual vtkRenderer * __fastcall GetRenderer(void);
- virtual vtkWin32RenderWindowInteractor * __fastcall GetInteractor(void);
- virtual void __fastcall SetInteractorMode(const vtkBorlandInteractorMode& im);
-
-__published:
- // Some
- __property bool UsevtkInteractor = {read=FUsevtkInteractor, write=FUsevtkInteractor, default=true, stored=true};
- __property vtkBorlandInteractorMode InteractorMode = {read=FInteractorMode, write=FInteractorMode, default=IM_TrackballCamera, stored=true};
- //
- // Cosmetic Properties inherited from TCustomControl
- //
- __property Align;
- __property Anchors;
- __property Color;
- __property Constraints;
- __property Enabled;
- __property ParentColor;
- __property PopupMenu;
- __property TabOrder;
- __property TabStop;
- __property Visible;
- //
- // Cosmetic Properties inherited from TWinControl
- //
- __property BevelEdges;
- __property BevelInner;
- __property BevelOuter;
- __property BevelKind;
- __property BevelWidth;
- __property BorderWidth;
-
- //
- // Useful Event notifications
- //
- __property OnCanResize;
- __property OnClick;
- __property OnConstrainedResize;
- __property OnDblClick;
- __property OnDragDrop;
- __property OnDragOver;
- __property OnEnter;
- __property OnExit;
- __property OnResize;
- __property OnStartDrag;
- __property TvtkBorlandCloseEvent OnVtkClose = {read=FOnVtkClose, write=FOnVtkClose};
- //
- // Main events for user interaction
- //
- __property OnKeyUp;
- __property OnKeyDown;
- __property OnKeyPress;
- __property OnMouseDown;
- __property OnMouseMove;
- __property OnMouseUp;
- __property OnMouseWheelDown;
- __property OnMouseWheelUp;
-};
-//---------------------------------------------------------------------------
-#endif
-
-void CheckAbortFunc(void *);
-
-
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/vtk6.git
More information about the debian-science-commits
mailing list