Import::ImportOCAF2 Class Reference

#include <ImportOCAF2.h>

Public Types

enum  ImportMode {
  SingleDoc = 0 , GroupPerDoc = 1 , GroupPerDir = 2 , ObjectPerDoc = 3 ,
  ObjectPerDir = 4 , ModeMax
}
 

Public Member Functions

int getMode () const
 
 ImportOCAF2 (Handle(TDocStd_Document) h, App::Document *d, const std::string &name)
 
App::DocumentObjectloadShapes ()
 
void setBaseName (bool enable)
 
void setExpandCompound (bool enable)
 
void setImportHiddenObject (bool enable)
 
void setMerge (bool enable)
 
void setMode (int m)
 
void setReduceObjects (bool enable)
 
void setShowProgress (bool enable)
 
void setUseLinkGroup (bool enable)
 
virtual ~ImportOCAF2 ()
 

Friends

class ImportLegacy
 

Member Enumeration Documentation

◆ ImportMode

Enumerator
SingleDoc 
GroupPerDoc 
GroupPerDir 
ObjectPerDoc 
ObjectPerDir 
ModeMax 

Constructor & Destructor Documentation

◆ ImportOCAF2()

◆ ~ImportOCAF2()

ImportOCAF2::~ImportOCAF2 ( )
virtual

Member Function Documentation

◆ getMode()

int Import::ImportOCAF2::getMode ( ) const

◆ loadShapes()

◆ setBaseName()

void Import::ImportOCAF2::setBaseName ( bool  enable)

◆ setExpandCompound()

void Import::ImportOCAF2::setExpandCompound ( bool  enable)

◆ setImportHiddenObject()

void Import::ImportOCAF2::setImportHiddenObject ( bool  enable)

◆ setMerge()

void Import::ImportOCAF2::setMerge ( bool  enable)

◆ setMode()

◆ setReduceObjects()

void Import::ImportOCAF2::setReduceObjects ( bool  enable)

◆ setShowProgress()

void Import::ImportOCAF2::setShowProgress ( bool  enable)

◆ setUseLinkGroup()

void Import::ImportOCAF2::setUseLinkGroup ( bool  enable)

Friends And Related Function Documentation

◆ ImportLegacy

friend class ImportLegacy
friend

Referenced by loadShapes().


The documentation for this class was generated from the following files:
  • Sources/FreeCAD/src/Mod/Import/App/ImportOCAF2.h
  • Sources/FreeCAD/src/Mod/Import/App/ImportOCAF2.cpp