Object Class Reference

#include <object.h>

Inheritance diagram for Object:

Inheritance graph
[legend]
Collaboration diagram for Object:

Collaboration graph
[legend]

List of all members.

Public Types

enum  object_type { nodes_only, edges_only, faces_only, tetras_only }
enum  dynamics_type {
  rest, rigid, deformable, articulate,
  button
}
enum  behavior_type {
  none, grabbing, cutting, deleting,
  poking, ablating, cauterizing, coloring,
  quisar_test, dilating, beating, fluid
}
enum  numerical_method {
  euler, euler_ordered, runge, runge_4thorder,
  quasi, quasi_ordered, bogus, FSA,
  FSAF
}
enum  collision_extent_type { no_collisions, external, internal, internal_external }
enum  collision_force_type { normal_force, penetration_depth_force }
enum  texture_env_mode { modulate, blend, decal, replace }
enum  texture_wrap_st { repeat, clamp }
enum  texture_min_mag_filter { linear, nearest }

Public Member Functions

 Object ()
 ~Object ()
void setCollisionExtent (collision_extent_type extent)
collision_extent_type getCollisionExtent ()
void setCollisionForce (collision_force_type collision_force_)
collision_force_type getCollisionForce ()
ReallocableArray
< Face * > 
getCollisionFaces ()
void ConstructCollisions ()
void DestructCollisions ()
void ResetCollisions ()
void DetectCollisions (Object *other_obj)
void MarkCollisions ()
void ResolveCollisions ()
bool CollidesWith (Object *other_obj)
Point3D CalculateForce (Face *myFace, Face *otherFace)
void addEverythingToUpdateList ()
BoundingSphereNodegetBoundingSphereRoot ()
void setBoundingSphereRoot (BoundingSphereNode *rt)
void CreateSphereTree ()
void DestroySphereTree ()
void addToSphereTree (Face *face)
void removeFromSphereTree (Face *face)
void addToSphereTree (Tetra *tetra)
void removeFromSphereTree (Tetra *tetra)
void removeFromCollisionPairs (Face *me)
void removeFromCollisionPairs (Tetra *me)
void addToUpdateList (Edge *addedge)
void addToUpdateList (Face *addface)
void addToUpdateList (Tetra *addtetra)
int ResolveFaceFaceCollisions (Collision_pair *c_p, Point3D *this_haptic_force_p)
void ResolveEdgeEdgeCollisions (Collision_pair *c_p)
int getNumTotalCollisions ()
void findNodeNodeCollisions (Object *other)
void findNodeEdgeCollisions (Object *other)
void findNodeFaceCollisions (Object *other)
void findNodeTetraCollisions (Object *other)
void findEdgeEdgeCollisions (Object *other)
void findEdgeFaceCollisions (Object *other)
void findEdgeTetraCollisions (Object *other)
void findFaceFaceCollisions (Object *other)
void findFaceTetraCollisions (Object *other)
void findTetraTetraCollisions (Object *other)
void CollisionPairAdd (Collision_pair pair)
int CollisionPairGetNumElements ()
Collision_pair CollisionPairGet (int i)
BoundingBoxgetBoundingBoxRoot ()
void setBoundingBoxRoot (BoundingBox *boundingBoxRoot_)
bool isDoBoundingBoxRootUpdate ()
void setDoBoundingBoxRootUpdate (bool doUpdate_)
int getMaxLevelCollisionCheck ()
void setMaxLevelCollisionCheck (int maxLevel_)
void Init (ObjectArray *objectarray_in, char *name)
NodeArraygetNodeArray ()
EdgeArraygetEdgeArray ()
FaceArraygetFaceArray ()
TetraArraygetTetraArray ()
int Read (char *filename)
int Read (char *dirname_part, char *filename_part)
int ReadAmira (FILE *fp)
int ReadMesh (FILE *fp)
int ReadSMF (FILE *fp)
int ReadOBJ (FILE *fp)
int ReadSOBJ (FILE *fp)
int ReadFRD (FILE *fp)
int ReadVRML (FILE *fp, int create_subobjects=1)
int ReadVRMLObject (FILE *fp, Matrix original_xform, int create_subobjects=1, int is_vrml2=0)
int ReadCyberware (FILE *fp)
void ParseAttribute (char *line)
void CreateThread (double length, double node_spacing, int orientation, Point3D offset, double edgethresh_in=0.10, int first_seg=0)
void CreateEdgeRing (Point3D center, double radius, int numedges, double edgethresh_in)
void CreateTestLine (int num_segs, double length, Point3D offset, int fix_end)
void CreateEquiMesh (int numlevels, double edgelength)
void CreateTube (char orientation, int num_radii, int num_rings, double radius, double length, Point3D offset, int diag1=0, int diag2=0, int fix_num=0, double inner_radius=-1.0, int cross1=0, int cross2=0, int capped=0, double sc1=1.0, double sc2=1.0, double rl_out=-1.0, double rl_in=-1.0, double rl_betw=-1.0)
int CreateSphere (int numlayers, double radius, double inner=-1.0)
void CreatePlane (double x_length, double y_length, int x_steps, int y_steps, Point3D offset, char orientation= 'z')
void CreateForcep (double length, double width)
void CreateHexSurfaceDeformedMenu (void)
void CreateHexSurfaceDeformed (void)
void CreateEndoscope (double length)
void CreateNeedle (double length, double width, Point3D offset)
void CreateGrabby (double length, double width, Point3D offset)
void CreateCutterTool (float scalefactor)
void CreatePlaneTool (double width, double height, Point3D offset)
void CreateBox (double width, double height, double depth)
void CreateBox2 (int xlayers, int ylayers, int zlayers, double length, int outlayers, double sc_out=0, double sc_in=0)
void CreateNodeCloud (int num_nodes, int radius, Point3D offset)
char * getName ()
char * getPath ()
char * getChildName (void)
void setName (char *new_name)
void setPath (char *filepath)
void setChildName (char *new_child_name)
double getTime ()
void resetTimer ()
ObjectArraygetObjectArray ()
void setType (object_type t)
object_type getType ()
Point3D getCenter ()
double getRadius ()
void Select ()
void Unselect ()
void SetVisible (int on)
int isVisible ()
int intersectsBoundingSphere (Object *test_obj)
void getBoundingBox (Point3D *min_p, Point3D *max_p)
int intersectsBoundingBox (Object *obj, double e=0.0)
double distanceToBoundingBox (Point3D pt)
void setTexture (char *filename=NULL)
void setTextureCoords (Node::texture_coord_type t)
unsigned char * getTexture ()
void moveTexture (Point3D translation, Point3D scaling)
texture_wrap_st getTextureWrap ()
void setTextureWrap (texture_wrap_st texture_wrap_)
dynamics_type getDynamics ()
void setDynamics (dynamics_type d)
double getEdgeThresh ()
behavior_type getBehavior ()
void setBehavior (behavior_type b)
numerical_method getNumMethod ()
void setNumMethod (numerical_method n)
void setAmbientColor (float red, float green, float blue, float alpha)
float * getAmbientColor ()
void setDiffuseColor (float red, float green, float blue, float alpha)
float * getDiffuseColor ()
void setSpecularColor (float red, float green, float blue, float alpha)
float * getSpecularColor ()
void setShininess (float s)
float * getShininess ()
void setBackAmbientColor (float red, float green, float blue, float alpha)
float * getBackAmbientColor ()
void setBackDiffuseColor (float red, float green, float blue, float alpha)
float * getBackDiffuseColor ()
void setBackSpecularColor (float red, float green, float blue, float alpha)
float * getBackSpecularColor ()
void setBackShininess (float s)
float * getBackShininess ()
DisplayMode getDisplayMode ()
void setDisplayMode (DisplayMode dm_in)
void setObjectWeight (double w)
double getObjectWeight ()
void setLabelOffset (float new_lo)
void PrintInfo ()
void getPosAngle (Point3D *pos_p, Point3D *rot_p)
double getVolume ()
double getSurfaceArea ()
void setExtrusionParameters (double exlength, int Nb_ex, int extype, int algo, int facesOutside, int facesLayers, int fixLastLayer, int Nb_face_surf, int Nb_pts_surf, int Nb_edge_surf)
void getExtrusionParameters (double *exlength, int *Nb_ex, int *extype, int *algo, int *facesOutside, int *facesLayers, int *fixLastLayer, int *Nb_face_surf, int *Nb_pts_surf, int *Nb_edge_surf)
int getNb_Face_Surf ()
void ForceDisplayUpdate ()
void flipFaces ()
void Update ()
void tipUpdate ()
int getGroupNumber ()
void setGroupNumber (int group)
void Draw ()
void DrawGeometry ()
void DrawBoundingBox ()
void DrawLabel ()
void DrawPrincipalAxes ()
void GeometryReplicate (GeometryReplicator *gr)
NodefindClosestNode (Point3D pt)
double findClosestNodesBetweenObjects (Object *other_obj, Node **our_node_p, Node **other_node_p)
void ShrinkWrap (Object *other_obj)
void ElasticAdjustment (ObjectArray *universe_p, Object *current_object)
void TieNode0 (Object *other_obj)
void TieObject (Object *other_obj)
void Join (Object *other_obj)
void MergeSubparts (double dist)
void ExtrusionMenu (void)
void PerformExtrusion (int glui_p)
void Extrusion (Object *obj)
void SaveAsAmira (ostream &os)
void SaveAsMesh (ostream &os)
void SaveAsFRD (ostream &os)
void SaveAsSMF (ostream &os)
void SaveAsDXF (ostream &os)
void SaveAsVRML1 (ostream &os)
void SaveAsVRML2 (ostream &os)
void SaveAsSTL (ostream &os)
void HandleBehavior ()
void HandleInteractiveBehavior ()
void HandleSpontaneousBehavior ()
void setDoDeformOnlyOnGrab (int i)
void PreserveVolume ()
void CenterObject ()
void Move (Point3D motion_vector)
int ColorConnectedComponents ()
int SpreadOutColor ()
void ResetColors (int color=0)
void SplitColor (Object *tool)
void SplitPieces ()
void DeleteNodesOfColor (int color)
void ColorFacesUsingMarkers (int color, Node **markers, int nummarkers)
void FillInColors (int color)
void FixNodesOfColor (int color)
void ColorNodesWithinBoundingBox (Point3D min, Point3D max, int color)
void ReflectMesh (int axis, double value)
int WalkGreedyPathUsingNodes (Node *start, Node *end, Node **path, int max)
void DuplicatePath (Node **path, int num_nodes_on_path)
void ColorPath (int color, Node **path, int num_nodes_on_path)
void SanityCheck ()
void Cleanup ()
double CumulativeDistanceBetweenObjects (Object *obj_p)
void RegisterToGivenObject (Object *obj_p)
void Scale (double value)
void ScaleByNormal (double value)
void ReorderFacesBasedOnViewer ()
void Refresh ()
void Spread (double kx, double ky, double kz)
void Translate (double kx, double ky, double kz)
void Rotate90 ()
void Rotate (int axis=0, double t=PI/2)
void LinkToSensor (Sensor *sensor_p)
int isLinked ()
SensorgetSensor ()
Point3D getSensorOffset ()
void setSensorOffset (Point3D offset)
Point3D getTip ()
void setTip (int index)
Point3D getTipDelta ()
double getHeight ()
void setHeight (double height)
int getLinkedPart ()
void setLinkedPart (int lp)
Point3D getHingePoint ()
void setHingePoint (Point3D p)
void setMaxOpen (Point3D angles)
void setMaxClosed (Point3D angles)
void addToHinges (int si, int ai, Point3D r, double maxopen, double maxclosed, int col0, int col1, int col2)
RigidHingegetRigidHinge ()
void setRigidHinge (RigidHinge *newRigidHinge)
float getRigidHingeAngle ()
void LinkSubpartToSensor (int subpart, Sensor *sensor_p)
void xformHingedObject ()
void xformObject ()
void xformCopies (ReallocableArray< Point3D > &tempnodepos, ReallocableArray< int > tempnodecol, int part, Matrix m, Point3D center_offset, Point3D origin)
void Decimation (int typeOfDecimation, int amountOfDecimation, double value)
void Triangulate1 (int n, Node *polygon[], Point3D normal, int faceIndex[])
void TriRecurse (int n, Node *polyInit[], Node *poly[], int labels[], Point3D normal, int faceIndex[], int *numFace_p, int *test)
double EdgeStats ()
void EdgeCollapse (double limit)
void CutUsingMarkers (Node **markers, int nummarkers)
void CuttingByDeleting (Object *cutter)
void addToCuttingFaces (Face *face)
FacegetCuttingFace (int index)
int numCuttingFaces ()
int isACuttingFace (Face *you)
void addToCuttingEdges (Edge *edge)
EdgegetCuttingEdge (int index)
int numCuttingEdges ()
int isACuttingEdge (Edge *you)
void addToCutPath (Node *intersection)
void clearCutPath ()
int numCutPath ()
NodegetCutPathNode (int index)
int testEdge (Point3D entPt, Edge *myedge, Edge *you, int test)
int testFace (Face *myface, Edge *you)
int inCollisionWithMyCuttingEdges (Edge *other_edge)
int inCollisionWithMyCuttingEdges (Face *other_face)
int inCollisionWithMyCuttingFaces (Edge *other_edge)
int inCollisionWithMyCuttingFaces (Face *other_face)
void addToLastFaces (Face *me)
FacegetLastFace (int index)
int numLastFacesInCollision ()
int isInLastFaces (Face *me)
int testEdges (Face *me, Edge *you, int test)
int updateFaceCutter (Face *me, Edge *you, int test)
int moveFaceCutter (Face *me, Edge *you, int test)
int finishFace (Face *me)
int CutFace (Face *me, int v[], int caseIdx)
void addToLastTetras (Tetra *me)
TetragetLastTetra (int index)
int numLastTetrasInCollision ()
int isInLastTetras (Tetra *me)
int updateTetraCutter (Tetra *me, Edge *you, int test)
int moveTetraCutter (Tetra *me, Edge *you, int test)
int finishTetra (Tetra *me)
int CutTetra (Tetra *me, int v[], int caseIdx)
void Menu ()

