Version: 9.15.0
Home
IVTKOperations Interface Reference

Interface for VTKPlugin modeling functions. More...

import"VTKPlugin.idl";

Public Member Functions

void ExportVTK (in GEOM::GEOM_Object theObject, in string theFileName, in double theDeflection)
 Export the given shape into a file with given name in VTK format. More...
 
boolean IsDone ()
 To know, if the operation was successfully performed. More...
 
void SetErrorCode (in string theErrorID)
 Set the operation error code. More...
 
string GetErrorCode ()
 Get the operation error code. More...
 
void StartOperation ()
 Opens a new transaction. More...
 
void FinishOperation ()
 Closes the previously opened transaction. More...
 
void AbortOperation ()
 Aborts the previously opened transaction. More...
 

Detailed Description

Interface for VTKPlugin modeling functions.

Member Function Documentation

◆ ExportVTK()

void ExportVTK ( in GEOM::GEOM_Object  theObject,
in string  theFileName,
in double  theDeflection 
)

Export the given shape into a file with given name in VTK format.

Parameters
theObjectShape to be stored in the file.
theFileNameName of the file to store the given shape in.
theDeflectionDeflection of the given shape.

◆ IsDone()

boolean IsDone ( )
inherited

To know, if the operation was successfully performed.

◆ SetErrorCode()

void SetErrorCode ( in string  theErrorID)
inherited

Set the operation error code.

Parameters
theErrorIDis a string describing the error occurred
Note
This method is supposed to be used only by interfaces inheriting from IOperations.

◆ GetErrorCode()

string GetErrorCode ( )
inherited

Get the operation error code.

◆ StartOperation()

void StartOperation ( )
inherited

Opens a new transaction.

◆ FinishOperation()

void FinishOperation ( )
inherited

Closes the previously opened transaction.

◆ AbortOperation()

void AbortOperation ( )
inherited

Aborts the previously opened transaction.