- Main Page
- Modules
- Namespaces
- Classes
- Files
- Related Pages

- File List
- File Members

# file.cpp File Reference

`#include "file.h"`
`#include "chunk.h"`
`#include "readwrite.h"`
`#include "material.h"`
`#include "mesh.h"`
`#include "camera.h"`
`#include "light.h"`
`#include "node.h"`
`#include "vector.h"`
`#include <stdlib.h>`
`#include <string.h>`
`#include <math.h>`
`#include "config.h"`

Include dependency graph for file.cpp:

## Defines
#define | LIB3DS_EXPORT
## Functions
Lib3dsFile * | lib3ds_file_load (const char *filename)
Lib3dsBool | lib3ds_file_save (Lib3dsFile *file, const char *filename)
Lib3dsFile * | lib3ds_file_new ()
void | lib3ds_file_free (Lib3dsFile *file)
void | lib3ds_file_eval (Lib3dsFile *file, Lib3dsFloat t)
Lib3dsBool | lib3ds_file_read (Lib3dsFile *file, FILE *f)
Lib3dsBool | lib3ds_file_write (Lib3dsFile *file, FILE *f)
void | lib3ds_file_insert_material (Lib3dsFile *file, Lib3dsMaterial *material)
void | lib3ds_file_remove_material (Lib3dsFile *file, Lib3dsMaterial *material)
Lib3dsMaterial * | lib3ds_file_material_by_name (Lib3dsFile *file, const char *name)
void | lib3ds_file_dump_materials (Lib3dsFile *file)
void | lib3ds_file_insert_mesh (Lib3dsFile *file, Lib3dsMesh *mesh)
void | lib3ds_file_remove_mesh (Lib3dsFile *file, Lib3dsMesh *mesh)
Lib3dsMesh * | lib3ds_file_mesh_by_name (Lib3dsFile *file, const char *name)
void | lib3ds_file_dump_meshes (Lib3dsFile *file)
void | lib3ds_file_dump_instances (Lib3dsFile *file)
void | lib3ds_file_insert_camera (Lib3dsFile *file, Lib3dsCamera *camera)
void | lib3ds_file_remove_camera (Lib3dsFile *file, Lib3dsCamera *camera)
Lib3dsCamera * | lib3ds_file_camera_by_name (Lib3dsFile *file, const char *name)
void | lib3ds_file_dump_cameras (Lib3dsFile *file)
void | lib3ds_file_insert_light (Lib3dsFile *file, Lib3dsLight *light)
void | lib3ds_file_remove_light (Lib3dsFile *file, Lib3dsLight *light)
Lib3dsLight * | lib3ds_file_light_by_name (Lib3dsFile *file, const char *name)
void | lib3ds_file_dump_lights (Lib3dsFile *file)
void | lib3ds_file_bounding_box (Lib3dsFile *file, Lib3dsVector min, Lib3dsVector max)
Lib3dsNode * | lib3ds_file_node_by_name (Lib3dsFile *file, const char *name, Lib3dsNodeTypes type)
Lib3dsNode * | lib3ds_file_node_by_id (Lib3dsFile *file, Lib3dsWord node_id)
void | lib3ds_file_insert_node (Lib3dsFile *file, Lib3dsNode *node)
Lib3dsBool | lib3ds_file_remove_node (Lib3dsFile *file, Lib3dsNode *node)
void | lib3ds_file_dump_nodes (Lib3dsFile *file)

## Define Documentation

#define LIB3DS_EXPORT