Static Public Member Functions

static int TestCompare (const void *entry1, const void *entry2)

Public Attributes

int uses_viagra
Nodeclosest_node
int being_grabbed
float prev_grabbing_activation
int IsAScreen

Static Public Attributes

static const char * rcsid = "@(#) $Id: object.cpp,v 1.249 2006/05/30 20:25:19 craig Exp $ $Copyright: (c)2001 National Biocomputation Center, Stanford University $"
static int debug = 0

Protected Types

enum  { NAME_LENGTH = 1024 }
enum  { PATH_LENGTH = 1024 }

Protected Member Functions

void set_default_material_properties ()
Point3Dwhat_force_if (Node *n, Point3D *p)

Static Protected Member Functions

static void MSDChangedCB (int obj_p_in)
static void TextureCoordCB (int obj_p_in)
static void TextureModeCB (int obj_p_in)
static void TextureWrapCB (int obj_p_in)
static void TextureFilterCB (int obj_p_in)
static void MenuValueChangedCB (int obj_p_in)
static void TissueTypeCB (int obj_p_in)
static void DampTypeCB (int obj_p_in)

Protected Attributes

ObjectArrayobjectarray_p
char name [NAME_LENGTH]
char path [PATH_LENGTH]
char child_name [NAME_LENGTH]
object_type type
dynamics_type dynamics
double edgethresh
behavior_type behavior
numerical_method nummethod
texture_env_mode texture_mode
texture_wrap_st texture_wrap
texture_min_mag_filter texture_filter
collision_extent_type collision_extent
collision_force_type collision_force
ReallocableArray
< Face * > 
collision_faces
int being_modified
BoundingSphereNodeboundingSphereRoot
int num_total_collisions
ReallocableArray
< Face * > 
cutting_faces
ReallocableArray
< Edge * > 
cutting_edges
ReallocableArray
< Face * > 
last_faces_in_collision
ReallocableArray
< Tetra * > 
last_tetras_in_collision
BoundingBoxboundingBoxRoot
bool doBoundingBoxRootUpdate
int maxLevelCollisionCheck
ReallocableArray
< CollisionBoxPair > * 
collisionBoxPairs
Sensorsensor_p
Point3D sensor_offset
int linked_part
Timer timer
ReallocableArray< hingehinges
ReallocableArray
< Node * > 
cutPath
ReallocableArray
< Collision_pair
collision_pairs
RigidHingerigidHinge
int visible
int selected
int tip_node
Point3D oldtip
Point3D tipdelta
Point3D oldbase
Point3D basedelta
int do_deform_only_on_grab
int do_preserve_volume
double original_volume
double height
int objextrusions
int Nb_pts_surf
int Nb_edge_surf
int Nb_face_surf
double exlength
int Nb_ex
int extype
int algo
int facesOutside
int facesLayers
int fixLastLayer
Point3D offset
int orient
double length
int n_width
double defcoef
unsigned char * texture
iPoint3D texture_size
NodeArray nodearray
EdgeArray edgearray
FaceArray facearray
TetraArray tetraarray
float mat_ambient [4]
float mat_diffuse [4]
float mat_specular [4]
float mat_shininess [1]
float back_mat_ambient [4]
float back_mat_diffuse [4]
float back_mat_specular [4]
float back_mat_shininess [1]
float drawover_amount
float label_offset
double object_weight
int group_number
int dl_needs_refresh
int dl_id
DisplayMode display_mode
DisplayMode last_display_mode
double new_mass
double new_spring
double new_damp
double new_FSA
GLUIcurrent_attribute_menu

