SMTK  @SMTK_VERSION@
Simulation Modeling Tool Kit
ImportPPG.h
1 //=========================================================================
2 // Copyright (c) Kitware, Inc.
3 // All rights reserved.
4 // See LICENSE.txt for details.
5 //
6 // This software is distributed WITHOUT ANY WARRANTY; without even
7 // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
8 // PURPOSE. See the above copyright notice for more information.
9 //=========================================================================
10 
11 #ifndef smtk_session_polygon_ImportPPG_h
12 #define smtk_session_polygon_ImportPPG_h
13 
14 #include "smtk/PublicPointerDefs.h"
15 
16 #include "smtk/operation/XMLOperation.h"
17 #include "smtk/session/polygon/Exports.h"
18 
19 namespace smtk
20 {
21 namespace session
22 {
23 namespace polygon
24 {
25 
36 class SMTKPOLYGONSESSION_EXPORT ImportPPG : public smtk::operation::XMLOperation
37 {
38 public:
43 
44  // Override ableToOperate() to support test mode
45  bool ableToOperate() override;
46 
47  ~ImportPPG() override;
48 
49 protected:
50  ImportPPG();
51  smtk::operation::Operation::Result operateInternal() override;
52  const char* xmlDescription() const override;
53 
54 private:
55  class Internal;
56  Internal* m_internal;
57 };
58 
59 } // namespace polygon
60 } // namespace session
61 } // namespace smtk
62 
63 #endif // smtk_session_polygon_ImportPPG_h
smtk
The main namespace for the Simulation Modeling Tool Kit (SMTK).
Definition: doc.h:33
PublicPointerDefs.h
smtk::operation::XMLOperation
A specialization of smtk::operation::Operation for operations whose specifications are defined by an ...
Definition: XMLOperation.h:23
smtkCreateMacro
#define smtkCreateMacro(...)
Add static create() methods to a class.
Definition: SharedFromThis.h:113
smtkSharedFromThisMacro
#define smtkSharedFromThisMacro(...)
A macro to help with derived classes whose bases enable shared_from_this().
Definition: SharedFromThis.h:190
smtkTypeMacro
#define smtkTypeMacro(...)
Add typedefs to a class for identifcation.
Definition: SharedFromThis.h:51
smtkSuperclassMacro
#define smtkSuperclassMacro(...)
Add a typedef to the superclass of this class.
Definition: SharedFromThis.h:87
smtk::session::polygon::ImportPPG
Create a model resource from .ppg file input.
Definition: ImportPPG.h:36
smtk::session::polygon::ImportPPG::Internal
Definition: ImportPPG.cxx:159
smtk::session::polygon::Operation
An operator using the polygon kernel.
Definition: Operation.h:38