All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

VisualizationBase Class CATCGRSetting

CATCGRSetting
 

Usage: you must use this class as is. You should never derive it.


public class CATCGRSetting

class to specify what kind of data belonging to a graphical representation we want to store in a CGR file.


Constructor and Destructor Index


o CATCGRSetting(CATCGRSetting*)
Copy constructor.
o CATCGRSetting(int)
Constructs a setting to specify the graphical data type we want to store in a CGR file.
o ~CATCGRSetting()

Method Index


o Get2DLineicFlag()
Gets the 2Dlineic flag.
o GetAxisFlag()
Gets the axis flag.
o GetDemoFlag()
Gets the demo flag.
o GetEdgesFlag()
Gets the edges flag.
o GetLineicFlag()
Gets the lineic flag.
o GetNo3DCustomRepFlag()
Gets the "No CAT3DCustomRep" flag.
o GetNoIsoparsFlag()
Gets the isopars flag.
o GetNoLodsFlag()
Gets the nolod flag.
o GetSetting()
Gets the setting.
o GetShowAndNoShowFlag()
Gets the "show and no show" flag.
o GetShowFreeModeFlag()
Gets the "show and no show" flag.
o GetTextureFlag()
Gets the texture flag.
o Set2DLineicFlag(int)
Sets the 2Dlineic flag to "on" or "off".
o SetAxisFlag(int)
Sets the axis flag to "on" or "off" .
o SetDemoFlag(int)
Sets the demo flag to "on" or "off".
o SetEdgesFlag(int)
Sets the edges flag to "on" or "off".
o SetLineicFlag(int)
Sets the lineic flag to "on" or "off".
o SetNo3DCustomRepFlag(int)
Sets the "no CAT3DCustomRep" flag to "on" or "off".
o SetNoIsoparsFlag(int)
Sets the isopars flag to "on" or "off".
o SetNoLodsFlag(int)
Sets the nolod flag to "on" or "off".
o SetSetting(int)
Sets the setting.
o SetShowAndNoShowFlag(int)
Sets the "show and no show" flag to "on" or "off" .
o SetShowFreeModeFlag(int)
Sets the "show free mode" flag to "on" or "off" .
o SetTextureFlag(int)
Sets the texture flag to "on" or "off" .

Constructor and Destructor


o CATCGRSetting
public CATCGRSetting(CATCGRSetting* ipBrother)
Copy constructor.
o CATCGRSetting
public CATCGRSetting(int iSetting= EDGES | TEXTURE)
Constructs a setting to specify the graphical data type we want to store in a CGR file.
Parameters:
iSetting
The setting we want. This integer is obtained by combining the flags defined above. For example, if you need to save your graphical representation in a CGR file, with its edges, its texture, the axis, but without the CAT3DCustomRep that could be in the scene, you have to specify the following setting :
 EDGES | TEXTURE | AXIS | NO_3DCUSTOMREP 
. The default value is
 EDGES | TEXTURE 
.
o ~CATCGRSetting
public virtual ~CATCGRSetting()

Methods