Friends

ostream & operator<< (ostream &os, Object &o)


Detailed Description

Definition at line 69 of file object.h.


Member Enumeration Documentation

enum Object::object_type

Enumerator:
nodes_only 
edges_only 
faces_only 
tetras_only 

Definition at line 78 of file object.h.

enum Object::dynamics_type

Enumerator:
rest 
rigid 
deformable 
articulate 
button 

Definition at line 79 of file object.h.

enum Object::behavior_type

Enumerator:
none 
grabbing 
cutting 
deleting 
poking 
ablating 
cauterizing 
coloring 
quisar_test 
dilating 
beating 
fluid 

Definition at line 80 of file object.h.

enum Object::numerical_method

Enumerator:
euler 
euler_ordered 
runge 
runge_4thorder 
quasi 
quasi_ordered 
bogus 
FSA 
FSAF 

Definition at line 82 of file object.h.

enum Object::collision_extent_type

Enumerator:
no_collisions 
external 
internal 
internal_external 

Definition at line 84 of file object.h.

enum Object::collision_force_type

Enumerator:
normal_force 
penetration_depth_force 

Definition at line 86 of file object.h.

enum Object::texture_env_mode

Enumerator:
modulate 
blend 
decal 
replace 

Definition at line 87 of file object.h.

enum Object::texture_wrap_st

Enumerator:
repeat 
clamp 

Definition at line 88 of file object.h.

enum Object::texture_min_mag_filter

Enumerator:
linear 
nearest 

Definition at line 89 of file object.h.

anonymous enum [protected]

Enumerator:
NAME_LENGTH 

Definition at line 541 of file object.h.

anonymous enum [protected]

Enumerator:
PATH_LENGTH 

Definition at line 542 of file object.h.


Constructor & Destructor Documentation

Object::Object (  ) 

Definition at line 96 of file object.cpp.

Object::~Object (  ) 

Definition at line 174 of file object.cpp.


Member Function Documentation

void Object::setCollisionExtent ( collision_extent_type  extent  )  [inline]

Definition at line 811 of file object.h.

Object::collision_extent_type Object::getCollisionExtent (  )  [inline]

Definition at line 808 of file object.h.

void Object::setCollisionForce ( collision_force_type  collision_force_  )  [inline]

Definition at line 94 of file object.h.

collision_force_type Object::getCollisionForce (  )  [inline]

Definition at line 95 of file object.h.

ReallocableArray<Face*> Object::getCollisionFaces (  )  [inline]

Definition at line 96 of file object.h.

void Object::ConstructCollisions ( void   ) 

Definition at line 7746 of file object.cpp.

void Object::DestructCollisions ( void   ) 

Definition at line 7798 of file object.cpp.

void Object::ResetCollisions (  ) 

Definition at line 7830 of file object.cpp.

void Object::DetectCollisions ( Object other_obj  ) 

Definition at line 7964 of file object.cpp.

void Object::MarkCollisions (  ) 

Definition at line 8054 of file object.cpp.

void Object::ResolveCollisions (  ) 

Definition at line 8103 of file object.cpp.

bool Object::CollidesWith ( Object other_obj  ) 

Definition at line 7913 of file object.cpp.

Point3D Object::CalculateForce ( Face myFace,
Face otherFace 
)

Definition at line 7464 of file object.cpp.

void Object::addEverythingToUpdateList (  ) 

Definition at line 7269 of file object.cpp.

BoundingSphereNode * Object::getBoundingSphereRoot (  )  [inline]

Definition at line 826 of file object.h.

void Object::setBoundingSphereRoot ( BoundingSphereNode rt  )  [inline]

Definition at line 829 of file object.h.

void Object::CreateSphereTree (  ) 

Definition at line 7111 of file object.cpp.

void Object::DestroySphereTree (  ) 

Definition at line 7186 of file object.cpp.

void Object::addToSphereTree ( Face face  ) 

Definition at line 7344 of file object.cpp.

void Object::removeFromSphereTree ( Face face  ) 

Definition at line 7369 of file object.cpp.

void Object::addToSphereTree ( Tetra tetra  ) 

Definition at line 7357 of file object.cpp.

void Object::removeFromSphereTree ( Tetra tetra  ) 

Definition at line 7377 of file object.cpp.

void Object::removeFromCollisionPairs ( Face me  ) 

Definition at line 9883 of file object.cpp.

void Object::removeFromCollisionPairs ( Tetra me  ) 

Definition at line 9893 of file object.cpp.

void Object::addToUpdateList ( Edge addedge  ) 

Definition at line 7211 of file object.cpp.

void Object::addToUpdateList ( Face addface  ) 

Definition at line 7227 of file object.cpp.

void Object::addToUpdateList ( Tetra addtetra  ) 

Definition at line 7251 of file object.cpp.

int Object::ResolveFaceFaceCollisions ( Collision_pair c_p,
Point3D this_haptic_force_p 
)

Definition at line 7494 of file object.cpp.

void Object::ResolveEdgeEdgeCollisions ( Collision_pair c_p  ) 

Definition at line 7721 of file object.cpp.

int Object::getNumTotalCollisions (  )  [inline]

Definition at line 814 of file object.h.

void Object::findNodeNodeCollisions ( Object other  ) 

Definition at line 7385 of file object.cpp.

void Object::findNodeEdgeCollisions ( Object other  ) 

Definition at line 7388 of file object.cpp.

void Object::findNodeFaceCollisions ( Object other  ) 

Definition at line 7391 of file object.cpp.

void Object::findNodeTetraCollisions ( Object other  ) 

Definition at line 7394 of file object.cpp.

void Object::findEdgeEdgeCollisions ( Object other  ) 

Definition at line 7397 of file object.cpp.

void Object::findEdgeFaceCollisions ( Object other  ) 

Definition at line 7412 of file object.cpp.

void Object::findEdgeTetraCollisions ( Object other  ) 

void Object::findFaceFaceCollisions ( Object other  ) 

Definition at line 7421 of file object.cpp.

void Object::findFaceTetraCollisions ( Object other  ) 

Definition at line 7444 of file object.cpp.

void Object::findTetraTetraCollisions ( Object other  ) 

Definition at line 7456 of file object.cpp.

void Object::CollisionPairAdd ( Collision_pair  pair  )  [inline]

Definition at line 817 of file object.h.

int Object::CollisionPairGetNumElements (  )  [inline]

Definition at line 820 of file object.h.

Collision_pair Object::CollisionPairGet ( int  i  )  [inline]

Definition at line 823 of file object.h.

BoundingBox* Object::getBoundingBoxRoot (  )  [inline]

Definition at line 149 of file object.h.

void Object::setBoundingBoxRoot ( BoundingBox boundingBoxRoot_  )  [inline]

Definition at line 150 of file object.h.

bool Object::isDoBoundingBoxRootUpdate (  )  [inline]

Definition at line 151 of file object.h.

void Object::setDoBoundingBoxRootUpdate ( bool  doUpdate_  )  [inline]

Definition at line 152 of file object.h.

int Object::getMaxLevelCollisionCheck (  )  [inline]

Definition at line 153 of file object.h.

void Object::setMaxLevelCollisionCheck ( int  maxLevel_  )  [inline]

Definition at line 154 of file object.h.

void Object::Init ( ObjectArray objectarray_in,
char *  name 
)

Reimplemented in Screen.

Definition at line 192 of file object.cpp.

NodeArray* Object::getNodeArray ( void   )  [inline]

Definition at line 164 of file object.h.

EdgeArray* Object::getEdgeArray (  )  [inline]

Definition at line 165 of file object.h.

FaceArray* Object::getFaceArray (  )  [inline]

Definition at line 166 of file object.h.

TetraArray* Object::getTetraArray (  )  [inline]

Definition at line 167 of file object.h.

int Object::Read ( char *  filename  ) 

Definition at line 1336 of file object.cpp.

int Object::Read ( char *  dirname_part,
char *  filename_part 
)

Definition at line 1323 of file object.cpp.

int Object::ReadAmira ( FILE *  fp  ) 

Definition at line 248 of file object.cpp.

int Object::ReadMesh ( FILE *  fp  ) 

Definition at line 287 of file object.cpp.

int Object::ReadSMF ( FILE *  fp  ) 

Definition at line 349 of file object.cpp.

int Object::ReadOBJ ( FILE *  fp  ) 

Definition at line 387 of file object.cpp.

int Object::ReadSOBJ ( FILE *  fp  ) 

Definition at line 436 of file object.cpp.

int Object::ReadFRD ( FILE *  fp  ) 

Definition at line 475 of file object.cpp.

int Object::ReadVRML ( FILE *  fp,
int  create_subobjects = 1 
)

Definition at line 620 of file object.cpp.

int Object::ReadVRMLObject ( FILE *  fp,
Matrix  original_xform,
int  create_subobjects = 1,
int  is_vrml2 = 0 
)

Definition at line 652 of file object.cpp.

int Object::ReadCyberware ( FILE *  fp  ) 

Definition at line 1168 of file object.cpp.

void Object::ParseAttribute ( char *  line  ) 

Definition at line 1368 of file object.cpp.

void Object::CreateThread ( double  length,
double  node_spacing,
int  orientation,
Point3D  offset,
double  edgethresh_in = 0.10,
int  first_seg = 0 
)

Definition at line 3882 of file object.cpp.

void Object::CreateEdgeRing ( Point3D  center,
double  radius,
int  numedges,
double  edgethresh_in 
)

Definition at line 3953 of file object.cpp.

void Object::CreateTestLine ( int  num_segs,
double  length,
Point3D  offset,
int  fix_end 
)

Definition at line 3350 of file object.cpp.

void Object::CreateEquiMesh ( int  numlevels,
double  edgelength 
)

Definition at line 3400 of file object.cpp.

void Object::CreateTube ( char  orientation,
int  num_radii,
int  num_rings,
double  radius,
double  length,
Point3D  offset,
int  diag1 = 0,
int  diag2 = 0,
int  fix_num = 0,
double  inner_radius = -1.0,
int  cross1 = 0,
int  cross2 = 0,
int  capped = 0,
double  sc1 = 1.0,
double  sc2 = 1.0,
double  rl_out = -1.0,
double  rl_in = -1.0,
double  rl_betw = -1.0 
)

Definition at line 3459 of file object.cpp.

int Object::CreateSphere ( int  numlayers,
double  radius,
double  inner = -1.0 
)

Definition at line 3741 of file object.cpp.

void Object::CreatePlane ( double  x_length,
double  y_length,
int  x_steps,
int  y_steps,
Point3D  offset,
char  orientation = 'z' 
)

Definition at line 4052 of file object.cpp.

void Object::CreateForcep ( double  length,
double  width 
)

Definition at line 4126 of file object.cpp.

void Object::CreateHexSurfaceDeformedMenu ( void   ) 

Definition at line 4492 of file object.cpp.

void Object::CreateHexSurfaceDeformed ( void   ) 

Definition at line 4553 of file object.cpp.

void Object::CreateEndoscope ( double  length  ) 

Definition at line 4196 of file object.cpp.

void Object::CreateNeedle ( double  length,
double  width,
Point3D  offset 
)

Definition at line 4269 of file object.cpp.

void Object::CreateGrabby ( double  length,
double  width,
Point3D  offset 
)

Definition at line 4313 of file object.cpp.

void Object::CreateCutterTool ( float  scalefactor  ) 

Definition at line 4005 of file object.cpp.

void Object::CreatePlaneTool ( double  width,
double  height,
Point3D  offset 
)

Definition at line 4363 of file object.cpp.

void Object::CreateBox ( double  width,
double  height,
double  depth 
)

Definition at line 4427 of file object.cpp.

void Object::CreateBox2 ( int  xlayers,
int  ylayers,
int  zlayers,
double  length,
int  outlayers,
double  sc_out = 0,
double  sc_in = 0 
)

Definition at line 4687 of file object.cpp.

void Object::CreateNodeCloud ( int  num_nodes,
int  radius,
Point3D  offset 
)

Definition at line 3378 of file object.cpp.

char * Object::getName (  )  [inline]

Definition at line 682 of file object.h.

char * Object::getPath (  )  [inline]

Definition at line 685 of file object.h.

char * Object::getChildName ( void   )  [inline]

Definition at line 688 of file object.h.

void Object::setName ( char *  new_name  )  [inline]

Definition at line 691 of file object.h.

void Object::setPath ( char *  filepath  )  [inline]

Definition at line 694 of file object.h.

void Object::setChildName ( char *  new_child_name  )  [inline]

Definition at line 697 of file object.h.

double Object::getTime (  )  [inline]

Definition at line 700 of file object.h.

void Object::resetTimer (  )  [inline]

Definition at line 703 of file object.h.

ObjectArray * Object::getObjectArray (  )  [inline]

Definition at line 712 of file object.h.

void Object::setType ( Object::object_type  t  )  [inline]

Definition at line 709 of file object.h.

Object::object_type Object::getType (  )  [inline]

Definition at line 706 of file object.h.

Point3D Object::getCenter (  )  [inline]

Definition at line 718 of file object.h.

double Object::getRadius (  )  [inline]

Definition at line 715 of file object.h.

void Object::Select (  )  [inline]

Definition at line 790 of file object.h.

void Object::Unselect (  )  [inline]

Definition at line 793 of file object.h.

void Object::SetVisible ( int  on  )  [inline]

Definition at line 796 of file object.h.

int Object::isVisible (  )  [inline]

Definition at line 799 of file object.h.

int Object::intersectsBoundingSphere ( Object test_obj  ) 

Definition at line 3270 of file object.cpp.

void Object::getBoundingBox ( Point3D min_p,
Point3D max_p 
) [inline]

Definition at line 679 of file object.h.

int Object::intersectsBoundingBox ( Object obj,
double  e = 0.0 
)

Definition at line 3290 of file object.cpp.

double Object::distanceToBoundingBox ( Point3D  pt  ) 

Definition at line 2123 of file object.cpp.

void Object::setTexture ( char *  filename = NULL  ) 

Definition at line 1827 of file object.cpp.

void Object::setTextureCoords ( Node::texture_coord_type  t  ) 

Definition at line 1874 of file object.cpp.

unsigned char * Object::getTexture (  )  [inline]

Definition at line 787 of file object.h.

void Object::moveTexture ( Point3D  translation,
Point3D  scaling 
)

Definition at line 1880 of file object.cpp.

texture_wrap_st Object::getTextureWrap (  )  [inline]

Definition at line 268 of file object.h.

void Object::setTextureWrap ( texture_wrap_st  texture_wrap_  )  [inline]

Definition at line 269 of file object.h.

Object::dynamics_type Object::getDynamics (  )  [inline]

Definition at line 721 of file object.h.

void Object::setDynamics ( dynamics_type  d  )  [inline]

Definition at line 724 of file object.h.

double Object::getEdgeThresh (  )  [inline]

Definition at line 727 of file object.h.

Object::behavior_type Object::getBehavior (  )  [inline]

Definition at line 730 of file object.h.

void Object::setBehavior ( behavior_type  b  )  [inline]

Definition at line 733 of file object.h.

Object::numerical_method Object::getNumMethod (  )  [inline]

Definition at line 736 of file object.h.

void Object::setNumMethod ( numerical_method  n  )  [inline]

Definition at line 739 of file object.h.

void Object::setAmbientColor ( float  red,
float  green,
float  blue,
float  alpha 
)

Definition at line 1717 of file object.cpp.

float * Object::getAmbientColor (  )  [inline]

Definition at line 742 of file object.h.

void Object::setDiffuseColor ( float  red,
float  green,
float  blue,
float  alpha 
)

Definition at line 1729 of file object.cpp.

float * Object::getDiffuseColor (  )  [inline]

Definition at line 745 of file object.h.

void Object::setSpecularColor ( float  red,
float  green,
float  blue,
float  alpha 
)

Definition at line 1751 of file object.cpp.

float * Object::getSpecularColor (  )  [inline]

Definition at line 748 of file object.h.

void Object::setShininess ( float  s  ) 

Definition at line 1763 of file object.cpp.

float * Object::getShininess (  )  [inline]

Definition at line 751 of file object.h.

void Object::setBackAmbientColor ( float  red,
float  green,
float  blue,
float  alpha 
)

Definition at line 1772 of file object.cpp.

float * Object::getBackAmbientColor (  )  [inline]

Definition at line 754 of file object.h.

void Object::setBackDiffuseColor ( float  red,
float  green,
float  blue,
float  alpha 
)

Definition at line 1784 of file object.cpp.

float * Object::getBackDiffuseColor (  )  [inline]

Definition at line 757 of file object.h.

void Object::setBackSpecularColor ( float  red,
float  green,
float  blue,
float  alpha 
)

Definition at line 1804 of file object.cpp.

float * Object::getBackSpecularColor (  )  [inline]

Definition at line 760 of file object.h.

void Object::setBackShininess ( float  s  ) 

Definition at line 1816 of file object.cpp.

float * Object::getBackShininess (  )  [inline]

Definition at line 763 of file object.h.

DisplayMode Object::getDisplayMode (  )  [inline]

Definition at line 838 of file object.h.

void Object::setDisplayMode ( DisplayMode  dm_in  )  [inline]

Definition at line 841 of file object.h.

void Object::setObjectWeight ( double  w  )  [inline]

Definition at line 866 of file object.h.

double Object::getObjectWeight (  )  [inline]

Definition at line 869 of file object.h.

void Object::setLabelOffset ( float  new_lo  )  [inline]

Definition at line 805 of file object.h.

void Object::PrintInfo (  ) 

Definition at line 6237 of file object.cpp.

void Object::getPosAngle ( Point3D pos_p,
Point3D rot_p 
)

Definition at line 2077 of file object.cpp.

double Object::getVolume (  ) 

Definition at line 6221 of file object.cpp.

double Object::getSurfaceArea (  ) 

Definition at line 6224 of file object.cpp.

void Object::setExtrusionParameters ( double  exlength,
int  Nb_ex,
int  extype,
int  algo,
int  facesOutside,
int  facesLayers,
int  fixLastLayer,
int  Nb_face_surf,
int  Nb_pts_surf,
int  Nb_edge_surf 
)

Definition at line 9555 of file object.cpp.

void Object::getExtrusionParameters ( double *  exlength,
int *  Nb_ex,
int *  extype,
int *  algo,
int *  facesOutside,
int *  facesLayers,
int *  fixLastLayer,
int *  Nb_face_surf,
int *  Nb_pts_surf,
int *  Nb_edge_surf 
)

Definition at line 9564 of file object.cpp.

int Object::getNb_Face_Surf (  ) 

Definition at line 6227 of file object.cpp.

void Object::ForceDisplayUpdate (  )  [inline]

Definition at line 802 of file object.h.

void Object::flipFaces (  ) 

Definition at line 9534 of file object.cpp.

void Object::Update (  ) 

Definition at line 1894 of file object.cpp.

void Object::tipUpdate (  ) 

Definition at line 1886 of file object.cpp.

int Object::getGroupNumber (  )  [inline]

Definition at line 844 of file object.h.

void Object::setGroupNumber ( int  group  )  [inline]

