Institut de Robòtica i Informàtica Industrial
KRD Group

The CuikSuite Project

cuikplot3d.c File Reference

Main body of the cuikplot3d application. More...

#include "boolean.h"
#include "plot3d.h"
#include "box.h"
#include "defines.h"
#include "filename.h"
#include "color.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <math.h>

Go to the source code of this file.

Functions

int main (int argc, char **arg)
 Main body of the cuikplot3d application.

Detailed Description

A tool to plot solution boxes. Actually it represents 3d projections of the boxes in a solution set in the form of a cgl file that can be visualized using geomview.

See also:
cuikplot.c

Definition in file cuikplot3d.c.


Function Documentation

int main ( int  argc,
char **  arg 
)

Main body of the cuikplot3d application.

Use:

  • cuikplot3d solution_name dimx dimy dimz min_size plot_name

where

  • solution_name is the file with the solutions to be ploted.
  • dimx, dimy, dimz Are the three dimensions to be plotted (numbered from 1).
  • min_size is the minimum size for the output boxes (so that tiny boxes are also visible).
  • plot_name is the output .fig file.
Parameters:
argc Number of elements in the command line that starts the application (i.e., the cuikplot3d command itself and its arguments).
arg Strings with the arguments.
Returns:
EXIT_SUCCESS (0) if the execution worked out fine and EXIT_FAILURE if not.

Definition at line 47 of file cuikplot3d.c.

References ClosePlot3d(), CreateFileName(), DCP3D_B, DCP3D_G, DCP3D_R, DeleteBox(), DeleteColor(), DeleteFileName(), Error(), FALSE, GetBoxInterval(), GetFileFullName(), InitPlot3d(), IntervalCenter(), LowerLimit(), NewColor(), PLOT3D_EXT, PlotBox3d(), ReadBox(), SOL_EXT, StartNew3dObject(), TRUE, and UpperLimit().

Here is the call graph for this function: