#include <gnome.h>
#include <glade/glade.h>
#include "cam_setup.h"
#include "cam.h"
#include "cnc_output.h"
Defines | |
#define | _CAM__SetMax(val1, val2) |
faster macro of CAM__SetMax(val1, val2) / sets val2 to the larger value | |
Functions | |
gint | CAM__GetDiff (gint val1, gint val2) |
returns the diff of 2 values | |
gint | CAM__SetMin (gint val1, gint val2) |
returns the smaller value of the 2 vars | |
gint | CAM__SetMax (gint val1, gint val2) |
returns the larger value of the 2 vars | |
gdouble | CAM__GetTotalMapSize (void) |
returns the total size of all allocated Heightmaps | |
gint | CAM__GetTotalMapNum (void) |
returns the number of allocated Heightmaps | |
gint | CAM__HeightMap_CheckPixel (CAM__HeightMap *HeightMap, gint x, gint y) |
get the Height of a Position(x,y) in a HeightMap | |
gint | CAM__HeightMap_CheckCircleMax (CAM__HeightMap *HeightMap, gint x0, gint y0, gint radius_max) |
returns the largest Heightvalue Mask by an circle(x,y,r) | |
gint | CAM__HeightMap_CheckCircleMin (CAM__HeightMap *HeightMap, gint x0, gint y0, gint radius_max) |
returns the smallest Heightvalue mask by an circle(x,y,r) | |
gint | CAM__HeightMap_CheckCircle (CAM__HeightMap *HeightMap, gint x0, gint y0, gint radius2, gint radius1) |
returns 0 if all Heightvalues mask by an circle(x,y,r) != 65535 | |
gint | CAM__HeightMap_CNC_Liner (CAM__HeightMap *HeightMap, gint min_x, gint min_y, gint max_x, gint max_y, CamSetup *CamSet) |
CNC-Liner. | |
gint | CAM__HeightMap_CNC_Liner_old (CAM__HeightMap *HeightMap, gint min_x, gint min_y, gint max_x, gint max_y, CamSetup *CamSet) |
CNC-Filler (Old-Version). | |
gint | CAM__HeightMap_CNC_Soft3D (CAM__HeightMap *HeightMap, CamSetup *CamSet) |
CNC-Soft-3D. | |
void | CAM__HeightMap_Invert (CAM__HeightMap *HeightMap) |
Inverts the Values of a Heightmap. | |
void | CAM__Heightmap_delete (CAM__HeightMap *HeightMap) |
delete an allocated Heightmap | |
CAM__HeightMap * | CAM__HeightMap_create (gint width, gint height) |
returns a new allocated Heightmap | |
CAM__HeightMap * | CAM__HeightMap_Copy (CAM__HeightMap *HeightMap) |
copy given Heightmap to a new Heightmap | |
CAM__HeightMap * | CAM__HeightMap_DepthCopy (CAM__HeightMap *HeightMap, gint depth) |
copy given Heightmap to a new Heightmap (only Pixels are smaller then the given depth) | |
CAM__HeightMap * | CAM__HeightMap_Contour (CAM__HeightMap *HeightMap, CamSetup *CamSet) |
returns a new HeightMap of the Contour of the given one | |
CAM__HeightMap * | CAM__HeightMap_Outline (CAM__HeightMap *HeightMap, CamSetup *CamSet) |
returns a new HeightMap of the Outlines of the given one | |
CAM__HeightMap * | CAM__HeightMap_Fill (CAM__HeightMap *HeightMap, CamSetup *CamSet) |
CNC-Filler. | |
Variables | |
gint | CAM__Heightmap_num_maps = 0 |
gdouble | CAM__Heightmap_mapsize_total = 0 |
number of allocated Heightmaps |
|
Value: {\
if (val1 > val2) {\
val2 = val1;\
}\
}\
|
|
returns the diff of 2 values
|
|
returns the number of allocated Heightmaps
|
|
returns the total size of all allocated Heightmaps
|
|
returns 0 if all Heightvalues mask by an circle(x,y,r) != 65535
|
|
returns the largest Heightvalue Mask by an circle(x,y,r)
|
|
returns the smallest Heightvalue mask by an circle(x,y,r)
|
|
get the Height of a Position(x,y) in a HeightMap
|
|
CNC-Liner.
|
|
CNC-Filler (Old-Version).
|
|
CNC-Soft-3D.
|
|
returns a new HeightMap of the Contour of the given one
|
|
copy given Heightmap to a new Heightmap
|
|
returns a new allocated Heightmap
|
|
delete an allocated Heightmap
|
|
copy given Heightmap to a new Heightmap (only Pixels are smaller then the given depth)
|
|
CNC-Filler.
|
|
Inverts the Values of a Heightmap.
|
|
returns a new HeightMap of the Outlines of the given one
|
|
returns the larger value of the 2 vars
|
|
returns the smaller value of the 2 vars
|
|
number of allocated Heightmaps
|
|
|