Definition at line 847 of file object.h.

void Object::Draw (  ) 

Reimplemented in Screen.

Definition at line 2656 of file object.cpp.

void Object::DrawGeometry (  ) 

Reimplemented in Screen.

Definition at line 2666 of file object.cpp.

void Object::DrawBoundingBox (  ) 

Definition at line 3098 of file object.cpp.

void Object::DrawLabel (  ) 

Definition at line 3131 of file object.cpp.

void Object::DrawPrincipalAxes (  ) 

Definition at line 3139 of file object.cpp.

void Object::GeometryReplicate ( GeometryReplicator gr  ) 

Definition at line 3181 of file object.cpp.

Node * Object::findClosestNode ( Point3D  pt  ) 

Definition at line 3311 of file object.cpp.

double Object::findClosestNodesBetweenObjects ( Object other_obj,
Node **  our_node_p,
Node **  other_node_p 
)

Definition at line 3334 of file object.cpp.

void Object::ShrinkWrap ( Object other_obj  ) 

Definition at line 8844 of file object.cpp.

void Object::ElasticAdjustment ( ObjectArray universe_p,
Object current_object 
)

Definition at line 5590 of file object.cpp.

void Object::TieNode0 ( Object other_obj  ) 

Definition at line 5595 of file object.cpp.

void Object::TieObject ( Object other_obj  ) 

Definition at line 8854 of file object.cpp.

void Object::Join ( Object other_obj  ) 

Definition at line 6123 of file object.cpp.

void Object::MergeSubparts ( double  dist  ) 

Definition at line 6172 of file object.cpp.

void Object::ExtrusionMenu ( void   ) 

Definition at line 4956 of file object.cpp.

void Object::PerformExtrusion ( int  glui_p  ) 

void Object::Extrusion ( Object obj  ) 

Definition at line 5012 of file object.cpp.

void Object::SaveAsAmira ( ostream &  os  ) 

Definition at line 5630 of file object.cpp.

void Object::SaveAsMesh ( ostream &  os  ) 

Definition at line 5641 of file object.cpp.

void Object::SaveAsFRD ( ostream &  os  ) 

Definition at line 5659 of file object.cpp.

void Object::SaveAsSMF ( ostream &  os  ) 

Definition at line 5704 of file object.cpp.

void Object::SaveAsDXF ( ostream &  os  ) 

Definition at line 5716 of file object.cpp.

void Object::SaveAsVRML1 ( ostream &  os  ) 

Definition at line 5749 of file object.cpp.

void Object::SaveAsVRML2 ( ostream &  os  ) 

Definition at line 5822 of file object.cpp.

void Object::SaveAsSTL ( ostream &  os  ) 

Definition at line 5904 of file object.cpp.

void Object::HandleBehavior (  ) 

Definition at line 2161 of file object.cpp.

void Object::HandleInteractiveBehavior (  ) 

Definition at line 2174 of file object.cpp.

void Object::HandleSpontaneousBehavior (  ) 

Definition at line 2595 of file object.cpp.

void Object::setDoDeformOnlyOnGrab ( int  i  )  [inline]

Definition at line 872 of file object.h.

void Object::PreserveVolume (  ) 

Definition at line 10225 of file object.cpp.

void Object::CenterObject (  ) 

Definition at line 5917 of file object.cpp.

void Object::Move ( Point3D  motion_vector  ) 

Definition at line 5922 of file object.cpp.

int Object::ColorConnectedComponents (  ) 

Definition at line 5931 of file object.cpp.

int Object::SpreadOutColor (  ) 

Definition at line 5948 of file object.cpp.

void Object::ResetColors ( int  color = 0  ) 

Definition at line 6116 of file object.cpp.

void Object::SplitColor ( Object tool  ) 

Definition at line 2099 of file object.cpp.

void Object::SplitPieces (  ) 

Definition at line 5963 of file object.cpp.

void Object::DeleteNodesOfColor ( int  color  ) 

Definition at line 2114 of file object.cpp.

void Object::ColorFacesUsingMarkers ( int  color,
Node **  markers,
int  nummarkers 
)

Definition at line 6508 of file object.cpp.

void Object::FillInColors ( int  color  ) 

Definition at line 6584 of file object.cpp.

void Object::FixNodesOfColor ( int  color  ) 

Definition at line 6726 of file object.cpp.

void Object::ColorNodesWithinBoundingBox ( Point3D  min,
Point3D  max,
int  color 
)

Definition at line 6596 of file object.cpp.

void Object::ReflectMesh ( int  axis,
double  value 
)

Definition at line 6191 of file object.cpp.

int Object::WalkGreedyPathUsingNodes ( Node start,
Node end,
Node **  path,
int  max 
)

Definition at line 6461 of file object.cpp.

void Object::DuplicatePath ( Node **  path,
int  num_nodes_on_path 
)

Definition at line 6268 of file object.cpp.

void Object::ColorPath ( int  color,
Node **  path,
int  num_nodes_on_path 
)

Definition at line 6491 of file object.cpp.

void Object::SanityCheck (  ) 

Definition at line 6604 of file object.cpp.

void Object::Cleanup (  ) 

Definition at line 6614 of file object.cpp.

double Object::CumulativeDistanceBetweenObjects ( Object obj_p  ) 

Definition at line 6623 of file object.cpp.

void Object::RegisterToGivenObject ( Object obj_p  ) 

Definition at line 6629 of file object.cpp.

void Object::Scale ( double  value  ) 

Definition at line 6731 of file object.cpp.

void Object::ScaleByNormal ( double  value  ) 

Definition at line 6744 of file object.cpp.

void Object::ReorderFacesBasedOnViewer (  ) 

Definition at line 7092 of file object.cpp.

void Object::Refresh (  ) 

Definition at line 9573 of file object.cpp.

void Object::Spread ( double  kx,
double  ky,
double  kz 
)

Definition at line 9579 of file object.cpp.

void Object::Translate ( double  kx,
double  ky,
double  kz 
)

Definition at line 9587 of file object.cpp.

void Object::Rotate90 (  )  [inline]

Definition at line 421 of file object.h.

void Object::Rotate ( int  axis = 0,
double  t = PI/2 
) [inline]

Definition at line 850 of file object.h.

void Object::LinkToSensor ( Sensor sensor_p  ) 

Definition at line 5603 of file object.cpp.

int Object::isLinked (  )  [inline]

Definition at line 766 of file object.h.

Sensor * Object::getSensor (  )  [inline]

Definition at line 769 of file object.h.

Point3D Object::getSensorOffset (  )  [inline]

Definition at line 772 of file object.h.

void Object::setSensorOffset ( Point3D  offset  )  [inline]

Definition at line 775 of file object.h.

Point3D Object::getTip (  )  [inline]

Definition at line 778 of file object.h.

void Object::setTip ( int  index  )  [inline]

Definition at line 781 of file object.h.

Point3D Object::getTipDelta (  )  [inline]

Definition at line 784 of file object.h.

double Object::getHeight (  )  [inline]

Definition at line 875 of file object.h.

void Object::setHeight ( double  height  )  [inline]

Definition at line 878 of file object.h.

int Object::getLinkedPart (  )  [inline]

Definition at line 832 of file object.h.

void Object::setLinkedPart ( int  lp  )  [inline]

Definition at line 835 of file object.h.

Point3D Object::getHingePoint (  ) 

void Object::setHingePoint ( Point3D  p  ) 

void Object::setMaxOpen ( Point3D  angles  ) 

