⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 vtkmdiview.h

📁 a very goog book
💻 H
字号:
/*=========================================================================  Program:   Visualization Toolkit  Module:    $RCSfile: vtkMDIView.h,v $  Language:  C++  Date:      $Date: 2002/08/29 12:18:33 $  Version:   $Revision: 1.1 $  Copyright (c) 1993-2002 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_VTKMDIVIEW_H__5A346CD5_5968_4619_BB2C_17A2D5F6E367__INCLUDED_)#define AFX_VTKMDIVIEW_H__5A346CD5_5968_4619_BB2C_17A2D5F6E367__INCLUDED_#if _MSC_VER > 1000#pragma once#endif // _MSC_VER > 1000// Include the required header files for the vtk classes we are using#include <vtkDataSetMapper.h>#include <vtkActor.h>#include <vtkActor2D.h>#include <vtkTextMapper.h>#include <vtkRenderer.h>#include <vtkWin32OpenGLRenderWindow.h>#include <vtkWin32RenderWindowInteractor.h>class CVtkMDIView : public CView{protected: // create from serialization only  CVtkMDIView();  DECLARE_DYNCREATE(CVtkMDIView)// Attributespublic:  CVtkMDIDoc* GetDocument();// Operationspublic:// Overrides  // ClassWizard generated virtual function overrides  //{{AFX_VIRTUAL(CVtkMDIView)  public:  virtual void OnDraw(CDC* pDC);  // overridden to draw this view  virtual BOOL PreCreateWindow(CREATESTRUCT& cs);  protected:  virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);  virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);  virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);  virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);  //}}AFX_VIRTUAL// Implementationprivate:  void Pipeline( void );  vtkWin32OpenGLRenderWindow *renWin;  vtkRenderer *ren;  vtkWin32RenderWindowInteractor *iren;    vtkDataSetMapper *Mapper;  vtkActor *Actor;    vtkActor2D *txtActor;  vtkTextMapper *txtMapper;public:  virtual ~CVtkMDIView();#ifdef _DEBUG  virtual void AssertValid() const;  virtual void Dump(CDumpContext& dc) const;#endifprotected:// Generated message map functionsprotected:  //{{AFX_MSG(CVtkMDIView)  afx_msg void OnSize(UINT nType, int cx, int cy);  afx_msg BOOL OnEraseBkgnd(CDC* pDC);  afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);  //}}AFX_MSG  DECLARE_MESSAGE_MAP()};#ifndef _DEBUG  // debug version in vtkMDIView.cppinline CVtkMDIDoc* CVtkMDIView::GetDocument()   { return (CVtkMDIDoc*)m_pDocument; }#endif///////////////////////////////////////////////////////////////////////////////{{AFX_INSERT_LOCATION}}// Microsoft Visual C++ will insert additional declarations immediately before the previous line.#endif // !defined(AFX_VTKMDIVIEW_H__5A346CD5_5968_4619_BB2C_17A2D5F6E367__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -