#include <volumeeffect.h>
Definition at line 71 of file volumeeffect.h.
VolumeShaderProgram::VolumeShaderProgram |
( |
QObject * |
parent = 0 ) | |
|
VolumeShaderProgram::~VolumeShaderProgram |
( |
) | |
|
|
virtual |
void VolumeShaderProgram::applyTo |
( |
QGLSceneNode * |
node) | |
|
|
virtual |
void VolumeShaderProgram::enableEffect |
( |
QGLPainter * |
painter) | |
|
|
virtual |
Definition at line 809 of file volumeeffect.cpp.
813 QQuickEffect::enableEffect(painter);
823 QQuickEffect::enableEffect(painter);
833 QQuickEffect::enableEffect(painter);
841 painter->setUserEffect(d->
effect);
void VolumeShaderProgram::finishedLoading |
( |
) | |
|
|
signal |
void VolumeShaderProgram::forceUpdate |
( |
) | |
|
|
slot |
QString VolumeShaderProgram::fragmentShader |
( |
) | |
const |
QUrl VolumeShaderProgram::fragmentShaderSource |
( |
) | |
const |
void VolumeShaderProgram::fragmentShaderSourceChanged |
( |
QUrl |
arg) | |
|
|
signal |
void VolumeShaderProgram::markAllPropertiesDirty |
( |
) | |
|
|
slot |
void VolumeShaderProgram::markPropertyDirty |
( |
int |
property) | |
|
|
slot |
HartreeFock* VolumeShaderProgram::positionReader |
( |
) | |
const |
|
inline |
void VolumeShaderProgram::positionReaderChanged |
( |
HartreeFock * |
arg) | |
|
|
signal |
void VolumeShaderProgram::setFragmentShader |
( |
const QString & |
value) | |
|
void VolumeShaderProgram::setFragmentShaderSource |
( |
QUrl |
arg) | |
|
|
slot |
Definition at line 949 of file volumeeffect.cpp.
951 if (m_fragmentShaderSource != arg) {
952 m_fragmentShaderSource = arg;
953 QFile file(arg.path());
954 QString fragmentShaderFileContents;
955 if (file.open(QIODevice::ReadOnly)) {
956 fragmentShaderFileContents = file.readAll();
958 qWarning() <<
"VolumeShaderProgram::setFragmentShaderSource: could not open " << arg;
void VolumeShaderProgram::setPositionReader |
( |
HartreeFock * |
arg) | |
|
|
slot |
Definition at line 965 of file volumeeffect.cpp.
967 if (m_positionReader != arg) {
968 m_positionReader = arg;
969 connect(m_positionReader, SIGNAL(dataChanged()),
this, SLOT(
forceUpdate()));
void VolumeShaderProgram::setVertexShader |
( |
const QString & |
value) | |
|
void VolumeShaderProgram::setVertexShaderSource |
( |
QUrl |
arg) | |
|
|
slot |
Definition at line 933 of file volumeeffect.cpp.
935 if (m_vertexShaderSource != arg) {
936 m_vertexShaderSource = arg;
937 QFile file(arg.path());
938 QString vertexShaderFileContents;
939 if (file.open(QIODevice::ReadOnly)) {
940 vertexShaderFileContents = file.readAll();
942 qWarning() <<
"VolumeShaderProgram::setVertexShaderSource: could not open " << arg;
void VolumeShaderProgram::shaderChanged |
( |
) | |
|
|
signal |
const Texture3D & VolumeShaderProgram::texture3Ddata |
( |
) | |
const |
QString VolumeShaderProgram::vertexShader |
( |
) | |
const |
QUrl VolumeShaderProgram::vertexShaderSource |
( |
) | |
const |
void VolumeShaderProgram::vertexShaderSourceChanged |
( |
QUrl |
arg) | |
|
|
signal |
QString VolumeShaderProgram::fragmentShader |
|
readwrite |
QUrl VolumeShaderProgram::fragmentShaderSource |
|
readwrite |
QString VolumeShaderProgram::vertexShader |
|
readwrite |
QUrl VolumeShaderProgram::vertexShaderSource |
|
readwrite |
The documentation for this class was generated from the following files:
- /home/svenni/Dropbox/projects/programming/hartree-fock/hartree-fock/hfgui/volumeeffect.h
- /home/svenni/Dropbox/projects/programming/hartree-fock/hartree-fock/hfgui/volumeeffect.cpp