void Object::setMaxClosed ( Point3D  angles  ) 

void Object::addToHinges ( int  si,
int  ai,
Point3D  r,
double  maxopen,
double  maxclosed,
int  col0,
int  col1,
int  col2 
)

Definition at line 1667 of file object.cpp.

RigidHinge * Object::getRigidHinge (  )  [inline]

Definition at line 881 of file object.h.

void Object::setRigidHinge ( RigidHinge newRigidHinge  )  [inline]

Definition at line 884 of file object.h.

float Object::getRigidHingeAngle (  )  [inline]

Definition at line 887 of file object.h.

void Object::LinkSubpartToSensor ( int  subpart,
Sensor sensor_p 
)

Definition at line 5624 of file object.cpp.

void Object::xformHingedObject (  ) 

Definition at line 4855 of file object.cpp.

void Object::xformObject (  ) 

Definition at line 4802 of file object.cpp.

void Object::xformCopies ( ReallocableArray< Point3D > &  tempnodepos,
ReallocableArray< int >  tempnodecol,
int  part,
Matrix  m,
Point3D  center_offset,
Point3D  origin 
)

Definition at line 4929 of file object.cpp.

int Object::TestCompare ( const void *  entry1,
const void *  entry2 
) [static]

Definition at line 6770 of file object.cpp.

void Object::Decimation ( int  typeOfDecimation,
int  amountOfDecimation,
double  value 
)

Definition at line 6811 of file object.cpp.

void Object::Triangulate1 ( int  n,
Node polygon[],
Point3D  normal,
int  faceIndex[] 
)

Definition at line 6935 of file object.cpp.

void Object::TriRecurse ( int  n,
Node polyInit[],
Node poly[],
int  labels[],
Point3D  normal,
int  faceIndex[],
int *  numFace_p,
int *  test 
)

Definition at line 6968 of file object.cpp.

double Object::EdgeStats (  ) 

Definition at line 10048 of file object.cpp.

void Object::EdgeCollapse ( double  limit  ) 

Definition at line 10064 of file object.cpp.

void Object::CutUsingMarkers ( Node **  markers,
int  nummarkers 
)

Definition at line 6301 of file object.cpp.

void Object::CuttingByDeleting ( Object cutter  ) 

Definition at line 7043 of file object.cpp.

void Object::addToCuttingFaces ( Face face  ) 

Definition at line 9596 of file object.cpp.

Face * Object::getCuttingFace ( int  index  )  [inline]

Definition at line 863 of file object.h.

int Object::numCuttingFaces (  ) 

int Object::isACuttingFace ( Face you  ) 

Definition at line 9615 of file object.cpp.

void Object::addToCuttingEdges ( Edge edge  ) 

Definition at line 9604 of file object.cpp.

Edge* Object::getCuttingEdge ( int  index  ) 

int Object::numCuttingEdges (  ) 

int Object::isACuttingEdge ( Edge you  ) 

Definition at line 9623 of file object.cpp.

void Object::addToCutPath ( Node intersection  ) 

Definition at line 9631 of file object.cpp.

void Object::clearCutPath (  ) 

int Object::numCutPath (  ) 

Node * Object::getCutPathNode ( int  index  ) 

Definition at line 9639 of file object.cpp.

int Object::testEdge ( Point3D  entPt,
Edge myedge,
Edge you,
int  test 
)

Definition at line 9664 of file object.cpp.

int Object::testFace ( Face myface,
Edge you 
)

Definition at line 9775 of file object.cpp.

int Object::inCollisionWithMyCuttingEdges ( Edge other_edge  ) 

Definition at line 8809 of file object.cpp.

int Object::inCollisionWithMyCuttingEdges ( Face other_face  ) 

Definition at line 8826 of file object.cpp.

int Object::inCollisionWithMyCuttingFaces ( Edge other_edge  ) 

Definition at line 8778 of file object.cpp.

int Object::inCollisionWithMyCuttingFaces ( Face other_face  ) 

Definition at line 8793 of file object.cpp.

void Object::addToLastFaces ( Face me  ) 

Definition at line 9647 of file object.cpp.

Face * Object::getLastFace ( int  index  )  [inline]

Definition at line 857 of file object.h.

int Object::numLastFacesInCollision (  )  [inline]

Definition at line 860 of file object.h.

int Object::isInLastFaces ( Face me  ) 

Definition at line 9656 of file object.cpp.

int Object::testEdges ( Face me,
Edge you,
int  test 
)

Definition at line 9742 of file object.cpp.

int Object::updateFaceCutter ( Face me,
Edge you,
int  test 
)

Definition at line 9824 of file object.cpp.

int Object::moveFaceCutter ( Face me,
Edge you,
int  test 
)

Definition at line 9839 of file object.cpp.

int Object::finishFace ( Face me  ) 

Definition at line 9859 of file object.cpp.

int Object::CutFace ( Face me,
int  v[],
int  caseIdx 
)

void Object::addToLastTetras ( Tetra me  ) 

Tetra* Object::getLastTetra ( int  index  ) 

int Object::numLastTetrasInCollision (  ) 

int Object::isInLastTetras ( Tetra me  ) 

int Object::updateTetraCutter ( Tetra me,
Edge you,
int  test 
)

int Object::moveTetraCutter ( Tetra me,
Edge you,
int  test 
)

int Object::finishTetra ( Tetra me  ) 

int Object::CutTetra ( Tetra me,
int  v[],
int  caseIdx 
)

void Object::Menu (  ) 

Definition at line 9020 of file object.cpp.

void Object::set_default_material_properties (  )  [protected]

Definition at line 201 of file object.cpp.

void Object::MSDChangedCB ( int  obj_p_in  )  [static, protected]

Definition at line 8931 of file object.cpp.

void Object::TextureCoordCB ( int  obj_p_in  )  [static, protected]

Definition at line 8943 of file object.cpp.

void Object::TextureModeCB ( int  obj_p_in  )  [static, protected]

Definition at line 8951 of file object.cpp.

void Object::TextureWrapCB ( int  obj_p_in  )  [static, protected]

Definition at line 8959 of file object.cpp.

void Object::TextureFilterCB ( int  obj_p_in  )  [static, protected]

Definition at line 8967 of file object.cpp.

void Object::MenuValueChangedCB ( int  obj_p_in  )  [static, protected]

Definition at line 8974 of file object.cpp.

void Object::TissueTypeCB ( int  obj_p_in  )  [static, protected]

Definition at line 8981 of file object.cpp.

void Object::DampTypeCB ( int  obj_p_in  )  [static, protected]

Definition at line 9014 of file object.cpp.

Point3D * Object::what_force_if ( Node n,
Point3D p 
) [protected]

Definition at line 8863 of file object.cpp.


Friends And Related Function Documentation

ostream& operator<< ( ostream &  os,
Object o 
) [friend]

Definition at line 6757 of file object.cpp.


Member Data Documentation

const char * Object::rcsid = "@(#) $Id: object.cpp,v 1.249 2006/05/30 20:25:19 craig Exp $ $Copyright: (c)2001 National Biocomputation Center, Stanford University $" [static]

Reimplemented in Screen.

Definition at line 74 of file object.h.

int Object::debug = 0 [static]

Reimplemented in Screen.

Definition at line 75 of file object.h.

int Object::uses_viagra

Definition at line 221 of file object.h.

Node* Object::closest_node

Definition at line 223 of file object.h.

int Object::being_grabbed

Definition at line 224 of file object.h.

