Inheritance diagram for Producer::CameraConfig:
Public Member Functions | |
CameraConfig () | |
void | beginVisual (void) |
void | beginVisual (const char *name) |
void | setVisualSimpleConfiguration (void) |
void | setVisualByID (unsigned int id) |
void | addVisualAttribute (VisualChooser::AttributeName token, int param) |
void | addVisualAttribute (VisualChooser::AttributeName token) |
void | addVisualExtendedAttribute (unsigned int token) |
void | addVisualExtendedAttribute (unsigned int token, int param) |
void | endVisual (void) |
VisualChooser * | findVisual (const char *name) |
bool | parseFile (const std::string &file) |
void | beginRenderSurface (const char *name) |
void | setRenderSurfaceVisualChooser (const char *name) |
void | setRenderSurfaceVisualChooser (void) |
void | setRenderSurfaceWindowRectangle (int x, int y, unsigned int width, unsigned int height) |
void | setRenderSurfaceCustomFullScreenRectangle (int x, int y, unsigned int width, unsigned int height) |
void | setRenderSurfaceOverrideRedirect (bool flag) |
void | setRenderSurfaceHostName (const std::string &name) |
void | setRenderSurfaceDisplayNum (int n) |
void | setRenderSurfaceScreen (int n) |
void | setRenderSurfaceBorder (bool flag) |
void | setRenderSurfaceDrawableType (RenderSurface::DrawableType drawableType) |
void | setRenderSurfaceRenderToTextureMode (RenderSurface::RenderToTextureMode rttMode) |
void | setRenderSurfaceReadDrawable (const char *name) |
void | setRenderSurfaceInputRectangle (float x0, float x1, float y0, float y1) |
void | endRenderSurface (void) |
RenderSurface * | findRenderSurface (const char *name) |
unsigned int | getNumberOfRenderSurfaces () |
RenderSurface * | getRenderSurface (unsigned int index) |
void | addCamera (std::string name, Camera *camera) |
void | beginCamera (std::string name) |
void | setCameraRenderSurface (const char *name) |
void | setCameraRenderSurface (void) |
void | setCameraProjectionRectangle (float x0, float x1, float y0, float y1) |
void | setCameraProjectionRectangle (int x0, int x1, int y0, int y1) |
void | setCameraOrtho (float left, float right, float bottom, float top, float nearClip, float farClip, float xshear=0.0, float yshear=0.0) |
void | setCameraPerspective (float hfov, float vfov, float nearClip, float farClip, float xshear=0.0, float yshear=0.0) |
void | setCameraFrustum (float left, float right, float bottom, float top, float nearClip, float farClip, float xshear=0.0, float yshear=0.0) |
void | setCameraLensShear (Matrix::value_type xshear, Matrix::value_type yshear) |
void | setCameraShareLens (bool shared) |
void | setCameraShareView (bool shared) |
void | setCameraClearColor (float r, float g, float b, float a) |
void | beginCameraOffset () |
void | rotateCameraOffset (Matrix::value_type deg, Matrix::value_type x, Matrix::value_type y, Matrix::value_type z) |
void | translateCameraOffset (Matrix::value_type x, Matrix::value_type y, Matrix::value_type z) |
void | scaleCameraOffset (Matrix::value_type x, Matrix::value_type y, Matrix::value_type z) |
void | shearCameraOffset (Matrix::value_type shearx, Matrix::value_type sheary) |
void | setCameraOffsetMultiplyMethod (Camera::Offset::MultiplyMethod method) |
void | endCameraOffset () |
void | endCamera (void) |
Camera * | findCamera (const char *name) |
unsigned int | getNumberOfCameras () const |
const Camera * | getCamera (unsigned int n) const |
Camera * | getCamera (unsigned int n) |
void | beginInputArea () |
void | addInputAreaEntry (char *renderSurfaceName) |
void | endInputArea () |
void | setInputArea (Producer::InputArea *ia) |
Producer::InputArea * | getInputArea () |
const Producer::InputArea * | getInputArea () const |
void | realize (void) |
bool | defaultConfig () |
void | addStereoSystemCommand (int screen, std::string stereoCmd, std::string monoCmd) |
const std::vector< StereoSystemCommand > & | getStereoSystemCommands () |
void | setThreadModelDirective (Producer::CameraGroup::ThreadModel directive) |
Producer::CameraGroup::ThreadModel | getThreadModelDirective () |
Static Public Member Functions | |
static std::string | findFile (std::string) |
Protected Member Functions | |
virtual | ~CameraConfig () |
Classes | |
struct | StereoSystemCommand |
Producer::CameraConfig::CameraConfig | ( | ) |
virtual Producer::CameraConfig::~CameraConfig | ( | ) | [protected, virtual] |
void Producer::CameraConfig::addCamera | ( | std::string | name, | |
Camera * | camera | |||
) |
void Producer::CameraConfig::addInputAreaEntry | ( | char * | renderSurfaceName | ) |
void Producer::CameraConfig::addStereoSystemCommand | ( | int | screen, | |
std::string | stereoCmd, | |||
std::string | monoCmd | |||
) |
void Producer::CameraConfig::addVisualAttribute | ( | VisualChooser::AttributeName | token | ) |
void Producer::CameraConfig::addVisualAttribute | ( | VisualChooser::AttributeName | token, | |
int | param | |||
) |
void Producer::CameraConfig::addVisualExtendedAttribute | ( | unsigned int | token, | |
int | param | |||
) |
void Producer::CameraConfig::addVisualExtendedAttribute | ( | unsigned int | token | ) |
void Producer::CameraConfig::beginCamera | ( | std::string | name | ) |
void Producer::CameraConfig::beginCameraOffset | ( | ) |
void Producer::CameraConfig::beginInputArea | ( | ) |
void Producer::CameraConfig::beginRenderSurface | ( | const char * | name | ) |
void Producer::CameraConfig::beginVisual | ( | const char * | name | ) |
void Producer::CameraConfig::beginVisual | ( | void | ) |
bool Producer::CameraConfig::defaultConfig | ( | ) |
void Producer::CameraConfig::endCamera | ( | void | ) |
void Producer::CameraConfig::endCameraOffset | ( | ) |
void Producer::CameraConfig::endInputArea | ( | ) |
void Producer::CameraConfig::endRenderSurface | ( | void | ) |
void Producer::CameraConfig::endVisual | ( | void | ) |
Camera* Producer::CameraConfig::findCamera | ( | const char * | name | ) |
static std::string Producer::CameraConfig::findFile | ( | std::string | ) | [static] |
RenderSurface* Producer::CameraConfig::findRenderSurface | ( | const char * | name | ) |
VisualChooser* Producer::CameraConfig::findVisual | ( | const char * | name | ) |
Camera* Producer::CameraConfig::getCamera | ( | unsigned int | n | ) |
const Camera* Producer::CameraConfig::getCamera | ( | unsigned int | n | ) | const |
const Producer::InputArea* Producer::CameraConfig::getInputArea | ( | ) | const |
Producer::InputArea* Producer::CameraConfig::getInputArea | ( | ) |
unsigned int Producer::CameraConfig::getNumberOfCameras | ( | ) | const |
unsigned int Producer::CameraConfig::getNumberOfRenderSurfaces | ( | ) |
RenderSurface* Producer::CameraConfig::getRenderSurface | ( | unsigned int | index | ) |
const std::vector<StereoSystemCommand>& Producer::CameraConfig::getStereoSystemCommands | ( | ) |
Producer::CameraGroup::ThreadModel Producer::CameraConfig::getThreadModelDirective | ( | ) | [inline] |
bool Producer::CameraConfig::parseFile | ( | const std::string & | file | ) |
void Producer::CameraConfig::realize | ( | void | ) |
void Producer::CameraConfig::rotateCameraOffset | ( | Matrix::value_type | deg, | |
Matrix::value_type | x, | |||
Matrix::value_type | y, | |||
Matrix::value_type | z | |||
) |
void Producer::CameraConfig::scaleCameraOffset | ( | Matrix::value_type | x, | |
Matrix::value_type | y, | |||
Matrix::value_type | z | |||
) |
void Producer::CameraConfig::setCameraClearColor | ( | float | r, | |
float | g, | |||
float | b, | |||
float | a | |||
) |
void Producer::CameraConfig::setCameraFrustum | ( | float | left, | |
float | right, | |||
float | bottom, | |||
float | top, | |||
float | nearClip, | |||
float | farClip, | |||
float | xshear = 0.0 , |
|||
float | yshear = 0.0 | |||
) |
void Producer::CameraConfig::setCameraLensShear | ( | Matrix::value_type | xshear, | |
Matrix::value_type | yshear | |||
) |
void Producer::CameraConfig::setCameraOffsetMultiplyMethod | ( | Camera::Offset::MultiplyMethod | method | ) |
void Producer::CameraConfig::setCameraOrtho | ( | float | left, | |
float | right, | |||
float | bottom, | |||
float | top, | |||
float | nearClip, | |||
float | farClip, | |||
float | xshear = 0.0 , |
|||
float | yshear = 0.0 | |||
) |
void Producer::CameraConfig::setCameraPerspective | ( | float | hfov, | |
float | vfov, | |||
float | nearClip, | |||
float | farClip, | |||
float | xshear = 0.0 , |
|||
float | yshear = 0.0 | |||
) |
void Producer::CameraConfig::setCameraProjectionRectangle | ( | int | x0, | |
int | x1, | |||
int | y0, | |||
int | y1 | |||
) |
void Producer::CameraConfig::setCameraProjectionRectangle | ( | float | x0, | |
float | x1, | |||
float | y0, | |||
float | y1 | |||
) |
void Producer::CameraConfig::setCameraRenderSurface | ( | void | ) |
void Producer::CameraConfig::setCameraRenderSurface | ( | const char * | name | ) |
void Producer::CameraConfig::setCameraShareLens | ( | bool | shared | ) |
void Producer::CameraConfig::setCameraShareView | ( | bool | shared | ) |
void Producer::CameraConfig::setInputArea | ( | Producer::InputArea * | ia | ) |
void Producer::CameraConfig::setRenderSurfaceBorder | ( | bool | flag | ) |
void Producer::CameraConfig::setRenderSurfaceCustomFullScreenRectangle | ( | int | x, | |
int | y, | |||
unsigned int | width, | |||
unsigned int | height | |||
) |
void Producer::CameraConfig::setRenderSurfaceDisplayNum | ( | int | n | ) |
void Producer::CameraConfig::setRenderSurfaceDrawableType | ( | RenderSurface::DrawableType | drawableType | ) |
void Producer::CameraConfig::setRenderSurfaceHostName | ( | const std::string & | name | ) |
void Producer::CameraConfig::setRenderSurfaceInputRectangle | ( | float | x0, | |
float | x1, | |||
float | y0, | |||
float | y1 | |||
) |
void Producer::CameraConfig::setRenderSurfaceOverrideRedirect | ( | bool | flag | ) |
void Producer::CameraConfig::setRenderSurfaceReadDrawable | ( | const char * | name | ) |
void Producer::CameraConfig::setRenderSurfaceRenderToTextureMode | ( | RenderSurface::RenderToTextureMode | rttMode | ) |
void Producer::CameraConfig::setRenderSurfaceScreen | ( | int | n | ) |
void Producer::CameraConfig::setRenderSurfaceVisualChooser | ( | void | ) |
void Producer::CameraConfig::setRenderSurfaceVisualChooser | ( | const char * | name | ) |
void Producer::CameraConfig::setRenderSurfaceWindowRectangle | ( | int | x, | |
int | y, | |||
unsigned int | width, | |||
unsigned int | height | |||
) |
void Producer::CameraConfig::setThreadModelDirective | ( | Producer::CameraGroup::ThreadModel | directive | ) | [inline] |
void Producer::CameraConfig::setVisualByID | ( | unsigned int | id | ) |
void Producer::CameraConfig::setVisualSimpleConfiguration | ( | void | ) |
void Producer::CameraConfig::shearCameraOffset | ( | Matrix::value_type | shearx, | |
Matrix::value_type | sheary | |||
) |
void Producer::CameraConfig::translateCameraOffset | ( | Matrix::value_type | x, | |
Matrix::value_type | y, | |||
Matrix::value_type | z | |||
) |