251 |
|
COLORV * barPix; // current render bar pixels |
252 |
|
float * barDepth; // current render bar depths |
253 |
|
bool SetTile(const int ti[2]); |
254 |
< |
bool RenderRect(); |
254 |
> |
bool RenderRect(const int x0 = 0, const int y0 = 0); |
255 |
|
bool ComputePixel(int x, int y); |
256 |
< |
bool BelowSampThresh(int x, int y, const int noff[4][2]) const; |
256 |
> |
bool BelowSampThresh(const int x, const int y, |
257 |
> |
const int noff[4][2]) const; |
258 |
|
void FillSquare(const int x, const int y, const int noff[4][2]); |
259 |
|
void NewBar(int ht = 0); |
260 |
|
bool LowerBar(int v, int ytop); |
295 |
|
return RtraceSimulManager::AddHeader(ac, av); |
296 |
|
} |
297 |
|
/// Get header lines if any |
298 |
< |
const char * GetHeader() const { |
299 |
< |
return RtraceSimulManager::GetHeader(); |
298 |
> |
const char * GetHeadStr() const { |
299 |
> |
return RtraceSimulManager::GetHeadStr(); |
300 |
> |
} |
301 |
> |
/// Look for specific header keyword, return value |
302 |
> |
const char * GetHeadStr(const char *key, bool inOK = false) const { |
303 |
> |
return RtraceSimulManager::GetHeadStr(key, inOK); |
304 |
|
} |
305 |
|
/// Set number of computation threads (0 => #cores) |
306 |
|
int SetThreadCount(int nt = 0) { |