OSG
3.4.0
|
#include <Optimizer.h>
Public Member Functions | |
TextureVisitor (bool changeAutoUnRef, bool valueAutoUnRef, bool changeClientImageStorage, bool valueClientImageStorage, bool changeAnisotropy, float valueAnisotropy, Optimizer *optimizer=0) | |
virtual void | apply (osg::Geode &node) |
virtual void | apply (osg::Node &node) |
void | apply (osg::StateSet &stateset) |
void | apply (osg::Texture &texture) |
![]() | |
BaseOptimizerVisitor (Optimizer *optimizer, unsigned int operation) | |
bool | isOperationPermissibleForObject (const osg::StateSet *object) const |
bool | isOperationPermissibleForObject (const osg::StateAttribute *object) const |
bool | isOperationPermissibleForObject (const osg::Drawable *object) const |
bool | isOperationPermissibleForObject (const osg::Node *object) const |
![]() | |
NodeVisitor (TraversalMode tm=TRAVERSE_NONE) | |
NodeVisitor (VisitorType type, TraversalMode tm=TRAVERSE_NONE) | |
NodeVisitor (const NodeVisitor &nv, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
virtual | ~NodeVisitor () |
META_Object (osg, NodeVisitor) virtual NodeVisitor *asNodeVisitor() | |
virtual const NodeVisitor * | asNodeVisitor () const |
virtual void | reset () |
void | setVisitorType (VisitorType type) |
VisitorType | getVisitorType () const |
void | setTraversalNumber (unsigned int fn) |
unsigned int | getTraversalNumber () const |
void | setFrameStamp (FrameStamp *fs) |
const FrameStamp * | getFrameStamp () const |
void | setTraversalMask (Node::NodeMask mask) |
Node::NodeMask | getTraversalMask () const |
void | setNodeMaskOverride (Node::NodeMask mask) |
Node::NodeMask | getNodeMaskOverride () const |
bool | validNodeMask (const osg::Node &node) const |
void | setTraversalMode (TraversalMode mode) |
TraversalMode | getTraversalMode () const |
void | traverse (Node &node) |
void | pushOntoNodePath (Node *node) |
void | popFromNodePath () |
NodePath & | getNodePath () |
const NodePath & | getNodePath () const |
virtual osg::Vec3 | getEyePoint () const |
virtual osg::Vec3 | getViewPoint () const |
virtual float | getDistanceToEyePoint (const Vec3 &, bool) const |
virtual float | getDistanceFromEyePoint (const Vec3 &, bool) const |
virtual float | getDistanceToViewPoint (const Vec3 &, bool) const |
virtual void | apply (Drawable &drawable) |
virtual void | apply (Geometry &geometry) |
virtual void | apply (Billboard &node) |
virtual void | apply (Group &node) |
virtual void | apply (ProxyNode &node) |
virtual void | apply (Projection &node) |
virtual void | apply (CoordinateSystemNode &node) |
virtual void | apply (ClipNode &node) |
virtual void | apply (TexGenNode &node) |
virtual void | apply (LightSource &node) |
virtual void | apply (Transform &node) |
virtual void | apply (Camera &node) |
virtual void | apply (CameraView &node) |
virtual void | apply (MatrixTransform &node) |
virtual void | apply (PositionAttitudeTransform &node) |
virtual void | apply (Switch &node) |
virtual void | apply (Sequence &node) |
virtual void | apply (LOD &node) |
virtual void | apply (PagedLOD &node) |
virtual void | apply (ClearNode &node) |
virtual void | apply (OccluderNode &node) |
virtual void | apply (OcclusionQueryNode &node) |
void | setDatabaseRequestHandler (DatabaseRequestHandler *handler) |
DatabaseRequestHandler * | getDatabaseRequestHandler () |
const DatabaseRequestHandler * | getDatabaseRequestHandler () const |
void | setImageRequestHandler (ImageRequestHandler *handler) |
ImageRequestHandler * | getImageRequestHandler () |
const ImageRequestHandler * | getImageRequestHandler () const |
![]() | |
Object () | |
Object (bool threadSafeRefUnref) | |
Object (const Object &, const CopyOp ©op=CopyOp::SHALLOW_COPY) | |
virtual Object * | cloneType () const =0 |
virtual Object * | clone (const CopyOp &) const =0 |
virtual bool | isSameKindAs (const Object *) const |
virtual const char * | libraryName () const =0 |
virtual const char * | className () const =0 |
std::string | getCompoundClassName () const |
virtual Node * | asNode () |
virtual const Node * | asNode () const |
virtual NodeVisitor * | asNodeVisitor () |
virtual StateAttribute * | asStateAttribute () |
virtual const StateAttribute * | asStateAttribute () const |
virtual Uniform * | asUniform () |
virtual const Uniform * | asUniform () const |
virtual void | setThreadSafeRefUnref (bool threadSafe) |
virtual void | setName (const std::string &name) |
void | setName (const char *name) |
const std::string & | getName () const |
void | setDataVariance (DataVariance dv) |
DataVariance | getDataVariance () const |
virtual void | computeDataVariance () |
void | setUserDataContainer (osg::UserDataContainer *udc) |
osg::UserDataContainer * | getUserDataContainer () |
const osg::UserDataContainer * | getUserDataContainer () const |
osg::UserDataContainer * | getOrCreateUserDataContainer () |
virtual void | setUserData (Referenced *obj) |
virtual Referenced * | getUserData () |
virtual const Referenced * | getUserData () const |
template<typename T > | |
bool | getUserValue (const std::string &name, T &value) const |
template<typename T > | |
void | setUserValue (const std::string &name, const T &value) |
virtual void | resizeGLObjectBuffers (unsigned int) |
virtual void | releaseGLObjects (osg::State *=0) const |
template<typename T > | |
BoolValueObject UCharValueObject UShortValueObject UIntValueObject DoubleValueObject Vec3fValueObject Vec2dValueObject Vec4dValueObject PlaneValueObject MatrixdValueObject BoundingBoxdValueObject BoundingSpheredValueObject bool | getUserValue (const std::string &name, T &value) const |
![]() | |
Referenced () | |
Referenced (bool threadSafeRefUnref) | |
Referenced (const Referenced &) | |
Referenced & | operator= (const Referenced &) |
bool | getThreadSafeRefUnref () const |
OpenThreads::Mutex * | getRefMutex () const |
int | ref () const |
int | unref () const |
int | unref_nodelete () const |
int | referenceCount () const |
ObserverSet * | getObserverSet () const |
ObserverSet * | getOrCreateObserverSet () const |
void | addObserver (Observer *observer) const |
void | removeObserver (Observer *observer) const |
Public Attributes | |
bool | _changeAutoUnRef |
bool | _valueAutoUnRef |
bool | _changeClientImageStorage |
bool | _valueClientImageStorage |
bool | _changeAnisotropy |
float | _valueAnisotropy |
For all textures apply settings.
Definition at line 611 of file Optimizer.h.
|
inline |
Definition at line 615 of file Optimizer.h.
|
virtual |
Reimplemented from osg::NodeVisitor.
|
virtual |
Reimplemented from osg::NodeVisitor.
void osgUtil::Optimizer::TextureVisitor::apply | ( | osg::StateSet & | stateset | ) |
void osgUtil::Optimizer::TextureVisitor::apply | ( | osg::Texture & | texture | ) |
bool osgUtil::Optimizer::TextureVisitor::_changeAnisotropy |
Definition at line 632 of file Optimizer.h.
bool osgUtil::Optimizer::TextureVisitor::_changeAutoUnRef |
Definition at line 630 of file Optimizer.h.
bool osgUtil::Optimizer::TextureVisitor::_changeClientImageStorage |
Definition at line 631 of file Optimizer.h.
float osgUtil::Optimizer::TextureVisitor::_valueAnisotropy |
Definition at line 633 of file Optimizer.h.
bool osgUtil::Optimizer::TextureVisitor::_valueAutoUnRef |
Definition at line 630 of file Optimizer.h.
bool osgUtil::Optimizer::TextureVisitor::_valueClientImageStorage |
Definition at line 631 of file Optimizer.h.