cctw
0.2.1
|
#include <stdio.h>
#include <QMap>
#include <QScriptValue>
#include <QString>
#include "cctwtcl_commands.h"
#include "cctwdebug.h"
#include "qcepdocumentationdictionary.h"
#include "cctwapplication.h"
#include "cctwcrystalcoordinateparameters.h"
#include "cctwdatachunk.h"
#include "cctwtclutils.h"
Go to the source code of this file.
Macros | |
#define | UNUSED __attribute__((unused)) |
Functions | |
int | Cctwtcl_Initialize () |
int | Cctwtcl_Cmd (ClientData, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[]) |
int | Cctwtcl_Parameters_Cmd (ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[]) |
int | Cctwtcl_Input_Cmd (ClientData, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[]) |
int | Cctwtcl_Transform_Cmd (ClientData, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[]) |
int | Cctwtcl_Merge_Cmd (ClientData, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[]) |
int | Cctwtcl_Output_Cmd (ClientData, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[]) |
Variables | |
static CctwApplication * | g_Application = NULL |
#define UNUSED __attribute__((unused)) |
Definition at line 20 of file cctwtcl_commands.cpp.
int Cctwtcl_Cmd | ( | ClientData | , |
Tcl_Interp * | interp, | ||
int | objc, | ||
Tcl_Obj *const | objv[] | ||
) |
Definition at line 45 of file cctwtcl_commands.cpp.
References CctwApplication::evaluate().
Referenced by Cctwtcl_Init().
int Cctwtcl_Initialize | ( | ) |
Definition at line 22 of file cctwtcl_commands.cpp.
References initialize().
Referenced by Cctwtcl_Init().
int Cctwtcl_Input_Cmd | ( | ClientData | , |
Tcl_Interp * | interp, | ||
int | objc, | ||
Tcl_Obj *const | objv[] | ||
) |
Definition at line 95 of file cctwtcl_commands.cpp.
References CctwDataChunk::chunkSize(), CctwDataChunk::dataPointer(), CctwDataChunk::detachData(), CctwDataChunk::detachWeights(), CctwApplication::m_InputData, CctwChunkedData::readChunk(), TCL_ARGS, CctwVector3D< T >::volume(), and CctwDataChunk::weightsPointer().
Referenced by Cctwtcl_Init().
int Cctwtcl_Merge_Cmd | ( | ClientData | , |
Tcl_Interp * | interp, | ||
int | objc, | ||
Tcl_Obj *const | objv[] | ||
) |
Definition at line 206 of file cctwtcl_commands.cpp.
References CctwChunkedData::chunk(), CctwApplication::m_OutputData, CctwDataChunk::mergeData(), and TCL_ARGS.
Referenced by Cctwtcl_Init().
int Cctwtcl_Output_Cmd | ( | ClientData | , |
Tcl_Interp * | interp, | ||
int | objc, | ||
Tcl_Obj *const | objv[] | ||
) |
Definition at line 287 of file cctwtcl_commands.cpp.
References CctwChunkedData::chunk(), CctwApplication::m_OutputData, TCL_ARGS, and CctwChunkedData::writeChunk().
Referenced by Cctwtcl_Init().
int Cctwtcl_Parameters_Cmd | ( | ClientData | clientData, |
Tcl_Interp * | interp, | ||
int | objc, | ||
Tcl_Obj *const | objv[] | ||
) |
Definition at line 69 of file cctwtcl_commands.cpp.
References CctwApplication::evaluate(), and CctwApplication::settingsScript().
Referenced by Cctwtcl_Init().
int Cctwtcl_Transform_Cmd | ( | ClientData | , |
Tcl_Interp * | interp, | ||
int | objc, | ||
Tcl_Obj *const | objv[] | ||
) |
Definition at line 134 of file cctwtcl_commands.cpp.
References CctwDataChunk::chunkSize(), CctwDataChunk::dataPointer(), CctwDataChunk::detachData(), CctwDataChunk::detachWeights(), CctwDataChunk::index(), CctwApplication::m_InputData, CctwApplication::m_Transformer, CctwChunkedData::readChunk(), CctwChunkedData::releaseChunk(), TCL_ARGS, CctwTransformer::transformChunkData(), CctwVector3D< T >::volume(), and CctwDataChunk::weightsPointer().
Referenced by Cctwtcl_Init().
|
static |
Definition at line 17 of file cctwtcl_commands.cpp.