o Get2DLineicFlag
public int Get2DLineicFlag()
Gets the 2Dlineic flag.
Returns:
1 means that the 2D lineic informations are stored int the CGR file. 0 means the contrary.
o GetAxisFlag
public int GetAxisFlag()
Gets the axis flag.
Returns:
1 means that axes are to be stored in the CGR file. 0 means the contrary.
o GetDemoFlag
public int GetDemoFlag()
Gets the demo flag.
Returns:
1 means that the CGR file is a demo file. 0 means the contrary.
o GetEdgesFlag
public int GetEdgesFlag()
Gets the edges flag.
Returns:
1 means that edges are to be stored in the CGR file. 0 means the contrary.
o GetLineicFlag
public int GetLineicFlag()
Gets the lineic flag.
Returns:
1 means that the lineic informations are stored int the CGR file, 0 means the contrary.
o GetNo3DCustomRepFlag
public int GetNo3DCustomRepFlag()
Gets the "No CAT3DCustomRep" flag.
Returns:
1 means that CAT3DCustomRep must not be stored in the CGR file. 0 means the contrary.
o GetNoIsoparsFlag
public int GetNoIsoparsFlag()
Gets the isopars flag.
Returns:
1 means that the isopars are not stored int the CGR file, 0 means the contrary.
o GetNoLodsFlag
public int GetNoLodsFlag()
Gets the nolod flag.
Returns:
1 means that the lods are not stored int the CGR file, 0 means the contrary.
o GetSetting
public int GetSetting()
Gets the setting.
o GetShowAndNoShowFlag
public int GetShowAndNoShowFlag()
Gets the "show and no show" flag.
Returns:
1 means that "show and no show" spaces are to be stored in the CGR file. 0 means the contrary.
o GetShowFreeModeFlag
public int GetShowFreeModeFlag()
Gets the "show and no show" flag.
Returns:
1 means that hidden layer information have also to be stored in the CGR file. 0 means the contrary.
o GetTextureFlag
public int GetTextureFlag()
Gets the texture flag.
Returns:
1 means that texture is to be stored in the CGR file. 0 means the contrary.
o Set2DLineicFlag
public void Set2DLineicFlag(int iOnOff)
Sets the 2Dlineic flag to "on" or "off".
Parameters:
iOnOff
1 to save the 2D lineic informations (CAT2D...GP) in the CGR file, 0 otherwise.
o SetAxisFlag
public void SetAxisFlag(int iOnOff)
Sets the axis flag to "on" or "off" .
Parameters:
iOnOff
1 to save axes in the CGR file, 0 otherwise.
o SetDemoFlag
public void SetDemoFlag(int iOnOff)
Sets the demo flag to "on" or "off".
Parameters:
iOnOff
1 to save the CGR file as a demo file, 0 otherwise.
o SetEdgesFlag
public void SetEdgesFlag(int iOnOff)
Sets the edges flag to "on" or "off".
Parameters:
iOnOff
1 to save edges in the CGR file, 0 otherwise.
o SetLineicFlag
public void SetLineicFlag(int iOnOff)
Sets the lineic flag to "on" or "off".
Parameters:
iOnOff
1 to save the lineic informations (wiredege - linerep) in the CGR file, 0 otherwise.
o SetNo3DCustomRepFlag
public void SetNo3DCustomRepFlag(int iOnOff)
Sets the "no CAT3DCustomRep" flag to "on" or "off".
Parameters:
iOnOff
1 not to save CAT3DCustomRep in the CGR file, 0 otherwise.
o SetNoIsoparsFlag
public void SetNoIsoparsFlag(int iOnOff)
Sets the isopars flag to "on" or "off".
Parameters:
iOnOff
1 Not to save the isopars in the CGR file, 0 otherwise.
o SetNoLodsFlag
public void SetNoLodsFlag(int iOnOff)
Sets the nolod flag to "on" or "off".
Parameters:
iOnOff
1 Not to save the lods in the CGR file, 0 otherwise.
o SetSetting
public void SetSetting(int iSetting)
Sets the setting.
Parameters:
iSetting
the wanted setting.
o SetShowAndNoShowFlag
public void SetShowAndNoShowFlag(int iOnOff)
Sets the "show and no show" flag to "on" or "off" .
Parameters:
iOnOff
1 to save "show" and "no show" spaces in the CGR file, 0 otherwise.
o SetShowFreeModeFlag
public void SetShowFreeModeFlag(int iOnOff)
Sets the "show free mode" flag to "on" or "off" .
Parameters:
iOnOff
1 to save hidden layer information in the CGR file, 0 otherwise.
o SetTextureFlag
public void SetTextureFlag(int iOnOff)
Sets the texture flag to "on" or "off" .
Parameters:
iOnOff
1 to save texture in the CGR file, 0 otherwise.

This object is included in the file: CATCGRSetting.h
If needed, your Imakefile.mk should include the module: CATViz

Copyright © 2003, Dassault Systèmes. All rights reserved.