float Object::prev_grabbing_activation

Definition at line 225 of file object.h.

int Object::IsAScreen

Definition at line 251 of file object.h.

ObjectArray* Object::objectarray_p [protected]

Definition at line 539 of file object.h.

char Object::name[NAME_LENGTH] [protected]

Definition at line 543 of file object.h.

char Object::path[PATH_LENGTH] [protected]

Definition at line 544 of file object.h.

char Object::child_name[NAME_LENGTH] [protected]

Definition at line 545 of file object.h.

object_type Object::type [protected]

Definition at line 547 of file object.h.

dynamics_type Object::dynamics [protected]

Definition at line 548 of file object.h.

double Object::edgethresh [protected]

Definition at line 549 of file object.h.

behavior_type Object::behavior [protected]

Definition at line 550 of file object.h.

numerical_method Object::nummethod [protected]

Definition at line 551 of file object.h.

texture_env_mode Object::texture_mode [protected]

Definition at line 552 of file object.h.

texture_wrap_st Object::texture_wrap [protected]

Definition at line 553 of file object.h.

texture_min_mag_filter Object::texture_filter [protected]

Definition at line 554 of file object.h.

collision_extent_type Object::collision_extent [protected]

Definition at line 555 of file object.h.

collision_force_type Object::collision_force [protected]

Definition at line 556 of file object.h.

ReallocableArray<Face*> Object::collision_faces [protected]

Definition at line 557 of file object.h.

int Object::being_modified [protected]

Definition at line 558 of file object.h.

BoundingSphereNode* Object::boundingSphereRoot [protected]

Definition at line 562 of file object.h.

int Object::num_total_collisions [protected]

Definition at line 563 of file object.h.

ReallocableArray<Face*> Object::cutting_faces [protected]

Definition at line 564 of file object.h.

ReallocableArray<Edge*> Object::cutting_edges [protected]

Definition at line 565 of file object.h.

ReallocableArray<Face*> Object::last_faces_in_collision [protected]

Definition at line 566 of file object.h.

ReallocableArray<Tetra*> Object::last_tetras_in_collision [protected]

Definition at line 567 of file object.h.

BoundingBox* Object::boundingBoxRoot [protected]

Definition at line 570 of file object.h.

bool Object::doBoundingBoxRootUpdate [protected]

Definition at line 571 of file object.h.

int Object::maxLevelCollisionCheck [protected]

Definition at line 572 of file object.h.

ReallocableArray<CollisionBoxPair>* Object::collisionBoxPairs [protected]

Definition at line 573 of file object.h.

Sensor* Object::sensor_p [protected]

Definition at line 576 of file object.h.

Point3D Object::sensor_offset [protected]

Definition at line 577 of file object.h.

int Object::linked_part [protected]

Definition at line 578 of file object.h.

Timer Object::timer [protected]

Definition at line 581 of file object.h.

ReallocableArray<hinge> Object::hinges [protected]

Definition at line 583 of file object.h.

ReallocableArray<Node*> Object::cutPath [protected]

Definition at line 585 of file object.h.

ReallocableArray<Collision_pair> Object::collision_pairs [protected]

Definition at line 588 of file object.h.

RigidHinge* Object::rigidHinge [protected]

Definition at line 591 of file object.h.

int Object::visible [protected]

Definition at line 594 of file object.h.

int Object::selected [protected]

Definition at line 595 of file object.h.

int Object::tip_node [protected]

Definition at line 598 of file object.h.

Point3D Object::oldtip [protected]

Definition at line 599 of file object.h.

Point3D Object::tipdelta [protected]

Definition at line 600 of file object.h.

Point3D Object::oldbase [protected]

Definition at line 601 of file object.h.

Point3D Object::basedelta [protected]

Definition at line 602 of file object.h.

int Object::do_deform_only_on_grab [protected]

Definition at line 603 of file object.h.

int Object::do_preserve_volume [protected]

Definition at line 605 of file object.h.

double Object::original_volume [protected]

Definition at line 606 of file object.h.

double Object::height [protected]

Definition at line 609 of file object.h.

int Object::objextrusions [protected]

Definition at line 612 of file object.h.

int Object::Nb_pts_surf [protected]

Definition at line 613 of file object.h.

int Object::Nb_edge_surf [protected]

Definition at line 613 of file object.h.

int Object::Nb_face_surf [protected]

Definition at line 613 of file object.h.

double Object::exlength [protected]

Definition at line 614 of file object.h.

int Object::Nb_ex [protected]

Definition at line 615 of file object.h.

int Object::extype [protected]

Definition at line 615 of file object.h.

int Object::algo [protected]

Definition at line 615 of file object.h.

int Object::facesOutside [protected]

Definition at line 615 of file object.h.

int Object::facesLayers [protected]

Definition at line 615 of file object.h.

int Object::fixLastLayer [protected]

Definition at line 615 of file object.h.

Point3D Object::offset [protected]

Definition at line 618 of file object.h.

int Object::orient [protected]

Definition at line 618 of file object.h.

double Object::length [protected]

Definition at line 618 of file object.h.

int Object::n_width [protected]

Definition at line 618 of file object.h.

double Object::defcoef [protected]

Definition at line 618 of file object.h.

unsigned char* Object::texture [protected]

Definition at line 621 of file object.h.

iPoint3D Object::texture_size [protected]

Definition at line 622 of file object.h.

NodeArray Object::nodearray [protected]

Definition at line 625 of file object.h.

EdgeArray Object::edgearray [protected]

Definition at line 626 of file object.h.

FaceArray Object::facearray [protected]

Definition at line 627 of file object.h.

TetraArray Object::tetraarray [protected]

Definition at line 628 of file object.h.

float Object::mat_ambient[4] [protected]

Definition at line 631 of file object.h.

float Object::mat_diffuse[4] [protected]

Definition at line 632 of file object.h.

float Object::mat_specular[4] [protected]

Definition at line 633 of file object.h.

float Object::mat_shininess[1] [protected]

Definition at line 634 of file object.h.

float Object::back_mat_ambient[4] [protected]

Definition at line 636 of file object.h.

float Object::back_mat_diffuse[4] [protected]

Definition at line 637 of file object.h.

float Object::back_mat_specular[4] [protected]

Definition at line 638 of file object.h.

float Object::back_mat_shininess[1] [protected]

Definition at line 639 of file object.h.

float Object::drawover_amount [protected]

Definition at line 641 of file object.h.

float Object::label_offset [protected]

Definition at line 642 of file object.h.

double Object::object_weight [protected]

Definition at line 644 of file object.h.

int Object::group_number [protected]

Definition at line 647 of file object.h.

int Object::dl_needs_refresh [protected]

Definition at line 650 of file object.h.

int Object::dl_id [protected]

Definition at line 651 of file object.h.

DisplayMode Object::display_mode [protected]

Definition at line 652 of file object.h.

DisplayMode Object::last_display_mode [protected]

Definition at line 653 of file object.h.

double Object::new_mass [protected]

Definition at line 659 of file object.h.

double Object::new_spring [protected]

Definition at line 659 of file object.h.

double Object::new_damp [protected]

Definition at line 659 of file object.h.

double Object::new_FSA [protected]

Definition at line 659 of file object.h.

GLUI* Object::current_attribute_menu [protected]

Definition at line 676 of file object.h.


The documentation for this class was generated from the following files:
Generated on Thu Aug 30 11:04:59 2007 for SPRING Mac by  doxygen 1.5.3