A SwitchCondition that switches the levels-of-detail based on distance from the camera's eyepoint.
More...
|
| | EggSwitchConditionDistance (double switch_in, double switch_out, const LPoint3d ¢er, double fade=0.0) |
| |
| virtual TypeHandle | get_type () const |
| |
| virtual EggSwitchCondition * | make_copy () const |
| |
| virtual void | transform (const LMatrix4d &mat) |
| | Applies the indicated transformation matrix to the switch condition parameters.
|
| |
| virtual void | write (std::ostream &out, int indent_level) const |
| |
| virtual TypeHandle | force_init_type () |
| |
| | EggObject (const EggObject ©) |
| |
| virtual EggTransform * | as_transform () |
| | Returns this object cross-cast to an EggTransform pointer, if it inherits from EggTransform, or NULL if it does not.
|
| |
| void | clear_user_data () |
| | Removes *all* user data pointers from the node.
|
| |
| void | clear_user_data (TypeHandle type) |
| | Removes the user data pointer of the indicated type.
|
| |
| EggUserData * | get_user_data () const |
| | Returns the user data pointer most recently stored on this object, or NULL if nothing was previously stored.
|
| |
| EggUserData * | get_user_data (TypeHandle type) const |
| | Returns the user data pointer of the indicated type, if it exists, or NULL if it does not.
|
| |
| bool | has_user_data () const |
| | Returns true if a generic user data pointer has recently been set and not yet cleared, false otherwise.
|
| |
| bool | has_user_data (TypeHandle type) const |
| | Returns true if the user data pointer of the indicated type has been set, false otherwise.
|
| |
| EggObject & | operator= (const EggObject ©) |
| |
| void | set_user_data (EggUserData *user_data) |
| | Sets the user data associated with this object.
|
| |
| | TypedReferenceCount (const TypedReferenceCount ©) |
| |
| void | operator= (const TypedReferenceCount ©) |
| |
|
| TypedObject (const TypedObject ©)=default |
| |
| TypedObject * | as_typed_object () |
| | Returns the object, upcast (if necessary) to a TypedObject pointer.
|
| |
| const TypedObject * | as_typed_object () const |
| | Returns the object, upcast (if necessary) to a TypedObject pointer.
|
| |
| int | get_best_parent_from_Set (const std::set< int > &) const |
| |
| int | get_type_index () const |
| | Returns the internal index number associated with this object's TypeHandle, a unique number for each different type.
|
| |
| bool | is_exact_type (TypeHandle handle) const |
| | Returns true if the current object is the indicated type exactly.
|
| |
| bool | is_of_type (TypeHandle handle) const |
| | Returns true if the current object is or derives from the indicated type.
|
| |
|
TypedObject & | operator= (const TypedObject ©)=default |
| |
| void | operator delete (void *, void *) |
| |
| void | operator delete (void *ptr) |
| |
| void | operator delete[] (void *, void *) |
| |
| void | operator delete[] (void *ptr) |
| |
| void * | operator new (size_t size) |
| |
| void * | operator new (size_t size, void *ptr) |
| |
| void * | operator new[] (size_t size) |
| |
| void * | operator new[] (size_t size, void *ptr) |
| |
|
int | get_ref_count () const |
| |
| WeakReferenceList * | get_weak_list () const |
| | Returns the WeakReferenceList associated with this ReferenceCount object.
|
| |
| bool | has_weak_list () const |
| | Returns true if this particular ReferenceCount object has a WeakReferenceList created, false otherwise.
|
| |
| void | local_object () |
| | This function should be called, once, immediately after creating a new instance of some ReferenceCount-derived object on the stack.
|
| |
| void | ref () const |
| | Explicitly increments the reference count.
|
| |
| bool | ref_if_nonzero () const |
| | Atomically increases the reference count of this object if it is not zero.
|
| |
| bool | test_ref_count_integrity () const |
| | Does some easy checks to make sure that the reference count isn't completely bogus.
|
| |
| bool | test_ref_count_nonzero () const |
| | Does some easy checks to make sure that the reference count isn't zero, or completely bogus.
|
| |
| virtual bool | unref () const |
| | Explicitly decrements the reference count.
|
| |
| bool | unref_if_one () const |
| | Atomically decreases the reference count of this object if it is one.
|
| |
| WeakReferenceList * | weak_ref () |
| | Adds the indicated PointerToVoid as a weak reference to this object.
|
| |
| void | weak_unref () |
| | Removes the indicated PointerToVoid as a weak reference to this object.
|
| |
A SwitchCondition that switches the levels-of-detail based on distance from the camera's eyepoint.
Definition at line 61 of file eggSwitchCondition.h.