Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

ImplicitInterrogator Class Reference

#include <ImplicitInterrogator.h>

Inheritance diagram for ImplicitInterrogator:

Inheritance graph
[legend]
Collaboration diagram for ImplicitInterrogator:

Collaboration graph
[legend]
List of all members.

Detailed Description

The ImplicitInterrogator attribute allows a particle system to interrogate an implicit function.

It maintains a pointer to the Implicit object and an array of parameter change values.

Definition at line 22 of file ImplicitInterrogator.h.

Public Member Functions

 MAKE_PARTICLESTUFF_NAME ()
int qlen ()
 Returns length of particle stuff parameters.

void getq (double *q)
 Get the parameters.

void setq (double *q)
 Set particle stuff parameters.

void qname (char **qn)
 Get the names of the parameters.

 ImplicitInterrogator (Particles *ps=NULL, Implicit *implicit=NULL, std::string &name=std::string("ImplicitInterrogator"))
 Assign the implicit interrogator attribute to a particle system.

void setImplicit (Implicit *implicit)
 Set the implicit to use.

void empty ()
ImplicitgetImplicit ()
 Get the current implicit.


Public Attributes

int index
std::valarray< double > dqdt
 Change in implicit function parameters.


Private Attributes

Implicitimplicit
 An implicit function to interrogate.


Constructor & Destructor Documentation

ImplicitInterrogator::ImplicitInterrogator Particles ps = NULL,
Implicit implicit = NULL,
std::string &  name = std::string("ImplicitInterrogator")
 

Assign the implicit interrogator attribute to a particle system.

Parameters:
ps The owning particle system.
implicit The implicit function.
name The name of this interrogator.

Definition at line 23 of file ImplicitInterrogator.cpp.

References implicit, and index.


Member Function Documentation

void ImplicitInterrogator::empty  ) 
 

Definition at line 39 of file ImplicitInterrogator.cpp.

References empty_p, and setImplicit().

Implicit * ImplicitInterrogator::getImplicit  ) 
 

Get the current implicit.

Definition at line 44 of file ImplicitInterrogator.cpp.

References implicit.

Referenced by TopologyInterrogator::applyConstraint(), SurfacePropagation::applyConstraint(), SurfaceDeformation::applyConstraint(), SurfaceAdhesion::applyConstraint(), RBFPropagation::applyConstraint(), SkinMeshShape::applyForce(), SingularityInterrogator::applyForce(), SilhouetteAdhesion::applyForce(), SurfaceDeformation::attachAttributes(), CriticalPointInterrogator::cleanup(), CriticalPointInterrogator::createCriticalPointPS(), SingularityAdhesion::createSingularPS(), ParticleShaderGradientField::draw(), ParticleShaderTriangle::drawPolygon(), ParticleShaderDisk::drawShape(), ParticleShaderCurvature::drawShape(), SurfaceDeformation::loadParticles(), SurfaceAdhesion::particleAdded(), SurfacePropagation::speed(), and RBFPropagation::speed().

void ImplicitInterrogator::getq double *  q  )  [virtual]
 

Get the parameters.

Defaults to no parameters.

Reimplemented from ParticleStuff.

Definition at line 54 of file ImplicitInterrogator.cpp.

References index.

ImplicitInterrogator::MAKE_PARTICLESTUFF_NAME  ) 
 

int ImplicitInterrogator::qlen  )  [virtual]
 

Returns length of particle stuff parameters.

Defaults to no parameters.

Reimplemented from ParticleStuff.

Definition at line 49 of file ImplicitInterrogator.cpp.

void ImplicitInterrogator::qname char **  qn  )  [virtual]
 

Get the names of the parameters.

Defaults to no parameters.

Reimplemented from ParticleStuff.

Definition at line 64 of file ImplicitInterrogator.cpp.

References empty_p, implicit, and Surface::name().

void ImplicitInterrogator::setImplicit Implicit implicit  ) 
 

Set the implicit to use.

Definition at line 31 of file ImplicitInterrogator.cpp.

References implicit.

Referenced by empty().

void ImplicitInterrogator::setq double *  q  )  [virtual]
 

Set particle stuff parameters.

Defaults to no parameters.

Reimplemented from ParticleStuff.

Definition at line 59 of file ImplicitInterrogator.cpp.

References index.


Member Data Documentation

std::valarray<double> ImplicitInterrogator::dqdt
 

Change in implicit function parameters.

Definition at line 37 of file ImplicitInterrogator.h.

Referenced by SurfaceAdhesion::applyConstraint().

Implicit* ImplicitInterrogator::implicit [private]
 

An implicit function to interrogate.

Definition at line 27 of file ImplicitInterrogator.h.

Referenced by getImplicit(), ImplicitInterrogator(), qname(), and setImplicit().

int ImplicitInterrogator::index
 

Definition at line 34 of file ImplicitInterrogator.h.

Referenced by getq(), ImplicitInterrogator(), and setq().


The documentation for this class was generated from the following files:
Generated on Mon Jun 28 15:02:22 2004 for Advanced Surface Library by doxygen 1.3.4