Panda3D
Loading...
Searching...
No Matches
pandatool
src
egg-qtess
isoPlacer.h
Go to the documentation of this file.
1
/**
2
* PANDA 3D SOFTWARE
3
* Copyright (c) Carnegie Mellon University. All rights reserved.
4
*
5
* All use of this software is subject to the terms of the revised BSD
6
* license. You should have received a copy of this license along
7
* with this source code in a file named "LICENSE."
8
*
9
* @file isoPlacer.h
10
* @author drose
11
* @date 2003-10-13
12
*/
13
14
#ifndef ISOPLACER_H
15
#define ISOPLACER_H
16
17
#include "
pandatoolbase.h
"
18
#include "
pvector.h
"
19
#include "
vector_double.h
"
20
21
class
NurbsSurfaceResult
;
22
23
/**
24
* Contains the logic used to place isoparams where they'll do the most good
25
* on a surface.
26
*/
27
class
IsoPlacer {
28
public
:
29
INLINE IsoPlacer();
30
31
void
get_scores(
int
subdiv,
int
across,
double
ratio,
32
NurbsSurfaceResult
*surf,
bool
s);
33
void
place(
int
count, pvector<double> &iso_points);
34
35
INLINE
double
get_total_score()
const
;
36
37
vector_double _cscore, _sscore, _cint;
38
int
_maxi;
39
};
40
41
#include "
isoPlacer.I
"
42
43
#endif
NurbsSurfaceResult
The result of a NurbsSurfaceEvaluator.
Definition
nurbsSurfaceResult.h:29
isoPlacer.I
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
pandatoolbase.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
pvector.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
vector_double.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Generated on Thu Dec 25 2025 19:10:17 for Panda3D by
1.13.2