Home
last modified time | relevance | path

Searched refs:num_voxel_fields (Results 1 – 8 of 8) sorted by relevance

/dports/graphics/volpack/volpack-1.0b3/
H A Dvp_check.c65 if (vpc->num_voxel_fields <= 0)
67 for (f = 0; f < vpc->num_voxel_fields; f++) {
167 vpc->num_shade_fields > vpc->num_voxel_fields)
170 vpc->num_clsfy_params > vpc->num_voxel_fields)
174 if (f < 0 || f >= vpc->num_voxel_fields)
197 vpc->color_field >= vpc->num_voxel_fields ||
211 vpc->weight_field >= vpc->num_voxel_fields ||
H A Dvp_context.c65 vpc->num_voxel_fields = 0;
226 int num_voxel_fields;
230 if (num_voxel_fields >= VP_MAX_FIELDS)
237 vpc->num_voxel_fields = num_voxel_fields;
259 if (field_num < 0 || field_num >= vpc->num_voxel_fields)
314 if (param_field < 0 || param_field >= vpc->num_voxel_fields)
350 if (weight_field < 0 || weight_field >= vpc->num_voxel_fields ||
1302 *iptr = vpc->num_voxel_fields;
1308 for (c = 0; c < vpc->num_voxel_fields; c++)
1312 for (c = 0; c < vpc->num_voxel_fields; c++)
[all …]
H A Dvp_file.c321 vpc->num_voxel_fields < header.num_shade_fields)
347 vpc->num_voxel_fields = nsf;
866 unsigned num_voxel_fields; /* number of fields in a voxel */ member
910 header.num_voxel_fields = vpc->num_voxel_fields;
920 nvf = vpc->num_voxel_fields;
969 size = 3 * header.num_voxel_fields * sizeof(unsigned);
985 vpc->num_voxel_fields = header.num_voxel_fields;
991 nvf = header.num_voxel_fields;
1011 vpc->num_voxel_fields, vpc->raw_bytes_per_voxel);
H A Dvp_shade.c282 if (scalar_field < 0 || scalar_field >= vpc->num_voxel_fields)
289 if (grad_field < 0 || grad_field >= vpc->num_voxel_fields)
296 if (norm_field < 0 || norm_field >= vpc->num_voxel_fields)
H A Dvp_global.h455 short num_voxel_fields; /* number of fields in the voxel */ member
H A Dvolpack.h365 int bytes_per_voxel, int num_voxel_fields,
H A Dvp_octree.c80 vpc->num_clsfy_params > vpc->num_voxel_fields)
84 if (f < 0 || f >= vpc->num_voxel_fields)
H A Dvp_extract.c83 else if (field < 0 || field >= vpc->num_voxel_fields)