---
name: "lqr_carver_set_dump_vmaps"
section: "3"
platform: "linux"
package: "liblqr-1-0-dev"
version: "0.4.1-2"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/lqr_carver_set_dump_vmaps"
---

# lqr\_carver\_set\_dump\_vmaps(3)

set the visibility maps autodump for an LqrCarver object

## NAME

lqr\_carver\_set\_dump\_vmaps, lqr\_carver\_set\_no\_dump\_vmaps - set the visibility maps autodump for an LqrCarver object

## SYNOPSIS

```
#include <lqr.h>
```

**void lqr\_carver\_set\_dump\_vmaps(LqrCarver\*** *carver***);**

**void lqr\_carver\_set\_no\_dump\_vmaps(LqrCarver\*** *carver***);**

## DESCRIPTION

Invoking function **lqr\_carver\_set\_dump\_vmaps** over the LqrCarver object pointed to by *carver* has the effect of activating the automatic dumping of visibility maps at each rescale operation (which by default is turned off).

Rescale operations involving both directions will dump two maps.

The dumped maps will be attached to the LqrCarver object and can be accessed at any later time using the functions [**lqr\_vmap\_list\_foreach**(3)](/lqr_vmap_list_foreach/3.md) or a combination of [**lqr\_vmap\_list\_start**(3)](/lqr_vmap_list_start/3.md), [**lqr\_vmap\_list\_current**(3)](/lqr_vmap_list_current/3.md) and [**lqr\_vmap\_list\_next**(3)](/lqr_vmap_list_next/3.md).

Using this setting is pointless if the LqrCarver object is not initialised.

The function **lqr\_carver\_set\_no\_dump\_vmaps** reverts the effect of the previous one (but the maps dumped so far will be kept).

Note that it is also possible to dump the visibility maps manually; however, using the automatic dump is the only way to get intermidiate maps when the function [**lqr\_carver\_resize**(3)](/lqr_carver_resize/3.md) performs the rescaling in both directions, or in more than one step.

## SEE ALSO

[**lqr\_carver\_init**(3)](/lqr_carver_init/3.md), [**lqr\_carver\_resize**(3)](/lqr_carver_resize/3.md), [**lqr\_carver\_set\_enl\_step**(3)](/lqr_carver_set_enl_step/3.md), [**lqr\_carver\_set\_resize\_order**(3)](/lqr_carver_set_resize_order/3.md), [**lqr\_carver\_set\_side\_switch\_frequency**(3)](/lqr_carver_set_side_switch_frequency/3.md), [**lqr\_carver\_set\_progress**(3)](/lqr_carver_set_progress/3.md), [**lqr\_carver\_set\_preserve\_input\_image**(3)](/lqr_carver_set_preserve_input_image/3.md), [**lqr\_vmap\_list\_start**(3)](/lqr_vmap_list_start/3.md), [**lqr\_vmap\_list\_current**(3)](/lqr_vmap_list_current/3.md), [**lqr\_vmap\_list\_next**(3)](/lqr_vmap_list_next/3.md), [**lqr\_vmap\_list\_foreach**(3)](/lqr_vmap_list_foreach/3.md), [**lqr\_carver\_set\_use\_cache**(3)](/lqr_carver_set_use_cache/3.md)

## COPYRIGHT

Copyright © 2007-2009 Carlo Baldassi\
