Commit e52e0f24 authored by allens's avatar allens
Browse files

added vector op and white spcae clean up

git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@27937 18c085ea-50e0-402c-830e-de6fd14e8384
parent 11509ffc
......@@ -805,7 +805,8 @@ QvisSimulationWindow::UpdateUIComponent(QWidget *window, const QString &name,
&row, &column, val);
debug5 << "found QTableWidget " << name.toStdString()
<< " row = " << row << " column = " << column
<< " row = " << row << " column = " << column
<< " with value = " << val
<< std::endl;
QTableWidgetItem *newItem =
......
......@@ -4287,6 +4287,26 @@ VisItUI_setTableValueD(const char *name,
return retval;
}
int
VisItUI_setTableValueV(const char *name,
int row, int column, double x, double y, double z, int enabled)
{
int retval = VISIT_ERROR;
LIBSIM_API_ENTER(VisItUI_setTableValueV);
/* Make sure the function exists before using it. */
if (engine && callbacks != NULL && callbacks->control.execute_command)
{
char cmd[500];
sprintf(cmd, "SetUI:s:%s:%d | %d | %lf,%lf,%lf :%d",
name, row, column, x, y, z, enabled?1:0);
(*callbacks->control.execute_command)(engine, cmd);
retval = VISIT_OKAY;
}
LIBSIM_API_LEAVE(VisItUI_setTableValueV)
return retval;
}
int
VisItUI_setTableValueS(const char *name,
int row, int column, const char *value, int enabled)
......@@ -4306,7 +4326,7 @@ VisItUI_setTableValueS(const char *name,
LIBSIM_API_LEAVE(VisItUI_setTableValueS)
return retval;
}
/***************************************************************************
EXPERIMENTAL PLOTTING CODE
......
......@@ -1338,6 +1338,8 @@ int VisItUI_setTableValueI(const char *name,
int row, int col, int value, int enabled);
int VisItUI_setTableValueD(const char *name,
int row, int col, double value, int enabled);
int VisItUI_setTableValueV(const char *name,
int row, int col, double x, double y, double z, int enabled);
int VisItUI_setTableValueS(const char *name,
int row, int col, const char *value, int enabled);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment