COPASI API
4.16.103
Main Page
Namespaces
Classes
Files
File List
File Members
copasi
layout
CLImageTexturizer.h
Go to the documentation of this file.
1
// Begin CVS Header
2
// $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/layout/CLImageTexturizer.h,v $
3
// $Revision: 1.2 $
4
// $Name: $
5
// $Author: shoops $
6
// $Date: 2010/09/17 14:01:16 $
7
// End CVS Header
8
9
// Copyright (C) 2010 by Pedro Mendes, Virginia Tech Intellectual
10
// Properties, Inc., University of Heidelberg, and The University
11
// of Manchester.
12
// All rights reserved.
13
14
#ifndef CLIMAGETEXTURIZER_H__
15
#define CLIMAGETEXTURIZER_H__
16
17
#include <string>
18
19
struct
CLTextureSpec
;
20
21
class
CLImageTexturizer
22
{
23
public
:
24
virtual
CLTextureSpec
*
operator()
(
const
std::string& filename,
const
std::string& basedir) = 0;
25
26
protected
:
27
/**
28
* Takes a filename and tries to find out if it is a relative or an
29
* absolute path.
30
* If the file can not be found either way, an empty string is
31
*returned.
32
*/
33
static
std::string
to_absolute_path
(
const
std::string& filename,
const
std::string& basedir);
34
};
35
36
#endif // CLIMAGETEXTURIZER_H__
CLImageTexturizer::to_absolute_path
static std::string to_absolute_path(const std::string &filename, const std::string &basedir)
Definition:
CLImageTexturizer.cpp:22
CLTextureSpec
Definition:
utility_classes.h:35
CLImageTexturizer::operator()
virtual CLTextureSpec * operator()(const std::string &filename, const std::string &basedir)=0
CLImageTexturizer
Definition:
CLImageTexturizer.h:21
Generated on Thu Jul 2 2015 14:50:16 for COPASI API by
1.8.6