#include <GEOMImpl_IInsertOperations.hxx>

Classes | |
| struct | TransferDatum |
Public Member Functions | |
| Standard_EXPORT | GEOMImpl_IInsertOperations (GEOM_Engine *theEngine) |
| Standard_EXPORT | ~GEOMImpl_IInsertOperations () |
| Standard_EXPORT | Handle (GEOM_Object) MakeCopy(Handle(GEOM_Object) theOriginal) |
| Standard_EXPORT | Handle (TColStd_HSequenceOfTransient) Import(const TCollection_AsciiString &theFileName |
| Standard_EXPORT TCollection_AsciiString | ReadValue (const TCollection_AsciiString &theFileName, const TCollection_AsciiString &theFormatType, const TCollection_AsciiString &theParameterName) |
| Standard_EXPORT void | Export (const Handle(GEOM_Object) theOriginal, const TCollection_AsciiString &theFileName, const TCollection_AsciiString &theFormatType) |
| Standard_EXPORT Handle(GEOM_Object) RestoreShape(std Standard_EXPORT int | LoadTexture (const TCollection_AsciiString &theTextureFile) |
| Standard_EXPORT int | AddTexture (int theWidth, int theHeight, const Handle(TColStd_HArray1OfByte)&theTexture) |
| Standard_EXPORT | Handle (TColStd_HArray1OfByte) GetTexture(int theTextureId |
| Standard_EXPORT std::list< int > | GetAllTextures () |
| Standard_EXPORT bool | TransferData (const Handle(GEOM_Object) &theObjectFrom, const Handle(GEOM_Object) &theObjectTo, const int theFindMethod, std::list< TransferDatum > &theResult) |
Public Member Functions inherited from GEOM_IOperations | |
| Standard_EXPORT | GEOM_IOperations (GEOM_Engine *theEngine) |
| Standard_EXPORT | ~GEOM_IOperations () |
| Standard_EXPORT void | StartOperation () |
| Standard_EXPORT void | FinishOperation () |
| Standard_EXPORT void | AbortOperation () |
| Standard_EXPORT bool | IsDone () |
| Standard_EXPORT void | SetNotDone () |
| Standard_EXPORT void | SetErrorCode (const TCollection_AsciiString &theErrorCode) |
| Standard_EXPORT char * | GetErrorCode () |
| Standard_EXPORT GEOM_Engine * | GetEngine () |
| Standard_EXPORT GEOM_Solver * | GetSolver () |
Public Attributes | |
| Standard_EXPORT const TCollection_AsciiString & | theFormatType |
| Standard_EXPORT int & | theWidth |
| Standard_EXPORT int int & | theHeight |
Private Attributes | |
| std::vector< Handle(Resource_Manager)> | myResMgrList |
| GEOMImpl_IShapesOperations * | myShapesOperations |
| GEOMImpl_IGroupOperations * | myGroupOperations |
| GEOMImpl_IFieldOperations * | myFieldOperations |
| GEOMImpl_IInsertOperations::GEOMImpl_IInsertOperations | ( | GEOM_Engine * | theEngine | ) |
constructor
References GEOM_IOperations::GetEngine(), myFieldOperations, myGroupOperations, and myShapesOperations.
| GEOMImpl_IInsertOperations::~GEOMImpl_IInsertOperations | ( | ) |
destructor
References myFieldOperations, myGroupOperations, and myShapesOperations.
| int GEOMImpl_IInsertOperations::AddTexture | ( | int | theWidth, |
| int | theHeight, | ||
| const Handle(TColStd_HArray1OfByte)& | theTexture | ||
| ) |
References GEOM_Engine::addTexture(), GEOM_IOperations::GetEngine(), KO, OK, GEOM_IOperations::SetErrorCode(), theHeight, and theWidth.
| void GEOMImpl_IInsertOperations::Export | ( | const Handle(GEOM_Object) | theOriginal, |
| const TCollection_AsciiString & | theFileName, | ||
| const TCollection_AsciiString & | theFormatName | ||
| ) |
Export
References Export(), GEOMImpl_IECallBack::GetCallBack(), KO, OK, and GEOM_IOperations::SetErrorCode().
| std::list< int > GEOMImpl_IInsertOperations::GetAllTextures | ( | ) |
References GEOM_Engine::getAllTextures(), GEOM_IOperations::GetEngine(), KO, OK, and GEOM_IOperations::SetErrorCode().
| Standard_EXPORT GEOMImpl_IInsertOperations::Handle | ( | GEOM_Object | ) |
| Standard_EXPORT GEOMImpl_IInsertOperations::Handle | ( | TColStd_HArray1OfByte | ) |
| Standard_EXPORT GEOMImpl_IInsertOperations::Handle | ( | TColStd_HSequenceOfTransient | ) | const & |
| int GEOMImpl_IInsertOperations::LoadTexture | ( | const TCollection_AsciiString & | theTextureFile | ) |
References GEOM_Engine::addTexture(), GEOM_IOperations::GetEngine(), Handle(), KO, OK, and GEOM_IOperations::SetErrorCode().
| TCollection_AsciiString GEOMImpl_IInsertOperations::ReadValue | ( | const TCollection_AsciiString & | theFileName, |
| const TCollection_AsciiString & | theFormatName, | ||
| const TCollection_AsciiString & | theParameterName | ||
| ) |
ReadValue
References GEOMImpl_IECallBack::GetCallBack(), KO, OK, GEOMImpl_IECallBack::ReadValue(), and GEOM_IOperations::SetErrorCode().
| bool GEOMImpl_IInsertOperations::TransferData | ( | const Handle(GEOM_Object) & | theObjectFrom, |
| const Handle(GEOM_Object) & | theObjectTo, | ||
| const int | theFindMethod, | ||
| std::list< TransferDatum > & | theResult | ||
| ) |
TransferData
References GEOM_TRANSFER_DATA, GEOM_IOperations::GetEngine(), GEOM_IOperations::GetSolver(), Handle(), KO, GEOMImpl_IInsertOperations::TransferDatum::myMaxNumber, GEOMImpl_IInsertOperations::TransferDatum::myName, GEOMImpl_IInsertOperations::TransferDatum::myNumber, OK, GEOM_IOperations::SetErrorCode(), GEOMImpl_ITransferData::SetFindMethod(), GEOMImpl_ITransferData::SetRef1(), GEOMImpl_ITransferData::SetRef2(), TD_GET_IN_PLACE, TD_GET_IN_PLACE_BY_HISTORY, TD_GET_IN_PLACE_OLD, and TRANSFER_DATA.
|
private |
|
private |
|
private |
|
private |
| Standard_EXPORT const TCollection_AsciiString& GEOMImpl_IInsertOperations::theFormatType |
| Standard_EXPORT int int& GEOMImpl_IInsertOperations::theHeight |
| Standard_EXPORT int& GEOMImpl_IInsertOperations::theWidth |